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

        • PrintDriver
          Reply to Seeking feedback: 2D & 3D concepts
          PrintDriver
          If your logo is what you have shown in the subway poster, the reason I ask how your logo is illuminated is because those skinny letter strokes and serifs at the size you have indicated on your wall (in...
          Today, 08:40 AM
        • calebninja
          Reply to just went from having the oldest imac in the company...
          calebninja
          Hey I'm in Kansas City too! What do you think about the Chiefs taking a Maholmes last night in the draft? Pretty crazy that it's been so long since they've drafted a first round QB, but I love the mo...
          Today, 08:37 AM
        • KitchWitch
          Reply to Logo Advice
          KitchWitch
          Hi Billz 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, 07:28 AM
        • mortician.19
          Reply to Seeking feedback: 2D & 3D concepts
          mortician.19
          Thanks for the feedback for my assessment, I was a bit vague with the brief (the elements are to market the studio not decorate the studio) - your comments on the wall sign were very helpful, it's the...
          Today, 06:00 AM
        • PrintDriver
          Comment on Copyright issue?
          PrintDriver
          Don't ever assume you are too small an entity to be noticed by copyright holders. I do a lot of image work. More than once I've had image owners tell me they are in the process of doing reverse searches...
          Today, 05:53 AM
        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