Reputation: 1
I have been trying to get an SVG element to fill the available space within a table cell. In Google Chrome the table cell's height is equal to the content height of the tallest table cell in its containing row. However in Internet Explorer the table cell's height simply takes-on the height of its own content with no regard for taller siblings in the same row. The table cells of both Chrome and Internet Explorer look the same (i.e. they are neatly squared) but the underlying height attributes are only actually equal in Chrome.
Does anyone know if this is a bug in Internet Explorer?
Any assistance will be gratefully received.
Upvotes: 0
Views: 163
Reputation: 810
Try adding reset.css at the top of your css file reset.css
Also you can try using normalize.css at the top of your css file normalize.css
May be that can help you!!
Upvotes: 2
Reputation: 1495
if it does try adding !important when you set the height of the TD in css ex:
td{
height:150px !important;
}
this prevent any override to the value (even by the browser)
Upvotes: 0