- 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.
i want to float links in the footer to the right but when i write the code the links stick to the scroll bar but it should stick to the right of the footer
#footer {
background:url(images/footer.jpg) no-repeat;
clear:both;
height: 83px;
width: 970px;
}
#footer ul li a {
float: right;
}
You are floating the items to the right, not to the left.
#TheDoc sorry i wrote left in the thread :D
I edited it :D
What happens when you use right:0px;
Or, maybe you need to put the stuff in the footer in a child element of #footer.
You’re floating the anchors, but the li are block level by default. I’d switch them and float the li and make the anchors block
#wolfcry911 i tried but it didn’t work