You are here: Re: Help Request about 4.01 Strict « HTML « IT news, forums, messages
Re: Help Request about 4.01 Strict

Posted by Jonathan N. Little on 06/08/06 15:01

Ed Mulroy wrote:
> I would appreciate it if people were kind enough to suggest how I
> might fix my page.
>
> I have run into difficulty while trying to migrate from HTML 4.01
> Transitional to 4.01 Strict.
>
> The Transitional page and css links are:
> http://home.nc.rr.com/emulroy/theshore.htm
> http://home.nc.rr.com/emulroy/beach.css
> The Strict versions are
> http://home.nc.rr.com/emulroy/theshoreS.htm
> http://home.nc.rr.com/emulroy/beachS.css
>
>
> The HTML validator gives complaints in strict mode.
> http://validator.w3.org/
>
> The 'target' word in a link like that below generates an error: (line 36)
> <a href="the_url" target="_blank">link description</a>
>
> What scheme is used under 4.01 strict to specify a link be opened in a
> new window? (please, not javascript)

None, target is used with framesets

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">

Recommendation is let the user decide where or not to open link in new
window.
>
>
> On line 18 I received a complaint about 'align'
> <table align="left" width="22%" cellpadding="1" cellspacing="2">
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
those are presentational attributes that should be defined in your
stylesheet

http://www.w3.org/TR/CSS21/tables.html

>
> However all attempts to remove the 'align' and handle it with CSS
> results in the right hand table being moved down the page to past the
> bottom of the left hand menu column.

Don't really see a difference except padding on table cell a bit
different between version. Basically I think you may be trying to design
with CSS but your mindset is still in 3.2 table layout mode.

Following are not snide remarks but to encourage you to think in a
different direction...

Think about this, why are your links in a table at all? They are just a
list right? Why are your pictures and text in a table? Is it just to
hang them in some particular placement on the page? You need to shake
off the shackles of the table and compose the page semantically then
style to make it appear as you wish. Google for some CSS layout tutorials.



--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

 

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

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