OK, well <H#> is a block level element, meaning itr is doing exactly what it is supposed to, and if you want it to display inline then you are not using the tag how it was designed, instead, try this:
CSS File:
Code:
span.larger {
font-family:verdana,arial, sans-serif;
font-size:2em;
color:#d00;
background:transparent;
}
And in your HTML:
Code:
The following is the <span class="larger">larger</span> text in action...
Span is an inline element, just means you have to manually assign the properties for the class in the CSS file... H# tags are used for actualy headings that are on their own line...
Bookmarks