logo-dw

Go Back   Dreamweaver Club Forums > Dreamweaver forums > Spry
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 04-15-2009, 04:59 AM   #1
Doug91
 
Join Date: Apr 2009
Posts: 2
Default Variable Width for Vertical Menu bar

Is it possible to set the entire menubar to a variable, or some kind of percentage width?
My pages are all liquid columns. So the sidebar that I inserted my menu into changes width as the browser windows shrinks, but the menubar stays a constant width and overlaps into my body!
Doug91 is offline   Reply With Quote
Old 04-15-2009, 06:21 AM   #2
edbr
edbr's Avatar
 
Join Date: Aug 2005
Location: Bali
Posts: 11,176
Default

i changed these values in the css file setting width one to 40% then the second to 100%. try that , keep a copy of your original and season to taste
Code:
ul.MenuBarVertical
{
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 100%;
    cursor: default;
    width: 40%;
}
/* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
ul.MenuBarActive
{
    z-index: 1000;
}
/* Menu item containers, position children relative to this container and are same fixed width as parent */
ul.MenuBarVertical li
{
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 100%;
    position: relative;
    text-align: left;
    cursor: pointer;
    width: 100%;
}
__________________
If you're happy and you know it shake your meds!
different style links examples

Flight / Hotel search
Free script download
Bali Villas
edbr is offline   Reply With Quote
Old 04-17-2009, 01:16 AM   #3
Doug91
 
Join Date: Apr 2009
Posts: 2
Default THanks

Thanks for your help, that did it! Turns out I tried your suggestion before, I was just editing the wrong CSS file! oops
Doug91 is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:36 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com