Quote:
|
First, put a proper DOCTYPE on your pages. It WILL aid in getting more consistent rendering of your CSS cross-browser.
|
Honestly, I have no clue what that means. I don't know much about this. Hence why I'm asking for so much help.
Quote:
|
Second, you appear to be missing some crucial html - like the <body> tag - which comes AFTER </head> and ends before </html>
|
I know. Didn't really care about that as I was just trying to make a navbar and didn't plan to use any of this as final.
Quote:
Next, don't use position:absolute for your navigation, you're complicating things for yourself that way. Rather than using paragraphs for your nav, use an unordered list. You can then apply your images to the UL, the Div the UL sits in AND add a rollover effect if you put the button image in as the background of the <a> tag.
Look at the code for the menu on this site:
http://home.comcast.net/~drt603/sanom/index.htm
That's a test page for now, but if you look at the source you can see how the navigation is set as an unordered list. There's a roll-over effect only on the text, but it could be altered to change the button too by putting the background on the <a> rather than the <li>
|
I look at the code on many sites. It never helps me though.
I found that earlier today. It didn't help me to figure out what I'm trying to do here.
I go here all the time. I know the site inside and out. But that still does not help me for things like this. For example, if I even had a nav bar, header, right nav bar, footer, and main content like I want, I wouldn't know how to position them right anyway. Whatever I add it always just puts it right under each other. Just now I tried to add some text to the page with the navbar I made. Well, the text was under it, not beside it.
Quote:
|
This is the CSS for that navigation:
|
I just spent about 30 minutes trying to alter that to work with my images/links/html & CSS. No luck. I just don't understand. Could you please show me how it works with the two images I posted, and basically no other formatting than verdana, gray/bold/underline text, and hover green text like how I already have it? All the formatting from that site completely confuses me.
Thanks
|