Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Dec 2005
    Location
    United States
    Posts
    22
    Member #
    12151
    This code ...

    Code:
    <body>
    Hello
    <div style="border: 1px solid red; margin: 0; padding: 0;">
    <hr style="margin: 0; padding: 0; border: 0; color: #999999; background-color: #999999; height: 1px;" height="1"/>
    </div>
    Bye
    </body>
    ... gives too much space before and after the <hr> in IE. In Firefox it looks fine. How do I stylize the <hr> so that there is no space before and after it -- just as it looks in Firefox?

  2.  

  3. #2
    Junior Member vpereyra's Avatar
    Join Date
    Dec 2005
    Posts
    3
    Member #
    12201
    i'm using IE and it's only pixel of difference


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Search tags for this page

too much space around hr

Click on a term to search for related topics.
All times are GMT -6. The time now is 04:21 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com