Click to See Complete Forum and Search --> : div isn't lining up right... small but i wanna fix


JDM71488
03-14-2005, 08:54 PM
click here: http://www.accessjdm.com/new.php

i just can't figure out where these extra few pixels are coming from... on the right under the blue #head, directly under it the #sub_menu is pushed left about 5 pixels...

im in web 2, but we are JUST starting css, and i skipped web 1 so all of this has been taught by myself over like 2 years and this forum has always helped before...

can anyone help?

BonRouge
03-14-2005, 09:42 PM
Not exactly sure if I've understood you correctly, but if I have, this should do it :
div#sub_menu {
float:right;
}

JDM71488
03-14-2005, 09:56 PM
you have to be kidding me... :) thanks a lot... it moves it to the right, and i reall don't know why i didn't see that...

but there still is too much space between content and #right, but i don't know where it is coming from... :(

BonRouge
03-14-2005, 10:01 PM
probably the width

JDM71488
03-14-2005, 10:15 PM
i tried changing the margin-left on #right to shift the content right, but it wont move if i change it... i believe due to the holly hack...

nevermind... i changed the width of #left to 10px more to shift everything right 10px...

thanks for the float alteration...