Saturday, 29 June 2013

Bed page display

In article <5362eae127Lists@Torrens.org.uk>, Richard Torrens (lists)
<Lists@Torrens.org.uk> wrote:

> http://www.cornishworkshop.co.uk/hammerhandle.html

> is a series of nested tgbles.

Yes, but not the problem, I think.

> The text overwrites, all on one line, with no proper wrapping in the
> cells.

I suspect this is because the page uses a CSS file which includes

body {line-height:0;.......

A line-height of 0 is obviously undesirable and it is not reset to
override this for the other elements used on the page, AFAICS.

You can see it pretty much as intended if you save the web page to RAM
disc and run it from there. As it can't find the 'faulty' CSS file from
its relative URL, it is ignored.

To see it more as intended you can use this link to load the 'invisible'
css file http://www.cornishworkshop.co.uk/candyedit.css . Save it to ram
disc alongside the web page as candyedit/css then edit it and delete
"line-height:0;" in the first line. Save it. The page then displays
pretty much as intended. Luckily, the images use absolute references.

A good example of 'sledgehammer to crack nut' use of CSS as it adds
almost nothing worthwhile to the page content whatsoever.

No comments:

Post a Comment