If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
How can I make a font size with style sheets. If I use one of the h1, h2, etc. tags and give that a style, then the distance to the next line is too large. I want there to be no distance to the next line after a return, but the font bigger.
h tags have many different attributes assigned to them by default including font size, boldness and margin. Start by setting both the font size and the margin for the desired tag like this:
Originally posted by calimehtar: h tags have many different attributes assigned to them by default including font size, boldness and margin. Start by setting both the font size and the margin for the desired tag like this:
Code:
h1 {font-size: 11px; margin: 0px;}
Hope this helps.
Thanks. Unfortunately this doesn't help. It's as if the next line (with normal text) also gets the height of the large line. I used "font size=5" and shift return to get no space between them. But if I use a h tag I have to use return without shift and get the large distance between the lines. Can't this be avoided with style sheets?