Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > CSS > CSS Cascading Style Sheets
|
CSS Cascading Style Sheets All issues relating to Cascading Style Sheets (CSS).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the CSS Cascading Style Sheets section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 5th, 2012, 06:05 PM
Friend of Wrox
 
Join Date: Jun 2005
Posts: 244
Thanks: 3
Thanked 4 Times in 4 Posts
Default 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, I'm a programmer - of sorts.
 
Old January 6th, 2012, 11:14 AM
Friend of Wrox
 
Join Date: Jun 2005
Posts: 244
Thanks: 3
Thanked 4 Times in 4 Posts
Default

Turns out I was applying the table-cell property to the wrong element!
__________________
Apocolypse2005, I'm a programmer - of sorts.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Conclusion on Usual Data Export to Excel Methods with C# Yaths C# 2005 0 March 28th, 2011 03:59 AM
CSS - editing the css style sheet doesn't take effect immediately sayo ASP.NET 3.5 Basics 6 March 13th, 2009 02:32 AM
Rich's new CSS book: Beginning CSS 2nd Edition jminatel BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 0 June 15th, 2007 11:55 AM
C++ Beginner having (the usual?) getline problems Slapworth C++ Programming 2 October 10th, 2004 01:45 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.