View Full Version : IT.. dosen't work


idiot
08-23-2003, 04:08 PM
I've even got this CSS validated at the W3 site, but it dosen't work on my page..

The CSS is..


body {
background-color: #FFFFFF;
color: #000000;
font-family: Verdana, Sans-Serif;
font-weight: Bold;
font-size: 10px;
}
td{
border-width: 3px;
border-color: #808080;
padding: 4px;
}


and the HTML is


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<link rel="stylesheet" href="style.css" type="text/css">
<title>Poetry by a Raven</title>
</head>
<body>
<img src="pbr.png" alt="">
<table>
<tr>
<td>
Under Construction
</td>
</tr>
<tr>
<td>
I'll hopefully have most if not all of the poems up tonight!
<br>
<br>
This is a "thankyou" to Gabbi :)
</td>
</tr>
</table>
</body>
</html>



You can see the page here (http://idiot.ath.cx/gp/)

Any ideas to make it work?

idiot
08-23-2003, 05:38 PM
Oh, and it's an external stylesheet. (.css file)

kittycat
08-23-2003, 05:38 PM
It works fine for me. If you want the border to show up, you need to add border-style: solid; to the td part. Or change solid to whatever you want (there's a list on Lissa CSS page I think, or somewhere :P)

pb&j
08-23-2003, 05:41 PM
try changing your td css to this...

td{
border-width: 3px;
border-style: solid;
border-color: #808080;
padding: 4px;
}

edit--
*doh, kittykat posted just before me again.*

idiot
08-23-2003, 06:39 PM
body {
background-color: #FFFFFF;
color: #000000;
font-weight: Bold;
font-size: 10pt;
}
td {
background-color: #c0c0c0;
border-width: 3px;
border-color: #808080;
padding: 4px;
border-style: solid;
}
body,td {
color: #000000;
font-weight: Bold;
font-size: 10pt;
}


Fixed everything :)