Dotted line issue with firefox Vs IE6

Discussion in 'CSS' started by worth2talk, May 16, 2007.

  1. #1
    Hi,
    My code is simple which tries to apply dotted line to the bottom of a CSS box.

    h2 {
    border-bottom:1px dotted #666666;
    clear:both;
    color:#C76C00;
    padding-bottom:3px;
    text-transform:uppercase;
    }
    Code (markup):
    This works fine with Firefox and dotted line looks good, but while seeing in IE6, dotted line looks ugly.... dots are larger in size.....

    can anyone have idea to resolve this issue....

    i am not sure whether this question has been asked in past, but as a new joiner to this forum, i would like to have some one to reply....

    quick response will be appreciated...

    Thanks in advance...!!
     
    worth2talk, May 16, 2007 IP
  2. worth2talk

    worth2talk Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    well,i don't know whether this is an issue with IE as below sites works fine with both Firefox and IE.. dotted line right column appears fine...

    h**p://blogs.sun.com/jonathan/entry/what_we_did

    can any one have idea about this ??
     
    worth2talk, May 16, 2007 IP
  3. dlcmh

    dlcmh Peon

    Messages:
    232
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #3
    dlcmh, May 16, 2007 IP
  4. soulscratch

    soulscratch Well-Known Member

    Messages:
    964
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    155
    #4
    I thought I saw a solution to fix IE6's 1 pixel dotted borders, I believe it was have at least -1 pixel negative margin around the element.. google if you care.
     
    soulscratch, May 16, 2007 IP
  5. deques

    deques Peon

    Messages:
    206
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #5
    i wouldnt care much about ie6 about the dotted line. you got ie7. in the near future ie6 will die and no one will ever use it again

    if you really do care about dotted lines, read what dlcmh linked to. it seems to be a good dotted replacement method. although it seems waste of time
     
    deques, May 18, 2007 IP
  6. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Actually, all you have to do is use a 2px dotted border to get it to work properly in IE 6. :)

    No need for hacks, conditional comments or other bloated code. And besides, what's a pixel's difference anyway?
     
    Dan Schulz, May 22, 2007 IP
  7. liamvictor

    liamvictor Peon

    Messages:
    127
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #7
    liamvictor, May 22, 2007 IP
  8. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Ah, I see you read Paul's article on D-W. :)
     
    Dan Schulz, May 22, 2007 IP