- This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Can anyone tell me how to fix this annoying positional problem I am having with my site
http://www.hannaford-forensic.com/
I want the side nav buttons to be aligned with the grey academy of experts box – they are fine in mozilla but unaligned in ie
this is the css I use
#greybox {
background-color: #FFFFFF;
height: 90px;
width: 220px;
float: left;
position: relative;
left: 0px;
background-image: url(images/law.jpg);
background-repeat: no-repeat;
background-position: center;
top: 10px;
}
Any help would be much appreciated
I don’t think I’ve ever seen so many unnecessary divs on one page. :D lol
You could try floating your list to the left.
tried that – no joy
You haven’t tried it on the page you are linking to.
Lose this line:
i believe this is due to having both padding and width declared in the same section
you may want to try wrapping a div around it and giving that div padding
it way work for you
bingo
thanks apostrophe
i thought that having buttons ul – display: block
would overide ul: inline
obviously not
many thanks