Results 1 to 3 of 3

Thread: Can anyone help me with this type of table border ?

  1. #1
    Join Date
    Apr 2007
    Posts
    52
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Default Can anyone help me with this type of table border ?

    I am a regualr user of your script , thanks that u have forums as well. Can anyone help me to build this type of table border like in yahoo? I did put table border option on dreamwaevaer but it doesn't look like proffessional as yahoo. I have attached the picture as well please hlp me on this .Thank you

  2. #2
    Join Date
    Sep 2005
    Location
    India
    Posts
    1,627
    Thanks
    6
    Thanked 107 Times in 107 Posts

    Default

    View the following code

    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <style type="text/css">
    .tab
    {
    background-image:url(bg.jpg);
    font-family:Verdana, Arial, Helvetica, sans-serif;
    font-size:9px;
    color:#000080;
    font-weight:bold;
    border-color:#adbdc5;
    height:150px;
    border-width: 1px;
    border-style:solid;
    }
    
    .divblock
    {
    background-image:url(bg.jpg);
    font-family:Verdana, Arial, Helvetica, sans-serif;
    font-size:9px;
    color:#000080;
    font-weight:bold;
    border-color:#adbdc5;
    height:150px;
    border-width: 1px;
    border-style:solid;
    width:400px;
    }
    </style>
    </head>
    
    <body>
    <table cellpadding="0" cellspacing="0" width="150" class="tab">
    <tr>
    <td valign="top">testing</td>
    </tr>
    </table>
    <p>
    <div class="divblock">
    
    </div>
    </p>
    </body>
    </html>
    I've attached the bg.gif with this posting take it and store that in the same location where you save the above mentioned code and view the page using browser.

    Using DIV blocks you can achieve the result that you do it using tables (CSS is better than tables)

  3. #3
    Join Date
    Apr 2007
    Posts
    52
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Default

    Thank you codeexploiter

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
  •