HighDots Forums  

Paragraph tags different in Mozilla

alt.html alt.html


Discuss Paragraph tags different in Mozilla in the alt.html forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
tshad
 
Posts: n/a

Default Paragraph tags different in Mozilla - 05-12-2005 , 12:26 PM






I have a table where I have use a paragraph tag to indent my lines (actually
Front Page added it). But it causes all kinds of problems in Mozilla.

If you look at my samples you can see the difference.

If you look at http://www.payrollworkshop.com/sampl...graphtest1.htm you
will see a box that is larger than the text if you look at it in Mozilla.
In IE, the box is the same height (approx.) as the text. The code is:

<td valign="bottom" bgcolor="#C0C0C0">
<p style="margin-left: 15">Profiles on File:</p></td>
<td valign="bottom" bgcolor="#C0C0C0" colspan="5">&nbsp; </td>

I am only setting the margin on the left here, so why is Mozilla using it
all around the box?

If I take the <p> code out - it works fine in both IE and Mozilla
(http://www.payrollworkshop.com/sampl...raphtest2.htm).

In either case, it doesn't seem to work. It doesn't seem to indent the
text, anyway. I also tried it in the <td> field with no effect.

Thanks,

Tom



Reply With Quote
  #2  
Old   
Adrienne
 
Posts: n/a

Default Re: Paragraph tags different in Mozilla - 05-12-2005 , 01:50 PM






Gazing into my crystal ball I observed "tshad"
<tscheiderich (AT) ftsolutions (DOT) com> writing in
news:6tLge.1691$Y81.561 (AT) newssvr21 (DOT) news.prodigy.com:

Quote:
I have a table where I have use a paragraph tag to indent my lines
(actually Front Page added it). But it causes all kinds of problems in
Mozilla.

If you look at my samples you can see the difference.

If you look at
http://www.payrollworkshop.com/sampl...graphtest1.htm you will see
a box that is larger than the text if you look at it in Mozilla. In IE,
the box is the same height (approx.) as the text. The code is:

td valign="bottom" bgcolor="#C0C0C0"> <p style="margin-left:
15">Profiles on File:</p></td> <td valign="bottom" bgcolor="#C0C0C0"
colspan="5">&nbsp; </td

I am only setting the margin on the left here, so why is Mozilla using
it all around the box?

If I take the <p> code out - it works fine in both IE and Mozilla
(http://www.payrollworkshop.com/sampl...raphtest2.htm).

In either case, it doesn't seem to work. It doesn't seem to indent the
text, anyway. I also tried it in the <td> field with no effect.

Thanks,

Tom



1. Get rid of FrontPage.
2. Stop abusing tables.

--
Adrienne Boswell
http://www.cavalcade-of-coding.info
Please respond to the group so others can share


Reply With Quote
  #3  
Old   
Beauregard T. Shagnasty
 
Posts: n/a

Default Re: Paragraph tags different in Mozilla - 05-12-2005 , 02:01 PM



Adrienne wrote:
Quote:
Gazing into my crystal ball I observed "tshad"
tscheiderich (AT) ftsolutions (DOT) com> writing in
news:6tLge.1691$Y81.561 (AT) newssvr21 (DOT) news.prodigy.com:

I have a table where I have use a paragraph tag to indent my lines
(actually Front Page added it). But it causes all kinds of problems in
Mozilla.

If you look at my samples you can see the difference.

If you look at
http://www.payrollworkshop.com/sampl...graphtest1.htm you will see
a box that is larger than the text if you look at it in Mozilla. In IE,
the box is the same height (approx.) as the text. The code is:

td valign="bottom" bgcolor="#C0C0C0"> <p style="margin-left:
15">Profiles on File:</p></td> <td valign="bottom" bgcolor="#C0C0C0"
colspan="5">&nbsp; </td

I am only setting the margin on the left here, so why is Mozilla using
it all around the box?

If I take the <p> code out - it works fine in both IE and Mozilla
(http://www.payrollworkshop.com/sampl...raphtest2.htm).

In either case, it doesn't seem to work. It doesn't seem to indent the
text, anyway. I also tried it in the <td> field with no effect.

1. Get rid of FrontPage.
2. Stop abusing tables.
3. Add some units to the incorrect <p style="margin-left: 15">

15 cars? Dogs? Ah ... 15 cheeseburgers!

--
-bts
-This space intentionally left blank.


Reply With Quote
  #4  
Old   
tshad
 
Posts: n/a

Default Re: Paragraph tags different in Mozilla - 05-12-2005 , 03:18 PM



"Adrienne" <arbpen2003 (AT) sbcglobal (DOT) net> wrote

Quote:
Gazing into my crystal ball I observed "tshad"
tscheiderich (AT) ftsolutions (DOT) com> writing in
news:6tLge.1691$Y81.561 (AT) newssvr21 (DOT) news.prodigy.com:

I have a table where I have use a paragraph tag to indent my lines
(actually Front Page added it). But it causes all kinds of problems in
Mozilla.

If you look at my samples you can see the difference.

If you look at
http://www.payrollworkshop.com/sampl...graphtest1.htm you will see
a box that is larger than the text if you look at it in Mozilla. In IE,
the box is the same height (approx.) as the text. The code is:

td valign="bottom" bgcolor="#C0C0C0"> <p style="margin-left:
15">Profiles on File:</p></td> <td valign="bottom" bgcolor="#C0C0C0"
colspan="5">&nbsp; </td

I am only setting the margin on the left here, so why is Mozilla using
it all around the box?

If I take the <p> code out - it works fine in both IE and Mozilla
(http://www.payrollworkshop.com/sampl...raphtest2.htm).

In either case, it doesn't seem to work. It doesn't seem to indent the
text, anyway. I also tried it in the <td> field with no effect.

Thanks,

Tom




1. Get rid of FrontPage.
I am not using FP, but my boss had been using it and is now mainly using DW
to build pages.

Quote:
2. Stop abusing tables.
How did I abuse tables in my example?

Tom
Quote:
--
Adrienne Boswell
http://www.cavalcade-of-coding.info
Please respond to the group so others can share



Reply With Quote
  #5  
Old   
tshad
 
Posts: n/a

Default Re: Paragraph tags different in Mozilla - 05-12-2005 , 03:19 PM




"Beauregard T. Shagnasty" <a.nony.mous (AT) example (DOT) invalid> wrote

Quote:
Adrienne wrote:
Gazing into my crystal ball I observed "tshad"
tscheiderich (AT) ftsolutions (DOT) com> writing in
news:6tLge.1691$Y81.561 (AT) newssvr21 (DOT) news.prodigy.com:
I have a table where I have use a paragraph tag to indent my lines
(actually Front Page added it). But it causes all kinds of problems in
Mozilla.
If you look at my samples you can see the difference.

If you look at
http://www.payrollworkshop.com/sampl...graphtest1.htm you will see
a box that is larger than the text if you look at it in Mozilla. In IE,
the box is the same height (approx.) as the text. The code is:
td valign="bottom" bgcolor="#C0C0C0"> <p style="margin-left:
15">Profiles on File:</p></td> <td valign="bottom" bgcolor="#C0C0C0"
colspan="5">&nbsp; </td
I am only setting the margin on the left here, so why is Mozilla using
it all around the box?

If I take the <p> code out - it works fine in both IE and Mozilla
(http://www.payrollworkshop.com/sampl...raphtest2.htm).

In either case, it doesn't seem to work. It doesn't seem to indent the
text, anyway. I also tried it in the <td> field with no effect.

1. Get rid of FrontPage.
2. Stop abusing tables.

3. Add some units to the incorrect <p style="margin-left: 15"
Again - Front Page added this.

I agree. I assume this should be <p style="margin-left: 15px">

Tom
Quote:
15 cars? Dogs? Ah ... 15 cheeseburgers!

--
-bts
-This space intentionally left blank.



Reply With Quote
  #6  
Old   
Beauregard T. Shagnasty
 
Posts: n/a

Default Re: Paragraph tags different in Mozilla - 05-12-2005 , 03:37 PM



tshad wrote:
Quote:
Again - Front Page added this.

I agree. I assume this should be <p style="margin-left: 15px"
...or 2em ...

http://www.allmyfaqs.com/faq.pl?Tableless_layouts

Your 8pt font is also unreadable. We discuss why not to use Verdana,
and not to use px or pt for font every day here. Surely, you've read a
few of those threads?

--
-bts
-This space intentionally left blank.


Reply With Quote
  #7  
Old   
Mark Parnell
 
Posts: n/a

Default Re: Paragraph tags different in Mozilla - 05-12-2005 , 07:12 PM



Previously in alt.html, tshad <tscheiderich (AT) ftsolutions (DOT) com> said:

Quote:
How did I abuse tables in my example?
Sure doesn't look like tabular data to me.

--
Mark Parnell
http://www.clarkecomputers.com.au
alt.html FAQ :: http://html-faq.com/


Reply With Quote
  #8  
Old   
Mark Parnell
 
Posts: n/a

Default Re: Paragraph tags different in Mozilla - 05-12-2005 , 07:12 PM



Previously in alt.html, "Beauregard T. Shagnasty"
<a.nony.mous (AT) example (DOT) invalid> said:

Quote:
3. Add some units to the incorrect <p style="margin-left: 15"

15 cars? Dogs? Ah ... 15 cheeseburgers!
Hobnobs. It's been a while since anyone brought any in here.

--
Mark Parnell
http://www.clarkecomputers.com.au
alt.html FAQ :: http://html-faq.com/


Reply With Quote
  #9  
Old   
n|ck
 
Posts: n/a

Default Re: Paragraph tags different in Mozilla - 05-13-2005 , 04:35 AM



Beauregard T. Shagnasty wrote:
Quote:
Your 8pt font is also unreadable. We discuss why not to use Verdana,
I'm not sure I can see the rational behind shunning Verdana as a font for the
web. I would've thought that the main problem was using Verdana when not using
relative font sizes? Verdana was made for the screen... so why can't we use it?

Basically, I don't see a problem with using it as long as it's size is set using
a % (due to IE's "bug").


Reply With Quote
  #10  
Old   
Beauregard T. Shagnasty
 
Posts: n/a

Default Re: Paragraph tags different in Mozilla - 05-13-2005 , 09:49 AM



n|ck wrote:
Quote:
Beauregard T. Shagnasty wrote:

Your 8pt font is also unreadable. We discuss why not to use
Verdana,

I'm not sure I can see the rational behind shunning Verdana as a
font for the web. I would've thought that the main problem was
using Verdana when not using relative font sizes? Verdana was made
for the screen... so why can't we use it?
http://www.xs4all.nl/~sbpoley/webmatters/verdana.html

Quote:
Basically, I don't see a problem with using it as long as it's size
is set using a % (due to IE's "bug").
Yes, as long as you use 100 of them. 100%.

--
-bts
-This space intentionally left blank.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.