Jump to content

help with tables


ngreenwood6

Recommended Posts

I am trying to create a forum space like the one on this site. I have this code:

 

index.html:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>

<body>
<table id="forum">

<tr>
<td colspan="3" style="background:repeat url(background.jpg);">Forum</td>
</tr>

<tr>
<td id="forum">Nick</td>
<td id="forum">Help with mysql Database!</td>
<td id="forum">09/12/2008</td>
</tr>

</table>

</body>
</html>

 

style.css:

 

#forum 
{
border:1px thin solid #000000;
}

 

but that is not what I want. I want a nice thin border around the outside of the whole thing and then just a line around the td's inside the second tr. It's hard to explain but what it looks like when you are looking at all the posts with the dividers.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.