OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <html> | |
3 <head> | |
4 <style> | |
5 #parent { | |
6 border: 1px solid blue; | |
7 width: 194px; | |
8 height: 94px; | |
9 display:table; | |
10 padding:2px; | |
11 } | |
12 </style> | |
13 </head> | |
14 <body> | |
15 <div id="parent"> | |
16 <p style="display:table-cell;border: 1px solid red;background-color: yellow;"></p> | |
17 <p style="display:table-cell;width:2px"></p> | |
18 <p style="display:table-cell;border: 1px solid red;"></p> | |
19 </div> | |
20 </body> | |
21 </html> | |
OLD | NEW |