55disk

Removing the line break from an HTML heading tag

Added by 55disk on 10 July 2007

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..


No comments so far




Tags
Archives
Search