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

        • exaus
          Comment on Logo collection critique
          exaus
          Thanks for your feedback!
          I understand what you are saying. I just think i might be a monomaniac. I have no interest in building in other forms of graphic design. I will probably have a bad time....
          Today, 04:59 PM
        • HotButton
          Reply to Logo collection critique
          HotButton
          Well, for one thing, logo design is a terrible entry point for a new designer trying to find clients and establish themselves. There are excellent designers with years of experience who avoid logo design...
          Today, 04:37 PM
        • exaus
          Comment on Logo collection critique
          exaus
          I do not have a degree in Graphic Design. My goal is to work freelance.
          This is what I am scared of since the country I live in does not respect design that much. You can rarely make a living out...
          Today, 04:35 PM
        • calebninja
          Reply to Logo collection critique
          calebninja
          I don't think I understand your question, and maybe you misunderstood my rant. I wasn't necessarily critiquing your logo collection, just voicing my opinion on logo collections as a whole.

          ...
          Today, 04:21 PM
        • exaus
          Reply to Logo collection critique
          exaus
          Thanks for your feedback I really appreciate it!

          salsa Well I think that creates a paradox. I created these pretty pictures for to put on an online portfolio so I can attract clients to...
          Today, 04:09 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