What am i doing wrong? HTML

Soldato
Joined
1 Dec 2003
Posts
2,818
Location
Liverpool
Hey,

I am trying to fix up the border on my table.

It looks fine in dreamweaver:


But bad when viewing:



Code:

Code:
<table width="750" border="6" cellpadding="10" cellspacing="6" bordercolor="#8bf100" bgcolor="#FFFFFF" style="border-collapse: collapse">

What is wrong? Very much appreciated
 
I'm hungry..

Remove the following from your table tag.

Code:
style="border-collapse: collapse;"

I don't use dreamweaver so I don't know how it got added in the first place, theres probably a tick box somewhere in your table menu.
 
go through your html code and make sure all the tables and table cells controlling that area do not have that border collapse property in them.
 
Thanks - will do, appreciate this Craig

Only code that could be doing anything is anything of the following:

Code:
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head>

<body bgcolor="#666699" text="#000000">
<center>
<table width="750" border="6" cellpadding="10" cellspacing="6" bordercolor="#8bf100" bgcolor="#FFFFFF">
<tr>
<td nowrap><p align="center" class="style1"><img src="hmm.jpg" width="770" height="211"></p>
<p align="center" class="style3">

Code:
</div></td>
</tr>
</table>

Spot anything mate?
 
Last edited:
No problem, you can give me a handjob in the morning.

Edit: As far as tables go, it isn't really off the mark. I'm not sure whats causing it without seeing the site itself. Dreamweaver can be a bit frisky when it comes to styling elements without consent.
 
Back
Top Bottom