You are here: Re: What's wrong with this code?? « HTML « IT news, forums, messages
Re: What's wrong with this code??

Posted by Jukka K. Korpela on 03/16/07 10:55

Scripsit Bob Mathewson:

> The code below is from a page on my personal site. It was originally
> done with PageMill v.3. I know, I know, but I've had no major
> problems with it before, even if it is obsolete.

Yes, we can see that it comes from PageMill, because the NATURALSIZEFLAG
attribute is its creation and ignored by all other software. And yes, it's
really messy. If you plan to create several such pages according to the same
template, I'd suggest designing a better template.

> The problem is, when I load this page, the word "Indiana" above the
> Bobbitt family should display following the word "Elnora," as above
> the first graphic.

Strange things happen to your page when the browser window width is varied -
the texts appear oddly placed.

The immediate fix is to put <br> right before and after the <img> tags. This
makes the images appear on "lines" of their own. Without that, the browser
treats the images as huge letters that may be placed on the same line as
text characters.

Moreover, changing <TR> to <TR valign="top"> (or doing the same thing in
CSS) would probably make the appearance better.

> <TITLE>grandparents1</TITLE>

Whose? A <title> element should specify the external title of a page, to be
used in many contexts so that it alone gives an idea of what the page is
about. It should be understandable as such, without seeing the page at all.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

 

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

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