View Single Post
Old 12-18-2007, 04:24 AM   #2 (permalink)
Boogle
Contributing Member
 
Join Date: 09-03-07
Location: England
Posts: 485
iTrader: 0 / 0%
Latest Blog:
None

Boogle is a jewel in the roughBoogle is a jewel in the roughBoogle is a jewel in the roughBoogle is a jewel in the roughBoogle is a jewel in the roughBoogle is a jewel in the roughBoogle is a jewel in the rough
Hi digital overlay. To me, the HTML is your problem. I can't understand why you're using a table which holds divs? IMO it should be that the CSS works best with DIVs and should you need to display tabular data at any point then you put a table in a div to do this.

You would find it works better if you wrap the menu picutre (the big one) and then menu list (which is created correctly btw- nice one!) in a wrapperDIV, then put the large pictue in a div and the menu in a div directly below it. This is all you need for this banner to work, i.e.
HTML:
[code]
<div id="wrapper">
<div id="largepictureconitainer"></div>
<div id="menu">
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">About Digital Overlay</a></li>
<li><a href="#">Services</a></li>
<li><a href="#">Porfolio</a></li>
<li><a href="#">Freebies</a></li>
<li><a href="#">Contact Us</a></li>
</ul>
</div>
</div>
[code]

That's just an example and now you wqould hav to slightly change your CSS but not much and you would find this is much neater, less complicated HTML and it's probably more XHTML valid...

HTH's

Boog's
__________________
Great new 'June' Javascript Framework

June Forums - Innovative JScripting

Price is what you pay... Value is what you get.
Boogle is offline   Reply With Quote