[Apologies to Greg, this was sent to him direct (and truncated) rather than to the list first time.]
On 11 June 2011 19:05, Greg Thomas Greg@thethomashome.co.uk wrote:
Well, I consider myself a pragmatist rather than a purist, but yes, I think what you have meets both the spirit and letter of the standards (if you tidied it up a bit to make it 100% HTML compliant ;)).
That's a good start then! Yes, I need to tidy up the code a bit but I was just playing at 1am so I will forgive myself for laziness when I really should have been in bed :-)
However,
#menu, #content { display:table-cell; }
may give you problems with IE7 (which doesn't support it) and IE8 (which does, but requires a proper !DOCTYPE).
Yes, I was aware of this, but I'm hoping that since the structure in the HTML isn't too far removed from more typical attempts at table layout in CSS, I should be able to have an alternative stylesheet to fall back to for IE.
My latest experimental version is here: http://www.more-solutions.co.uk/alug.html - I'd appreciate comments about the approach I'm taking (aside from the issue of IE6/7 for now). Basically it's for what will become a web application so controlling the layout makes sense, and the right hand "content" pane will likely be loaded using AJAX and it makes sense that it should scroll independently from the (tree) menu on the left which could get quite long if all nodes are opened. I'm a long way from being a CSS expert and I'd really like to try and learn how to do this "correctly" as far as I can.
-- Mark Rogers // More Solutions Ltd (Peterborough Office) // 0844 251 1450 Registered in England (0456 0902) @ 13 Clarke Rd, Milton Keynes, MK1 1LG