View Full Version : css/ java script menu with tables

02-14-2009, 08:51 PM
I'm very new to css. Trying to use it with a table layout. The drop down menu doesn't seem to fit the width of the table. Does anyone know how to accomplish this? Here's my webpage (http://www.jlandbirk.netfirms.com/css_layout_menu.html) Here's the stylesheet (http://www.jlandbirk.netfirms.com/chromestyle.css) for the menu

Thanks for your time

02-14-2009, 09:55 PM
I have a feeling someone soon will come on and rewrite your code using divs, but for now:

Your chromestyle.css file has this:

width: 99%;
font-weight: bold;

change the width to 100%.

You'll then be 2 pixels over on the right, so you could remove the border from the chromestyle ul from the sides:

.chromestyle ul{
border-top: 1px solid #BBB;
border-bottom: 1px solid #BBB;
width: 100%;
background: url(chromebg.gif) center center repeat-x; /*THEME CHANGE HERE*/
padding: 4px 0;
margin: 0;
text-align: left; /*set value to "left", "center", or "right"*/

02-14-2009, 09:57 PM
Thank you so much.

My apologies for the poor coding

God Bless