View Single Post
  #1 (permalink)  
Old Feb 19th, 2006, 09:51
jimz jimz is offline
Reputable Member
Join Date: Feb 2006
Location: London
Age: 25
Posts: 100
Thanks: 0
Thanked 1 Time in 1 Post
Bottom border width

Hi,

Im using this code:

h1{
font-family:Georgia, "Times New Roman", Times, serif;
font-size: 180%;
border-bottom: dotted;
font-weight:100;
width: 110px;
}

to display a heading with a dotted border underneath similar to this

Heading
.....................

But, I can't get the border to be the same length as the text.
I've tried auto and inherit values but it dosen't seem to work.
How can you do this without setting a predfined width?

Thanks!
Jim.
Reply With Quote