Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

CSS - table with width attribute - wrong display in IE7

Avatar of phenryll
phenryll asked on
CSS
3 Comments1 Solution438 ViewsLast Modified:
Hi Experts,

Firefox renders my HTML snippet code correctly whereas IE7 sucks!

The middle picture must be 388 pixels width ; the left and right pictures should be relative width.

If I remove the attribute "width" from TD, the 3 TD are equally sized.

Please, find below the snippet code I am talking about:

Thanks for your help.
<html>
	<body>
		<table height="33px" width=100% cellpadding=0 cellspacing=0 border=0>
			<tr width="100%">
				<td style="background-image: url('dot.png'); background-repeat: repeat-x; width:auto;" ></td>
				<td style="background-image: url('middle.png'); background-repeat: no-repeat; width: 388px; " ></td>
				<td style="background-image: url('dot.png'); background-repeat: repeat-x; width:auto;" ></td>
			</tr>
		</table>
	</body>
</html>
ASKER CERTIFIED SOLUTION
Avatar of knonie
knonieFlag of Pakistan image

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Commented:
This problem has been solved!
Unlock 1 Answer and 3 Comments.
See Answers