On 02 Nov 16:20, Mark Rogers wrote:
On 01/11/11 15:41, Brett Parker wrote:
So, something like: http://miranda.sommitrealweird.co.uk/~brettp/temp/chrisg-3col/ Then?
The problem with this approach is that "the wrong kind of" data can mess up the layout. Eg insert an image into the first cell under Subheading 1 that forces the browser to increase the width of that "column", and the data in the following rows won't follow suit (unless I've missed something clever in the CSS). That's fine as long as you know what it going into the cells in advance, but otherwise...
Erm, that would still be 30% wide of the 90% wide holding div, the columns in that example were set so they don't expand/contract but are a percentage of the whole, so it wouldn't do what you suggest at all.
If there is a vertical relationship between the cells in Chris's example, it may well be that using tables is "correct", but otherwise I don't know of a way to make it work elegantly in CSS. It ought to be fairly simple to be able to specify tab levels in CSS so that everything at the same tab level will be vertically aligned regardless of content, but that's not an option to my knowledge.
-- Mark Rogers // More Solutions Ltd (Peterborough Office) // 0844 251 1450 Registered in England (0456 0902) 21 Drakes Mews, Milton Keynes, MK8 0ER
main@lists.alug.org.uk http://www.alug.org.uk/ http://lists.alug.org.uk/mailman/listinfo/main Unsubscribe? See message headers or the web site above!