Announcement Announcement Module
Collapse
No announcement yet.
Stupid IE and the <hr /> tag? Page Title Module
Move Remove Collapse
Search Search Module
Collapse

Advertisement Advertisement Module
Collapse

Featured Images Featured Images Module
Collapse

Mediabistro Creative Sites Mediabistro Creative Sites Module
Collapse
Latest Topics Latest Topics Module
Collapse

  • PrintDriver
    Comment on Christmas cards
    PrintDriver
    Yeah, it's too bad new designers don't know them.
    I had a couple sub-vendor printers go completely offline for two weeks in November due to a Christmas crush. They didn't take any new orders for...
    Today, 01:07 PM
  • PrintDriver
    Comment on Christmas cards
    PrintDriver
    You shouldn't be looking on google images... at least not without expecting to pursue permission to use the images. Google images is NOT a stock site, though some stock shows up in it.

    There...
    Today, 01:01 PM
  • PrintDriver
    Reply to How to choose a good graphic design for a web design company?
    PrintDriver
    Very strange. You want someone to tell you how to set up a site so YOU will benefit?
    The Graphic Design part sounds like it will be very important to the success of your site.
    How much money...
    Today, 12:54 PM
  • PrintDriver
    Reply to Getting started...
    PrintDriver
    You should start first with a business plan. You can find help with those at your local Small Business Association or many online resources. Kool had a nice 2-part blog post here at one time about how...
    Today, 12:46 PM
  • PrintDriver
    Reply to Need advice for creating a label
    PrintDriver
    The description you have written...
    1. it needs to be proofread for grammar usage.
    2. "made...by a software developer and design student" is not making me want to buy this. Unnecessary...
    Today, 12:29 PM
Advertisement Advertisement Module
Collapse

Sponsors Sponsors Module
Collapse

X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Stupid IE and the <hr /> tag?

    Anybody know how to fix the "box" that IE puts around an HR element? I'm using CSS to apply a background image to a design and it works except for that. I've tried setting border: 0 and even applying the same color background to it that matches the color of the background behind it. No go. Any help? Thanks!
    --
    When I buy stickers for folks in prison, I bring milk not backyard meth - it's a prison party!

  • #2
    hmm, I never had that problem. Could you screen shot for us?
    You could also use a div with a "border-bottom:" for css.

    Comment


    • #3
      I've got code to make a normal flat line.
      http://sonspring.com/journal/styling-hr

      Using a background image is... tricky.

      The {color} property controls the rule's color in IE6/7. If your rule has any height to it, you will get a big thick line.

      I had this same problem this week, my final solution was to stick IE6 and 7 with a normal line by setting height to 0 and using padding to push out the background image so other browsers see it right.

      Most people just end up using a div. Sorry I couldnt be any more help. Fortunately IE8 fixes this nonsense.
      Swedish Meatball Pornography

      Comment


      • #4
        Thanks guys. I think for sake of having to reinvent the wheel, I'm just going to scratch the HR tag and go with the old DIV standby. Seems a little easier to make more cross-browser compliant. Thanks for the info guys!
        --
        When I buy stickers for folks in prison, I bring milk not backyard meth - it's a prison party!

        Comment

        Mediabistro A division of Prometheus Global Media home | site map | advertising/sponsorships | careers | contact us | help courses | browse jobs | freelancers | content | member benefits | reprints & permissions terms of use | privacy policy Copyright © 2014 Mediabistro Inc.
        Working...
        X