p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/)
-   CSS Cascading Style Sheets (http://p2p.wrox.com/css-cascading-style-sheets-146/)
-   -   CSS being weird, as per usual (http://p2p.wrox.com/css-cascading-style-sheets/86245-css-being-weird-per-usual.html)

Apocolypse2005 January 5th, 2012 05:05 PM

CSS being weird, as per usual
 
I have this HTML

HTML Code:

<div id="containter>

 <div id="
topRow">
 
 </div>
 
 <div id="bodyRow">
 
 </div>
 
 <div id="footerRow">
 
 <div id="footerTable">
 
 <div id="footerTableRow">
 
 <div id="footerLeftCell">
 Left Text
 </div>
 <div id="footerRightCell">

 Right Text
 </div>
 
 </div>
 
 </div>
 
 </div>
 
</div>

And my CSS turns that into display:table ETC the problem I'm having is that only in the footer row which is the same as the other rows - in the fact that there are sub tables and cells in those rows - the cells aren't sitting side by side. The other rows are working as expected and fine with sub tables and sub rows and sub cells, all displaying like a table should. As soon as it gets to this footer row, it just bloody gives up!

Apocolypse2005 January 6th, 2012 10:14 AM

Turns out I was applying the table-cell property to the wrong element!


All times are GMT -4. The time now is 07:05 PM.

Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
2013 John Wiley & Sons, Inc.