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

  • KitchWitch
    Reply to Hello GDF!
    KitchWitch
    Mini welcome tacos!

    ...
    Today, 12:46 AM
  • PrintDriver
    Reply to School assignment: Collateral campaign
    PrintDriver
    Um...do you seriously want to focus on blowing bubbles for a disease that pretty much drowns you in mucous???
    Today, 12:31 AM
  • Roth
    Reply to New Logo
    Roth
    The blue scales remind me of Bumblebee's face. Whichever way you choose to go, make it the simpler version, so for example the two circles rather than the literal scales, you want to show not tell. Make...
    Yesterday, 10:33 PM
  • Roth
    Reply to Poster critique
    Roth
    He looks like he's been in a fight with a cassette.

    You can't do a poster and assume you'll throw all the imporant when and where stuff in later. They're integral.
    Yesterday, 10:24 PM
  • <b>
    Reply to Hello GDF!
    <b>
    Just to make sure that you're not mistaken about that, here's a reminder not to forget these very important links here and here. Seriously, welcome to the forum!...
    Yesterday, 09:53 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. call (212) 389-2000 or email us
        Working...
        X