Im trying to create a site at the moment and am getting a bit confused. The main page is made out of frames with a menu on the top frame. When one of the links is clicked on it opens up the appropriate page on the bottom frame. I want to use a sub menu on the left hand column on the page. So far i have done it using frontpage drawings and positioning but it is alot of code and im sure it could be done simpler using css.
Depending on your overal structure (tables/CSS) you could either stick a <div> around the whole navlist (let's call in "navigation") and put the yellow box as a background image to that div - or I suppose you could do the same for the table cell (not sure about tables any more)
#navigation {background url (images/yellowbox.gif) top center no-repeat;
Then you just style your <li> links however you like:
#navlist a {color: blue; text-decoration:none;}
#navlist a:hover {color:red; text-decoration:underline;}
Or whatever.
There's an excellent site that goes into depth about CSS navigation amongst other things - I recommend you pay it a visit: http://css.maxdesign.com.au/
Posts: 5721 Joined: 3/14/2005 From: Living on the edge Status: offline
RE: CSS for menu - 8/26/2005 6:24:13
I think so. I've only just realised Listamatic's the same as the maxdesign one both of you have already given - obviously didn't read the previous posts very well - I claim insanity as my defence.
_____________________________
~~ "A cruel god ain't no god at all" ~~ ~~ Erase hate. Practice love. ~~