|
Posted by John on 02/27/06 01:11
Thanks to all who have got back to me on this.
I'm going to have a go at using the "DIV" tag stuff as suggested. I'm also
going to look the websites mentioned- I've also changed a few other things
as suggested.
Many thanks
John
"Andy Dingley" <dingbat@codesmiths.com> wrote in message
news:lsb302pkmedpepotc8cg9up6lpri8qiiht@4ax.com...
> On Sat, 25 Feb 2006 23:03:04 -0000, "John"
> <john@johndouglas.demon.co.uk> wrote:
>
>>Hi all - wonder if you can help? I have put together avery simple site at
>>www.johndouglas.demon.co.uk. I have used css.
>
> Mainly you've mis-used a table to control layout. This is a bad thing
> generally, and you're actually getting caught by one of the specific bad
> instances about it.
>
> Tables are dynamic content-driven things, not rigidly sized. So when you
> then tried to control their sizes by setting the _overall_ size, they
> still jiggle about internally. It's trying to take its overall fixed
> height and partitiion it according to how the content fills it.
>
> I suggest you abandon this table-based layout and use a proper CSS-based
> one. This is harder to write, but you can download one from glish.com
> bluerobot.com and others.
>
> If you insist on using tables, then set the height of the top row (which
> you care about) and let the overall height float free, according to what
> the content needs to fill it.
>
> Also replace font-family: "Arial"; with
> font-family: "Arial", sans-serif;
> and font-size:18pt; with font-size:180%;
>
> Oh, and throw away FrontPlague. It's awful.
Navigation:
[Reply to this message]
|