Alignment of rollover item affected by position of header
Posted
by Steven
on Stack Overflow
See other posts from Stack Overflow
or by Steven
Published on 2010-05-25T03:18:46Z
Indexed on
2010/05/25
3:21 UTC
Read the original article
Hit count: 445
css-positioning
Hi guys,
Got a problem where when you rollover "about us" the rollover appeared to the right of the screen exactly 224 pixels from the edge of the browser (maintained this gap when reducing the size of the browser)
I fixed it by changing the .css position of the wrapper (from absolute to static) How ever now as you can see in the example ive done the header is aligning to the left:
http://jimbeamracing.com.au/navigationtest.htm
wrapper{
margin:0 auto;
width:994px;
position:static;
padding:113px 0 0;
}
Any help would be much appreciated
Regards, Steven
© Stack Overflow or respective owner