SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Enthusiast
    Join Date
    Apr 2002
    Posts
    70
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Dotted Border Changes to Solid

    I have a dotted border that keeps changing to solid when I scroll down the page. If I refresh the page, it goes back to dotted. Any ideas? Thanks.

    Code:
    #sidebar a {
      /*/*/padding: 3px;
      display: block;
      border: 2px dotted #CCC;
      text-decoration: none;
      line-height: 1em;
      width: 160px; /* */
     }

  2. #2
    SitePoint Wizard bronze trophy Tyssen's Avatar
    Join Date
    Oct 2005
    Location
    Brisbane, QLD
    Posts
    4,067
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by tekneek
    Code:
     #sidebar a {
       /*/*/padding: 3px;
       display: block;
       border: 2px dotted #CCC;
       text-decoration: none;
       line-height: 1em;
       width: 160px; /* */
      }
    What are the bits in bold doing? My guess would be it's something to do with those but without seeing more of the code or a link to the page, it's hard to tell.

  3. #3
    SitePoint Enthusiast
    Join Date
    Apr 2002
    Posts
    70
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Shoot I posted the wrong code...here's the correct one, thanks:

    Code:
      
    #maincontent {
      border-right: 1px dotted #cccccc;
      font-size: 14px; 
      padding: 15px;
     vertical-align: top;
     }

  4. #4
    SitePoint Wizard bronze trophy Tyssen's Avatar
    Join Date
    Oct 2005
    Location
    Brisbane, QLD
    Posts
    4,067
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    There's no way an assessment can be made from that little snippet. Would need to see a much more complete version of the code, but preferably a link and indication of which browsers the problem occurs in.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •