HighDots Forums  

horizontal rule and gap

HTML Writing HTML for the Web (comp.infosystems.www.authoring.html)


Discuss horizontal rule and gap in the HTML forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Aamir
 
Posts: n/a

Default horizontal rule and gap - 08-26-2003 , 03:59 PM






I need to minimize the line gap horizontal rule <hr> causes with the
top and bottom text. I want them all squeeze together. Can it be done
?
thanks IA

Aamir

Reply With Quote
  #2  
Old   
Headless
 
Posts: n/a

Default Re: horizontal rule and gap - 08-26-2003 , 04:16 PM






Aamir wrote:

Quote:
I need to minimize the line gap horizontal rule <hr> causes with the
top and bottom text. I want them all squeeze together. Can it be done
As for all things presentational: CSS

hr{margin:4px 0 6px 0}

but it's not fully supported by all browsers. IIRC IE does not allow the
margin to be set below a certain value. Opera allows full control.


Headless

--
Email and usenet filter list: http://www.headless.dna.ie/usenet.htm


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.