Click to See Complete Forum and Search --> : My divs wont be aligned


Not to mention
06-08-2009, 11:53 AM
I have divs, and no matter how much i try to align them to the right, they stay centered. take a look at the links.

http://www.macheteteds.com/site/

can you help with that? When i use the float tag, i get no movement and unwanted resizing and margins.


#vid {
background:url(index_files/but_out.jpg);
text-align:center;
height: 60px;
font-family: Arial;
font-size: 18px;
}
#vid:hover {
background:url(index_files/but_over.jpg);
text-align:center;
height: 60px;
font-family: Arial;
font-size: 28px;
}


and then wrapped around them is...


#links
{
background:url(index_files/but_out.jpg);
height:6o;
width: 100%;
text-align: right;
}


Its got me confused.

peachskittle
06-08-2009, 01:25 PM
Hi, what are you trying to align to the right?

Not to mention
06-08-2009, 05:16 PM
The links, right under the logo. I have tried everything, even the align=right No luck.

peachskittle
06-08-2009, 05:24 PM
Did you try manipulating the UL itself?

Try changing the margin on #nav to be "0 0 3px auto" (not sure how IE will take this though).

Float right on the UL will move it right, but I think you will have to set a few dimensions to make sure the page doesn't shrink up and look weird as soon as you float your nav.

Not to mention
06-08-2009, 08:27 PM
Thanks! I'll see how the first one works in IE, I don't feel like messing with dimensions right now, this site has some big visual issues.