html - Tables in IE7 displaying inline -


i have 2 tables in ie7 inside div. div has width property set 500px. tables inside div , have (each) width property set 450px.

when page rendered in ie7, second table displays next first table (same line) though parent div has width of 500px, not being respected.

this displays ok in other browsers.

how can tell ie7 display second table below first one?

use

<!--[if ie 7]> <link rel="stylesheet" type="text/css" href="ie7.css"> <![endif]--> 

create small hack in css targeting ie7.

for reference ie css


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -