+ 1
What do i do in below situation. Have learned CSS and cant remember this part.
Guys if i need this below to align horizontally what do i do in web? Home Blog About Contact To this Home Blog About Contact
2 Answers
+ 9
It depends, generally i insert that links in an unordered list and i make an horizontal alignment with "float: left", then with the clearfix i clean the container.
A bit tricky? Maybe! But the HTML is readable and all the links are in a single unordered list, in addition i can assign easier a border to my list-items.
There are many ways to do that and if you don't show me your HTML i can't be more specific. :)
+ 1
According to Henry Sotas correct answer. You can use display: inline-block; for each block-element in html. But you should use a class for the specific elements. ;)