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

        Advertisement

        Collapse

        Latest Topics

        Collapse

        • Lednik
          obe Photoshop colors ?
          Lednik
          Hello.

          I have one question. How can i fix colors in photoshop because they are really different than on computer and web.

          Check picture. On left is photoshop file and on right...
          Today, 10:14 AM
        • KitchWitch
          Reply to need logo feedback
          KitchWitch
          Hi Kate and welcome to GDF.

          Did you design the logo and the website? We only allow crit of work that is posted by the artist/designer.

          We ask all new members to read very important...
          Today, 09:42 AM
        • lauge500
          Reply to YouTube channel logo
          lauge500
          Thanks for the feedback everyone! Glad you like both of them, always nice to hear that your own work is great I know the word enterainment is very small at the moment, but that was to focus on the...
          Today, 09:40 AM
        • KitchWitch
          Reply to help with identifying pattern
          KitchWitch
          Hi I.Iail 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...
          Today, 09:40 AM
        • PrintDriver
          Reply to Legal Question
          PrintDriver
          <Not a lawyer.

          Copyright is tricky. While you might get a formal C&D out of going to court, in order to get paid for damages beyond what your client owes you, or court fees, your design...
          Today, 09:23 AM

        Incredible Stock
        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