|
Home > Archive > dBASE Web Applications > April 2005 > Tips to create Mozilla-compatible Web pages
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Tips to create Mozilla-compatible Web pages
|
|
| Jean-Pierre Martel 2005-04-04, 8:03 pm |
|
Recently I've discover that many "bugs" seen in the display of Web pages
under Mozilla (version 1.7.3) are caused by bits of code added by the
browser when the web page is downloaded. In other words, when a visitor
looks at the source code he received, it is buggy. However, when the web
master looks at the source code of the same web page as it is on the
server, the code is perfect. So Mozilla _corrupts_ the code while it
downloads the web page.
To minimize that corruption, here are the tips that I've found:
- put the value of all tags between quotes. For example: WIDTH="175"
(instead of WIDTH=175), size="+1" (instead of size=+1).
- if possible, avoid tags that Mozilla doesn't understand, for example
TOPMARGIN, LEFTMARGIN, MARGINWIDTH, and MARGINHEIGHT.
- break very long lines of code in smaller lines of code.
Jean-Pierre Martel, editor
The dBASE Developers Bulletin
Blue Star dBASE Plus Core Concepts Graduate
| |
| Charlie Lutz 2005-04-04, 8:03 pm |
| In article <MPG. 1c2b93713cc907c29896
82@news.dbase.com>,
nospam@nospam.com says...
>
> Recently I've discover that many "bugs" seen in the display of Web pages
> under Mozilla (version 1.7.3) are caused by bits of code added by the
> browser when the web page is downloaded. In other words, when a visitor
> looks at the source code he received, it is buggy. However, when the web
Intersting, I have also noticed that with Firefox 1.0, some web pages
show slightly different then with IE. Nothing major, mostly alignment
type problems.
Charlie
--
____________________
________
Charlie Lutz
#1000441
| |
| Ken Mayer [dBVIPS] 2005-04-04, 8:03 pm |
| Charlie Lutz wrote:
> In article <MPG. 1c2b93713cc907c29896
82@news.dbase.com>,
> nospam@nospam.com says...
>
>
> Intersting, I have also noticed that with Firefox 1.0, some web pages
> show slightly different then with IE. Nothing major, mostly alignment
> type problems.
It's a difference between the way IE and Mozilla-based browsers
interpret the HTML. It's rather frustrating at times.
Ken
--
/(Opinions expressed are purely my own, not those of dataBased
Intelligence, Inc.)/
*Ken Mayer* [dBVIPS]
/Golden Stag Productions/
dBASE at goldenstag dot net
http://www.goldenstag.net/GSP
http://www.goldenstag.net/dbase
| |
| Jean-Pierre Martel 2005-04-04, 8:03 pm |
| In article <MPG. 1c2cac874bfc9fc9896b
b@news.dbase.com>, Charlie Lutz
<lutzc(remove)@wes.army.mil> says...
>
> I have also noticed that with Firefox 1.0, some web pages
> show slightly different then with IE. Nothing major, mostly
> alignment type problems.
Yes. In the case of Mozilla 1.7.3, bits of HTML or JavaScript code is
sometimes added here and there. That gives the impression that the guy
who has built the web site builder has made some errors.
Jean-Pierre Martel, editor
The dBASE Developers Bulletin
Blue Star dBASE Plus Core Concepts Graduate
|
|
|
|
|