• Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Tables HTML

wc2

Fingers like lightning
Joined
Aug 11, 2005
Messages
746
Likes received
7
Thanks received
6
Could someone correct the following code?

I have 2 pictures in this table, There is a gap between the images (I want rid of it) as it's one image sliced.

Cheers

WC2



<table width="75" border="0">
<tr>
<td><img src="central_1x1.jpg" width="870" height="157"></td>
</tr>
<tr>
<td height="38"><img src="central_2x1.jpg" width="870" height="36"></td>
</tr>
</table>
 
Try

<table width="75" border="0" cellspacing="0" cellpadding="0">
 
Look, can the rest of you just answer the complicated stuff about networks and databases n' stuff and leave these easy ones for us senile old retired sorts? I saw that title and said I know that, me, me me me me me oooh sir please sir me sir and then I clicked on it an found some other bastard had already done answered it. I will have to kill myself now.
 
That works

Thanks

NP :)

Look, can the rest of you just answer the complicated stuff about networks and databases n' stuff and leave these easy ones for us senile old retired sorts? I saw that title and said I know that, me, me me me me me oooh sir please sir me sir and then I clicked on it an found some other bastard had already done answered it. I will have to kill myself now.

Oops, sorry xog :o

Go play with your wasps, that'll make things seem better (only seem, mind) :happy
 
Divs and CSS. Come on guys, tables are soooo 20th century.
 
Yeah, and close your img tags:

<img src="central_2x1.jpg" style="width: 870px; height: 36px;"/>
 
Divs and CSS. Come on guys, tables are soooo 20th century.

Absolutely, but I couldn't be bothered to get into it at that time in the evening - I was more interested in getting out of the office :)

A more interesting question is, why not just use one image? There doesn't appear to be any reason whatsoever for there to be two of them.
 
Supposed to discourage copying innit?
 

Advertisers

Back
Top