Log in

View Full Version : Help move dropdown PLEASE



jonnyw6969
04-23-2008, 01:57 PM
Hi all,
Could someone please help? I need to move my dropdown menu left by 20px and no matter what i do i cant do it.

I really dont know much about css so I really need some help.

This is the code im trying to edit

.dropmenudiv{
position:absolute;
top: 0;
border: 1px solid #d2abcb; /*THEME CHANGE HERE*/
border-bottom-width: 0;
font:normal 10px Verdana;
line-height:18px;
z-index:100;
background-color: white;
width: 171px;
visibility: hidden;
}

Any help would be great.

Many thanks in advance.

Jon

Medyman
04-23-2008, 02:03 PM
See if this works. Relative positioning has it's own design limitations, but depending on your page, it might not matter.


.dropmenudiv{
position:relative;
left:-20px;
top: 0;
border: 1px solid #d2abcb; /*THEME CHANGE HERE*/
border-bottom-width: 0;
font:normal 10px Verdana;
line-height:18px;
z-index:100;
background-color: white;
width: 171px;
visibility: hidden;
}

The highlighted is what I changed.

jonnyw6969
04-23-2008, 02:08 PM
Thanks I tried this but it threw the whole page out.

Im using the chromestyle menu if thats any help.

Jon

Medyman
04-23-2008, 02:17 PM
Thanks I tried this but it threw the whole page out.

Im using the chromestyle menu if thats any help.

Jon

Yea, those would be the design limitations I was talking about. It works in some instances, it doesn't in others.

You should post a link to your test page where we can see the problem in action. Or post a stripped down version of your code --keep the structure, delete the text, images, etc..