Announcement

Collapse
No announcement yet.

Stupid IE and the <hr /> tag?

Collapse
X
  • 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

        Search

        Collapse

        Sponsor

        Collapse

        Incredible Stock

        Latest Topics

        Collapse

        • HotButton
          Reply to Printing in 4C vs 2C - HELP!
          HotButton
          1) No, the file has to actually output only the 2 colors.
          2) You can apply your spot color swatch to a grayscale copy of the image, but personally, I always HATE the result when this is done. It...
          Today, 02:07 PM
        • KitchWitch
          Reply to Font ID please - Trajan Pro??
          KitchWitch
          Hi John and welcome to GDF.

          We ask all new members to read very important links here and here. These explain the rules, how the forum runs and a few inside jokes. No, you haven't done anything...
          Today, 01:59 PM
        • jp_isit
          Reply to Printing in 4C vs 2C - HELP!
          jp_isit
          Ok, thanks. Yes, i have specified the pantone and yes, I have advised all printing, material & finish specs.
          Any additional feedback on these questions is appreciated:
          1) Can I just...
          Today, 01:47 PM
        • KitchWitch
          Comment on What logo is this?
          KitchWitch
          Aye, better idea.
          Today, 01:45 PM
        • PrintDriver
          Reply to What logo is this?
          PrintDriver
          Or a screen shot maybe?
          That removes a few steps...
          Today, 12:48 PM
        GDF A division of Mediabistro Holdings Adweek | Mediabistro | Clio | Film Expo Group Contact Us | Terms of Use | Privacy Policy Copyright 2016 Mediabistro Holdings
        Working...
        X