(O.T.)Mozilla question

  • Thread starter Thread starter Henk de Jong
  • Start date Start date
_Henk de Jong_, venerdì 27/ago/2004:
OK, I found Composer. But, Composer tells me that there is besides a
<p> tag, there is also a </p> tag. I also tried to fix the height of
the cell in Composer, but that also didn't help. Any other suggestions?
Please....

Hi Henk,

I've put a couple of asterisks around the pieces of code that make me
doubtful, so you'll see them in bold characters.

(from http://home.hccnet.nl/hmdejong/Buttonbarmain.html)

<table border="0" cellpadding="0" cellspacing="0" width="100%" height="473"
*style="margin-top:auto;"* >
<tr>
<td width="100%" height="37"> *<p>* &nbsp;&nbsp;&nbsp;&nbsp; <img
src="bannerlinks3.jpg"
width="88" height="31" border="0"></td>
</tr>

As you can see there isn't a closing </p> tag, maybe though it doesn't
matter.

I'd try to delete that <p> and see what happens in Netscape and in IE.
If it works you have to do it for all the other cells of the table.

If it doesn't work, try to delete style="margin-top:auto;".
If the result is bad, before putting it back, play a bit with it, giving
some values:
e.g. style="margin-top: 5px;", or even style="margin-top: 0;"

Nothing else comes to my mind.

I wish you to succeed :)
 
MLC said:
_dszady_, venerdì 27/ago/2004:


No, I think not. A universally understood language needs standards to be
followed. The existence of a widely used browser (IE), that allows and
renders bad coding, propagates the use of non standard code, producing a
language not universally understood. When I think about it, I see it like
a disgusting marketing strategy by MS.

I agree.
And I think it will get worse.
It drives me crazy to try to write by W3C standards on Mozilla which looks
perfect, then look at it on IE and the text may be off the screen to the
right. For some reason it doesn't render absolute positioning very well.
What are the standards for if 90% of the browsers in the world will not
conform?
 
I agree.
And I think it will get worse.
It drives me crazy to try to write by W3C standards on Mozilla which looks
perfect, then look at it on IE and the text may be off the screen to the
right. For some reason it doesn't render absolute positioning very well.
What are the standards for if 90% of the browsers in the world will not
conform?
This is the kind of crap a coder has to contend with. You have to
satisfy IE as most users are using it, but you have to satisfy all the
other browsers as well so unless you are building a text-only, untabled,
non-javascripted site you are pulling your hair out half the time trying
to get the page to look nice. Just gimme 5 minutes with that Bill Gates
character...
POKO
--
P. Keenan - Webmaster
Web Page Design
Manitoulin Island, Canada
http://manitoulinislandwebdesign.it-mate.co.uk/
(e-mail address removed)
 
MLC said:
_Henk de Jong_, venerdì 27/ago/2004:


Hi Henk,

I've put a couple of asterisks around the pieces of code that make me
doubtful, so you'll see them in bold characters.

(from http://home.hccnet.nl/hmdejong/Buttonbarmain.html)

<table border="0" cellpadding="0" cellspacing="0" width="100%" height="473"
*style="margin-top:auto;"* >
<tr>
<td width="100%" height="37"> *<p>* &nbsp;&nbsp;&nbsp;&nbsp; <img
src="bannerlinks3.jpg"
width="88" height="31" border="0"></td>
</tr>

As you can see there isn't a closing </p> tag, maybe though it doesn't
matter.

I'd try to delete that <p> and see what happens in Netscape and in IE.
If it works you have to do it for all the other cells of the table.

If it doesn't work, try to delete style="margin-top:auto;".
If the result is bad, before putting it back, play a bit with it, giving
some values:
e.g. style="margin-top: 5px;", or even style="margin-top: 0;"

Nothing else comes to my mind.

I wish you to succeed :)

I removed the <p> tags with a plain text editor, and as far as I can
see it worked. Thanks for your suggestions!

With kind regards,

--
Henk de Jong
The Netherlands
(e-mail address removed) (Remove _NO_SPAM_)
'Links to Freeware'
http://www.linkstofreeware.nl/
http://www.linkstofreeware.vze.com/
http://home.hccnet.nl/hmdejong/
 
_Henk de Jong_, sabato 28/ago/2004:
I removed the <p> tags with a plain text editor, and as far as I can
see it worked. Thanks for your suggestions!

YW. I'm happy it worked!
 
jo schreef:
As a humble user, this feels to me to be a good thing.

Most browsers allow a lot of bad code, the only problem is that it's
impossible for a browser to *know* what the author wanted to do, and
browsers often guess differently.

The result is that a badly written website only works in those browsers
that it was tested on.
 
Henk de Jong <[email protected]> wrote:
I tried to remove those <p> tags, But Namo puts them back in again. I
have to edit the buttonbar with Namo, because Frontpage (2000) has a
lot of problems with the Javascript inside this bar.
Do I have to say: "Houston, we have a problem", or does somebody have a
solution for this?

This page is static? That is, there are no changes on this particular
page?

If so, you should be able to fix this page with an editor and then not
use Namo on it again?

I might misunderstand your problem.
 
Back
Top