SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Guru
    Join Date
    Dec 2000
    Location
    Karachi, Pakistan
    Posts
    913
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Making a table like it?

    Hello Guys,

    I am stuck and curious how to create a row like on http://www.wwwebmasters.net/ . I am talking about the headers containing the table title like:

    >> Mailing List <<
    >> Stats <<

    I tried many combinations but could'nt get one. Also how to achieve this thin table border as on http://www.gixaw.com/NewsAccess/Admi...in/Default.asp . Just take a look at the table border how thin it is. I tried making my table border = 1 but it was almost double to size of the one on http://www.gixaw.com/NewsAccess/Admi...in/Default.asp

    Anyone ?


    -Omair
    36Host.com - $36/year web hosting [affiliates earn 30%]
    * Affordable Small Business Web Hosting since 2003! *
    "500mb space, 10gb bandwith, 50 pop/ftp accounts, php,
    mysql, pre-installed php scripts, 24/7 support & more...."



  2. #2
    SitePoint Evangelist
    Join Date
    Jul 2001
    Location
    UK
    Posts
    407
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The menu boxes, if that's what you mean, can be made like this:

    Code:
    <table width="200" cellpadding="0" cellspacing="0">
    <tr>
    	<td bgcolor="BORDER_COLOR" colspan="3"></td>
    </tr>
    <tr>
    	<td bgcolor="BORDER_COLOR" width="1"></td>
    	<td>Menu Name</td>
    	<td bgcolor="BORDER_COLOR" width="1"></td>
    </tr>
    <tr>
    	<td bgcolor="BORDER_COLOR" colspan="3"></td>
    </tr>
    <tr>
    	<td bgcolor="BORDER_COLOR" width="1"></td>
    	<td>Links etc here</td>
    	<td bgcolor="BORDER_COLOR" width="1"></td>
    </tr>
    <tr>
    	<td bgcolor="BORDER_COLOR" colspan="3"></td>
    </tr>
    </table>
    But that's a lot of code really, you could do some sort of border.

    For the thin border, you can try:

    Code:
    style="border:1px #color 1px"
    Which gives you a think line around the table if you put that attribute in a <table>
    Last edited by oblig; Nov 14, 2001 at 15:01.

  3. #3
    Net Senior Citizen tommatthews's Avatar
    Join Date
    Apr 2001
    Location
    Sydney Australia
    Posts
    869
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes, css is the best way as I don't think bordercolor works in NS.

    The other way to do it is like this:

    <table width="100" cellpadding="1" bgcolor="#000000">
    <tr><td>
    <table width="100" bgcolor="#ffffff">
    <tr><td>
    content
    </td></tr></table>
    </td></tr></table>


    affordable website design

    :: sydney australia ::

  4. #4
    Prolific Blogger silver trophy Technosailor's Avatar
    Join Date
    Jun 2001
    Location
    Before These Crowded Streets
    Posts
    9,446
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I didn't think the border attribute in CSS worked on tables in Netscape....am I wrong?

    Sketch
    Aaron Brazell
    Technosailor



  5. #5
    Net Senior Citizen tommatthews's Avatar
    Join Date
    Apr 2001
    Location
    Sydney Australia
    Posts
    869
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yep, works fine for me.


    affordable website design

    :: sydney australia ::

  6. #6
    SitePoint Wizard Ian Glass's Avatar
    Join Date
    Oct 2001
    Location
    Beyond yonder
    Posts
    2,384
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    For the &raquo; and &laquo;, you could use &amp;raquo; (right double angle quotes) and &amp;laquo; (left double angle quotes), respectively. They're character entities in HTML. You could also use their numeric codes, too: &amp;#187; and &amp;#171;.

    ~~Hope This Helps


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
  •