html - Border table row not working before adding td in IE11 -


i trying make border around html table , both <tr> before adding <td>. border not working either <table> or <tr>. gives me problem in internet explorer 11.

html:

<table style="width:500px;height:250px;outline:1px solid black;position:absolute;">    <tr id="1" style='outline:thin solid black;'></tr>    <tr id="2" style='outline:thin solid black;'></tr>    <tr id="3" style='outline:thin solid black;'></tr>    <tr id="4" style='outline:thin solid black;'></tr> </table> 

demo

by default, there area number of rules associate various table elements. try using css change display type table rows, perhaps adding tr { display: table-cell; } css of fiddle or (as @surreal dreams suggests above), adding content rows display.

if you're trying achieve sort of formal, grid-like display area, might better using divs. if you're after fluid type of layout, consider flexbox.

hope helps... -- lance


Comments

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

gradle error "Cannot convert the provided notation to a File or URI" -

python - NameError: name 'subprocess' is not defined -