You are here: Re: newbie needs a bit of help « HTML « IT news, forums, messages
Re: newbie needs a bit of help

Posted by Andy Dingley on 02/26/06 15:47

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация