55disk home

Removing the line break from an HTML heading tag

Jul 10th 2007
No Comments
respond
trackback

If you ever have the problem of needing to have an H1 tag on textual navigation at the top of the page (or anywhere on a page), and you find that you have an unexpected line break. Make sure to add this selector to your CSS:

H1 { display: inline; }

This will then remove that line break for you, handy tip..


This post is tagged



Explore Latest Posts



Browse 55disk Archives



  • Twitter Feed



No Comments

Leave a Reply