You are here: Re: vertical centered table in Opera « HTML « IT news, forums, messages
Re: vertical centered table in Opera

Posted by cwdjrxyz on 02/12/06 00:15

Fred Flash wrote:
> http://members.home.nl/divydutchess/
>
> This table is centered vertically. Anyway it is supposed to be. This works
> fine in IE. but not in Opera.
> How can I fix that so that it works fine in Opera as well?

The page views 5 different ways on my several different browsers, The
problem has something to do with how you specify height. You first need
to add the required Docytype, likely for html 4.01 transitional for the
page in the present form, although html 4.01 strict would be better.
When you validate at the W3C selecting the html 4.01 transitional
override for the missing Doctype, you find that in line 19 there is an
error in a table tag. This error is "there is no attribute height".

I see that the FrontPage editor was used as specified in the code. My
first suggestion is to dump FrontPage if you are interested in writing
valid code that usually works on most browsers other than IE. I would
completely rewrite this page from scratch using html 4.01 strict with a
proper CSS style sheet to position everything. I have not used a table
in over 2 years. However, with the information I found concerning a
height problem, someone here may be willing to help you patch the table
if you still want to use it.

 

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

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