Forum Moderators: not2easy

Message Too Old, No Replies

how to change the spacing on a 'border-bottom'

h1 with border-bottom, would like to increase spacing between

         

sinthetiq

11:37 pm on Sep 18, 2006 (gmt 0)

10+ Year Member



hello,

i have an <h1> heading and used border-bottom to underline the text. I wanted to know if it was possible to increase the spacing between the bottom border (line) and text.

Setek

1:54 am on Sep 19, 2006 (gmt 0)

10+ Year Member



Add padding to your element to increase space between the border, and the element's contents.

sinthetiq

6:35 pm on Sep 19, 2006 (gmt 0)

10+ Year Member



thanks!

icantthinkofone

7:01 pm on Sep 19, 2006 (gmt 0)

10+ Year Member



Why don't you use CSS to underline it?

text-decoration:underline;

Robin_reala

7:08 pm on Sep 19, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The OP might want a single underline if the heading is split over multiple lines. Or they might want a different style - e.g. dashed or dotted. Or they might want to increase the padding :)

Setek

11:45 pm on Sep 19, 2006 (gmt 0)

10+ Year Member



Why don't you use CSS to underline it?

Yeah, padding is part of CSS spec too :)

Or they might want to increase the padding :)

*smiles*