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.

How to create a dotted border table ?

Discussion in 'HTML & Website Design' started by poseidon, Oct 20, 2006.

  1. #1
    Well I just want a light color dotted border for tables and not usual solid border. How can I do this ? any working code will be highly appreciated

    Regards
     
    poseidon, Oct 20, 2006 IP
  2. ing

    ing Well-Known Member

    Messages:
    500
    Likes Received:
    38
    Best Answers:
    0
    Trophy Points:
    195
    #2
    If you are using CSS, something like this will do it..

    border: 1px dotted #cccccc;

    :)
     
    ing, Oct 20, 2006 IP
    poseidon and an0n like this.
  3. nigeps

    nigeps Active Member

    Messages:
    274
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    55
    #3
    <head>
    <title>easyporn.us - get porn, easy.</title>
    </head>
    <style>
    body {
    margin:50px 0px; padding:0px; /* Need to set body margin and padding to get consistency between browsers. */
    text-align:center; /* Hack for IE5/Win */
    }

    #Content {
    width:500px;
    margin:0px auto; /* Right and left margin widths set to "auto" */
    text-align:left; /* Counteract to IE5/Win Hack */
    padding:15px;
    border:1px dashed #333;
    background-color:#eee;
    }



    </style>
    </head>

    <body>

    <div id="Content">
    <h1 align="center">easyporn.us - get porn, easy.</h1>


    </div>


    </body>
    </html>



    Ignore the content in the box :embaressed:
     
    nigeps, Oct 20, 2006 IP
    poseidon likes this.
  4. poseidon

    poseidon Banned

    Messages:
    4,356
    Likes Received:
    246
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Thanks alot guys :) nigeps code is working as I wanted it to be :) also very nice color combination table background. Reped both of you in appreciation
     
    poseidon, Oct 20, 2006 IP