The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS inline-block vs. float Re: inline-block vs. float


Update: I am now using absolute positioning for the menu items. It looks like it works and gets the items centered just the way I like them, but I still have a spacing issues, for instance, above the menu items and below the menu items. Any pointers?

Update: I have removed the padding from the header and used absolute position on the logo. That fixed the issue with the spacer on the top of the menu. I then removed the paragraph tag from the content and that removed the space under the menu. The problem now is, if I put a paragraph tag in the content section, will that break it again?

Update: I added the paragraph tag again, then change the padding (top & bottom) to 1px and now it works. Any explanation for this?