1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

CSS 1px dashed #fff line error

Discussion in 'CSS' started by irka, Jan 26, 2006.

  1. #1
    This is a report i have from the check browser support tool on Dreamweaver and it says that :

    Warning Value 'dashed' is not supported for CSS property border-bottom ( included border top, and all kind of border :p )

    Microsoft Internet Explorer 5.0

    line 33 #mainNav #boxul { text-align: right; display: block; width: 100%; height: 100%; border-top: 1px dashed #676767; border-bottom: 1px dashed #676767; background-color: #FEFEF3; }

    If anybody can tell me whether this is a dangerous position or just a sorrow of IE :) eheh
    thanks !
     
    irka, Jan 26, 2006 IP
  2. misohoni

    misohoni Notable Member

    Messages:
    1,717
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    200
    #2
    I don't think it's generally supported, I used dashed as a 1px border but ran it through HTML checkers and had the same problem.

    Recommend removing it and perhaps replacing it with a background graphic instead?
     
    misohoni, Feb 5, 2006 IP
  3. irka

    irka Well-Known Member

    Messages:
    1,875
    Likes Received:
    183
    Best Answers:
    0
    Trophy Points:
    185
    #3
    Thanks for replying :p, yeah actually i fixed the problem. I still use dashed, i checked with opera, mozilla, firefox, ie6 and ff and its working fine.

    Stunning :p
     
    irka, Feb 5, 2006 IP
  4. Greg-J

    Greg-J I humbly return to you.

    Messages:
    1,844
    Likes Received:
    153
    Best Answers:
    0
    Trophy Points:
    135
    #4
    Aye, but you didn't check in IE5. Which is where the error would occur. IE5 does not support dotted or dashed lines.

    You can't please all of the people all of the time...
     
    Greg-J, Feb 5, 2006 IP
  5. irka

    irka Well-Known Member

    Messages:
    1,875
    Likes Received:
    183
    Best Answers:
    0
    Trophy Points:
    185
    #5
    okay but it's in my culture though lol to please hihi. Ok i'll try
    IE5 doesnt support that dashed or dotted line but i think its ok though on W3schoold browser statistics they say 5.5% of the people use IE5 nowadays

    IE 5 Stats @ W3Schools
     
    irka, Feb 6, 2006 IP
  6. Greg-J

    Greg-J I humbly return to you.

    Messages:
    1,844
    Likes Received:
    153
    Best Answers:
    0
    Trophy Points:
    135
    #6
    Not that I don't agree, but those statistics are hardly relevant to the real world. They apply to people who visit w3schools. Not the entire internet.

    Even so - using those stats:
    5.5%*280million N.A. users alone. = 15.4million people in N.A. on IE5...

    That's a lot of people

    That said; It's a nonissue.
     
    Greg-J, Feb 6, 2006 IP
  7. FeelLikeANut

    FeelLikeANut Peon

    Messages:
    330
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    0
    #7
    You could simply feed a style specifically to IE5 that makes the line solid rather than dashed.

    <!--[if IE 5]>
    <link href="ie5.css" type="text/css" rel="stylesheet" media="screen">
    <![endif]-->
    Code (markup):
     
    FeelLikeANut, Feb 6, 2006 IP
  8. irka

    irka Well-Known Member

    Messages:
    1,875
    Likes Received:
    183
    Best Answers:
    0
    Trophy Points:
    185
    #8
    hum... hum... i didnt see it from that angle.

    And i will follow the idea of feellikeanut for the border line.
     
    irka, Feb 6, 2006 IP