Forum Moderators: open

Message Too Old, No Replies

get rid of my borders

borders i.e. 6.0

         

gracesaieva

8:49 pm on Oct 16, 2006 (gmt 0)

10+ Year Member



HI forum. I"m working on a site, but I can't seem to get rid of the borders on my table. I've been working them over for hours and days. I wanted to lay them all out in css, but explorer just won't cooperate. What am I doing wrong? Also, the image in the right, middle section won't top-align. The link is <edited>

Any help would be much appreciated. Oh, and I already tried different doc types.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Poetry</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="default.css" rel="stylesheet" type="text/css">
<style>
body#origamibg{
background-image: url("http://www.example.com/images/origami.gif");}

table#origami{
top: 20px;
left: 200px;
width: 500px;
position: absolute;
border: 0;
margin: 0;
padding: 0;
border-spacing:0;}

td#origamiCC{
padding-right: 10px;
padding-left: 10px;
padding-top: 0px;
padding-bottom: 0px;
background-color:#FFFFFF;
vertical-align:top;
}

td#top {
vertical-align:top;
vertical-align:text-top;
top:30px;
position: absolute;}
</style>
</head>

<body id="origamibg" valign="top" border="0">

<div class="links">
<?php
//This will begin the navigation
include("nav.inc");
?></div>

<table id="origami" border="0" cellpadding="0" vspace="top">
<tr height="37px">
<td width="24" background="images/origamiTL.gif">&nbsp;</td>
<td width="358"background="images/origamiTC.gif">&nbsp;</td>
<td width="105"background="images/origamiTR.gif">&nbsp;</td>
</tr>
<tr>
<td width="24" background="images/origamiCLb.gif"><img src="images/origamiCLa.gif"></td>
<td id="origamiCC" width="358" ><?php include("origaminav.php");?></td>
<td width="105" background="images/origamiCRb.gif" id="top"><img src="images/origamiCRa.gif"></td>
</tr>
<tr height="31">
<td width="24" background="images/origamiBL.gif"></td>
<td width="358" background="images/origamiBC.gif"></td>
<td width="105" background="images/origamiBR.gif"></td>
</tr>
</table>

</body>
</html>

<Sorry, no personal URLs.
See Forum Charter [webmasterworld.com]>

[edited by: tedster at 9:24 pm (utc) on Oct. 16, 2006]

willybfriendly

9:14 pm on Oct 16, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Try assinging border:0; to your td elements in the style sheet.

WBF