Log in

View Full Version : Another navbar I need help on



ellybean
11-06-2010, 08:18 PM
How about this one. It's straight from this website.
http://www.dynamicdrive.com/style/csslibrary/item/sliding-doors-vertical-menu/
I put it in a cell in my table. But the navbar does not span the entire length of the cell. It just sits there, centered right in the middle. How do I get it to anchor itself to the top of the cell, so that I can add more tabs?

Nile
11-07-2010, 03:21 PM
In the CSS where you see:


.slidedoormenu{
list-style-type: none;
margin: 0;
padding: 0;
width: 180px; /* width of menu (don't forget to add border with below!) */
border-left: 8px solid #ffa1a3; /* thick left border of menu */

}

Is where you change the width of the whole menu. Try making it 100%, or the width in pixels of your table cell.
Please post a link to the page on your site that contains the problematic script so we can check it out.