SunriseSunsetAp
10-04-2003, 07:44 AM
I'm new to HTML editing, so please bear with me! I used the pre-written code on the CSS page for a side-column page with a menu on the side, but I want to add a header for my page title. What's the code I should enter into my CSS sheet to make a header?
~April
do you have a link to the page you are working on?
are you working with a DIV area that is positioned? if so, just create a second DIV area and put in the appropriate values for the left and top parts.
SunriseSunsetAp
10-05-2003, 11:07 AM
I don't have the page uploaded yet.
Umm...ahem, I don't know! I was just re-using the copy/paste code for a page with a left-hand menu that is provided on this site. On it, there is a div area for the menu and for the body text. Do I need to make a new value for the header (value...? Is that what it's called?), or...? I'm sorry, I know this isn't really telling you anything. :P
~April
Lissa
10-05-2003, 11:20 AM
All you need to do is put all of your content in the area marked content. You don't need another div layer to do that.
In the content area add:
<div align="center"><img src="header.gif" width="" height="" alt=""></div>
SunriseSunsetAp
10-05-2003, 12:50 PM
Oh okay. So I can make a "header" in the space at the top of the pages, and put some graphic in there with buttons or something with a link map that can go to the other pages?
Thanks!
~April
MaGiCSuN
10-05-2003, 03:36 PM
you just put all the content (like text, images, links etc) between the <body> and </body> tags.
the properties of the tables, colours, spacings, text-decorations of links and many many more things go between the <head> and </head> together with the CSS codes.
normally you would put this for a link:
<a href="blah.html"><font color="red">blah</font></a>
but now you put <a href="blah.html">blah</a>
and then you put in your css:
A:link { color: red; }
hope that made some sense lol
Love,
Mirna
Lissa
10-05-2003, 03:40 PM
Originally posted by SunriseSunsetAp
Oh okay. So I can make a "header" in the space at the top of the pages, and put some graphic in there with buttons or something with a link map that can go to the other pages?
Thanks!
~April
The content goes in the div called content, and the menu would go in the div called menu.