56 users online (1 members and 55 guests)  

Thread: colored border


  Results 1 to 4 of 4

Related

  1. Multi-Colored Border    Forum: HTML Forum
    Replies: 5
  2. Colored Scrollbars!!!!!!    Forum: HTML Forum
    Replies: 24
  3. Different Colored Links On One Page?    Forum: CSS Forum
    Replies: 3
  4. border shows but I set no border?    Forum: HTML Forum
    Replies: 2
  5. can dropdowns have colored fonts?    Forum: CSS Forum
    Replies: 2
  1. #1
    zenshane's Avatar
    New User

    Status
    Offline
    Join Date
    Apr 2007
    Posts
    7

    colored border

    As I have design one site and I want colored border around my table, but not each cell, that works across browsers. How should I do that? Need help.

  2. #2
    DeadMeatGF's Avatar
    Moderator

    Status
    Offline
    Join Date
    Sep 2005
    Posts
    381

    Re: colored border

    I think (bear with me, it's early!) that
    HTML Code:
    <table style="border: width colour style"> ... </table>
    where
    • width is the width of the border in pixels, ems or percent (percent probably being a bad idea in this case!)
    • colour is the colour value - either a named colour such as "red" or "blue" or a hex value such as #ff0000 or #0000ff
    • style is the type of border - e.g. solid or dashed

    Hope that helps.

  3. #3
    zenshane's Avatar
    New User

    Status
    Offline
    Join Date
    Apr 2007
    Posts
    7

    Re: colored border

    Thanks..
    It works..

  4. #4
    jesse1's Avatar
    New User

    Status
    Offline
    Join Date
    Mar 2007
    Posts
    8

    Re: colored border

    that is css code I think?

    you may also want to look at using external css sheets and class tags.

    there is a good tutorial at tizag.com



Tags for this Thread