Reply to Re: HTML on Firefox 2

Your name:

Reply:


Posted by Nick on 10/31/07 01:09

On 30 Oct, 09:44, Andy Dingley <ding...@codesmiths.com> wrote:
> On 30 Oct, 06:57, Chaddy2222 <spamlovermailbox-sicur...@yahoo.com.au>
> wrote:
>
> > Or more to the point, use Dreamwever in source view.
> > It has quite a good text editor.
>
> Expensive way to buy a text editor.
>
> > > As to why your two sites differ under FF, I told you once - their
> > > doctype declarations are different. The .eu site has a broken doctype
> > > declaration that makes FF drop back into an IE compatibility "quirks"
> > > mode.
>
> > Just another note to the OP, you will need to actually fix the errors
> > that the W3C validator throws at you in order for the document to be
> > valid, just changing the Doctype won't really fix anything.
>
> It will in this case - the OP needs to _break_ standards-mode
> rendering to get it to work(sic). It would actually work better as it
> is without a doctype.
>
> Don't put a correct Strict doctype declaration onto either of these
> pages until you're ready to fix them properly.


I have fixed several things, and now the W3C HTML Code checker tells
me that the page is a Valid HTML 4.01 Transitional!

So the DOCTYPE is right.

I've also eliminated most of the tables.

There is a major problem in Firefox though: the search box on the left
doesn't work anymore (<input type="text" name="searchbox" size="18"
maxlength="25" class="searchbox">
</form>), one can't even select it, and neither work the links
under Categories. I could not find the reason. These work fine in
IE7 and Opera 9.

Another problem is that I'd like everything to appear at the centre of
the browser, as it does on IE7. In order to achieve this I've added
text-align:center to the class: all :

div.all { position:absolute; left: 0px; top: 0px; width:100%; height:
100%; z-index:1; text-align:center},

this is the class of the parent <div> that contains all other <div>
and everything else. It works on IE7, but not on Firefox or Opera,
that is the reason why I had originally done

<div id="all" class="all" align="center">.

It did center the content on Firefox in that way, but I know that is
has been deprecated in HTML 4.01. Could you help me finding out how
to make it work on Firefox and Opera ?

I have enlarged the font size, but I still have to do that for the
Categories Links, but I want to sort out the exhisting problems first.

I am aware of problems that can appear when once enlarge text, because
the size of the <div id="main class="main" which contains the website
content is fixed in pixels to 980px. It might be good to find an
alternative to that at some stage, perhaps after the existing problems
have been sorted.

Again, feedback and constructive criticism is appreciated. Negative
criticism, sarcasm, and silly jokes about me having a deal with Bill
Gates, are obvious, dull, sad, and bring nothing to the discussion, so
are best avoided.

[Back to original 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

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