On 01-Nov-11 15:41:16, Brett Parker wrote:
On 01 Nov 15:24, Chris Green wrote:
I know HTML isn't strictly linux, but still it's related isn't it and there are lots of clever and helpful people here.
I want to lay out some web pages in the following sort of fashion:-
Top of Page Heading Sub-heading C1 Data C2 Data C3 Data More C1 data More C2 data More C3 data Sub-heading C1 Data C2 Data C3 Data More data More data More data and more etc etc Sub-heading Etc. Etc. Etc
I want all of the columns under the sub-headings to be the same widths so they're aligned all the way down (i.e. the same column widths under all of the sub-headings).
Using tables one could either set all the column widths explicitly (but very difficult to make it work at different resolutions then) or one could make the sub-headings a column span and just make the text bold (so as a result it's all one table).
Is there any other way that would be less painful? I suppose using the column spanning method isn't too awful but it's a really pity that HTML has no other way of putting text in columns.
Note that the columns are not all the same width as I have shown above.
So, something like: http://miranda.sommitrealweird.co.uk/~brettp/temp/chrisg-3col/
Then?
-- Brett Parker
You must be using hidden resources there, Brett! When I view the URL above I see a beautifully paid-out document, However, if I save the page source to a local file and then open that in Firefox, I simply see: =================================================================== A Document with headings, sub headings and then 3 columns Subheading 1
The rain in spain falls mainly on the plain...
Watch out the black helicopter is flying overhead
The rain in spain falls mainly on the plain...
Watch out the black helicopter is flying overhead
The rain in spain falls mainly on the plain...
Watch out the black helicopter is flying overhead Subheading 2
The rain in spain falls mainly on the plain...
Watch out the black helicopter is flying overhead
The rain in spain falls mainly on the plain...
Watch out the black helicopter is flying overhead
The rain in spain falls mainly on the plain...
Watch out the black helicopter is flying overhead ===================================================================
with all tabular formatting lost (also frames and colours).
Ted.
-------------------------------------------------------------------- E-Mail: (Ted Harding) ted.harding@wlandres.net Fax-to-email: +44 (0)870 094 0861 Date: 01-Nov-11 Time: 16:15:43 ------------------------------ XFMail ------------------------------