You are here: Re: HTML on Firefox 2 « HTML « IT news, forums, messages
Re: HTML on Firefox 2

Posted by rf on 10/31/07 03:13

"Nick" <maxout2001-nospam@yahoo.co.uk> wrote in message
news:1193792986.476408.308130@o80g2000hse.googlegroups.com...

> 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.

That'd be the form on the right, right?

There are so many weirdly positioned divs and tables in there that I'll bet
the browser is simply getting confused. I sure was when I looked at the
structure using firebug. It is, to say the least, a mess.

As to the non-functional form: It's being covered up by the welcome div
which has width: 100% specified. I think.

Also, why the javascript skulduggery with that image that is supposed to be
a "submit" button. Why not just make it a real submit button and let the
browser do it's work?


> 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 :

That aligns the content, not the divs that contain that content. margin:
auto might work but not with all that positioning stuff flying around.

> 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


To what? 75% of my preferred font size?

And there is a problem as well. When I increase my font size (as I must to
be able to put it back to 100% of my preferred size) your navigation bar
escapes it's absolutely positioned and sized dif.

> 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.

Ah I see you already know about that problem.

> It might be good to find an
> alternative to that at some stage, perhaps after the existing problems
> have been sorted.

Like removing all the absolute positioning and sizing?

> 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.

Welcome to usenet :-)

--
Richard.

 

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

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