Welcome to Dream.In.Code
Getting Help is Easy!

Join 132,615 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 982 people online right now. Registration is fast and FREE... Join Now!




Table differences in IE and Firefox

 
Reply to this topicStart new topic

Table differences in IE and Firefox, The borders are going funky on me

Redian
post 12 Jul, 2008 - 06:11 PM
Post #1


New D.I.C Head

*
Joined: 28 Dec, 2007
Posts: 22

I'm trying to make the following display in IE as it displays in Mozilla Firefox. In mozilla, there is a 1 pixel black border between all the images and around all the images. In IE, there's a one pixel border around the top and left side, but then between the images its like 4 pixels, and between the images and the next row its like 4 pixels.

CODE
<TABLE cellspacing="1" cellpadding="0" bgcolor="#000000">
       <TR>
       <TD>
       <IMG>
       </TD>
       <TD>
       <IMG>
       </TD>
       <TD>
       <IMG>
       </TD>
       <TD>
       <IMG>
       </TD>
       <TD>
       <IMG>
       </TD>
       </TR>
       <TR>
       <TD colspan="5" bgcolor="#FFFFFF">
<!-- table continues

How do I make this work in IE?
User is offlineProfile CardPM

Go to the top of the page

ahmad_511
post 13 Jul, 2008 - 09:38 PM
Post #2


D.I.C Regular

Group Icon
Joined: 28 Apr, 2007
Posts: 351



Thanked 8 times

Dream Kudos: 400
My Contributions


hello,
css

table{
border-collapse:collapse;

}
table td{
border:1px red solid;
padding:0px;
margin:0px;
font-size:0px;
}

I hope it helps


This post has been edited by ahmad_511: 13 Jul, 2008 - 09:39 PM
User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 11/23/08 03:02AM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month