34 users online (1 members and 33 guests)  

Thread: Border colour


  Results 1 to 4 of 4

Related

  1. Replies: 0
  2. Replies: 1
  3. Changing scrollbar colour    Forum: HTML Forum
    Replies: 3
  4. Custom website colour themes (how to)    Forum: Website Scripts Forum
    Replies: 3
  5. border shows but I set no border?    Forum: HTML Forum
    Replies: 2
  1. #1
    DarkMadrigal's Avatar
    New User

    Status
    Offline
    Join Date
    Apr 2003
    Posts
    7

    Border colour

    Is there any way to make the border around a table a specific colour or is it dependant on the background colour you use. I've seen tables with thin black lines and that's the type I'm looking for. Anyone got any advice?

  2. #2
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    Try

    Code:
    <head>
    <style type="text/css">
    table {
    border: 0.5px solid black;
    }
    td {
    border: 0.5px solid black;
    }
    </style>
    </head>
    Play with the values to get what you need.
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?

  3. #3
    DarkMadrigal's Avatar
    New User

    Status
    Offline
    Join Date
    Apr 2003
    Posts
    7
    What should I do if I want to use the same thing except in css.inline (<P> style)?

  4. #4
    sonofmidi's Avatar

    Status
    Offline
    Join Date
    Jan 2001
    Location
    NC, USA
    Posts
    75
    <p style="border: 0.5px solid black;">content</p>



Tags for this Thread