This topic is locked

'Header.php' files.

5/22/2008 7:23:26 AM
PHPRunner General questions
D
dankel8 author

I have tried creating a "Header.php" file on Dreamweaver 8 and it does not work. When I create a simple file, such as:
<?php echo ( "<h1>U.K.sentinel.org</h1> " ); ?>
it works but the text is in black and it is left aligned. I would like the text to be centred and a colour and style of my choosing. Can anyone help? I have very little knowledge of any scripting languages and I am usually left feeling brain dead when trying to follow internet terminology. I would be very grateful for some plain English advice.
[email=dankel8@aol.com]dankel8@aol.com[/email]
Regards

Daniel Kelly <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=8571&image=1&table=forumtopics' class='bbc_emoticon' alt=':blink:' />

J
Jane 5/22/2008

Daniel,
you can use pure HTML in the header.php file:

<p align=center>

<h1><font color=red>U.K.sentinel.org</font></h1>

</p>

D
dankel8 author 5/25/2008

Daniel,

you can use pure HTML in the header.php file:


Thank you very much for your advice. It has solved a lot of problems for me. I can create the effects I want in Dreamweaver and simply copy and paste the results.
Regards

Daniel Kelly