PC Review


Reply
Thread Tools Rate Thread

CAUTION: margin-bottom problem with Netscape 4.x

 
 
kevin
Guest
Posts: n/a
 
      4th Jul 2003
Netscape 4.x does not support the margin-bottom setting for anything
other than 0. This causes Pics to be superimposed directly on top of
the text below them - or in some cases a large section of the pic
will be cut off. This happened to several of my pages, and I just
checked and found out. So I spent a couple of hours trying different
changes until I isolated the problem.

Here is the test page with both the problem - and the fix:

http://www.infocellar.com/internet/N...x-problem1.htm

This happens when you manually change your Line Spacing setting to
Pics - either the "after text" for indentation - or the "after" for
Spacing. Either change adds the "margin-bottom" tag to your code,
which Netscape can't handle.

Default Line Spacing
---------------------------------

As an aside, I noticed that the default settings, even though all
fields in "Format/Paragrapgh" will be empty unless you manually set
them - is 18 points before, 18 points after, and single line spacing
(100%). You can test this - type in two lines with a carriage return.
Then select the two lines and go to Format/Paragraph and enter:
Before: 18 After: 18 Line Spacing: Single (100%)

You will see no change in the spacing. Some people say the default is
double-space, but if you select the two lines and then set the spacing
to Double, you will see that it "increases" the spacing somewhat. I
must say, though, that I only tested this using the FP preview window
and it may vary between browsers. Also, I used the "Normal" font, and
this may also cause it to vary.

The Margin-bottom Problem
-------------------------------------------

If you select your pic along with a few lines of text and then set the
"after" setting - using either indentation "After Tex" or Spacing
"After" - then your pic will over lay on top of the text. What
happens, is that this places the "margin-bottom" tag in your code. It
works fine with text in Netscape 4.x but not with Pics.

NOTE: with pics - manually setting the Indentation "After Text" or
the Spacing "After" settings will do the same thing to your code.
Both of those setting will add the "margin-bottom" tag. This is
because the pic has no text to indent - so FP confuses indentations
(which are left/right) with margins (which are top/bottom).

To fix, delete the margin-bottom tag, or simply set it to:

margin-bottom: 0

Now your image will jump back up, above the text line, where it should
be. Of course, you may not have this problem at all - but in case you
do, to avoid this overall, just never edit the "after" settings in
the Paragraph box for pics. If there is no entry there - then there
will be no margin-bottom tag in your HTML code. I ended up searching
all instances of that tag in my pages - I did not delete them but
instead I set them all to 0, and now all my pages work fine in
Netscape 4.x


 
Reply With Quote
 
 
 
 
Stefan B Rusynko
Guest
Posts: n/a
 
      7th Jul 2003
NN4x did not support inline styles well and margins
See
http://www.richinstyle.com/bugs/netscape4.html

--
_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
_____________________________________________


<kevin> wrote in message news:(E-Mail Removed)...
| Netscape 4.x does not support the margin-bottom setting for anything
| other than 0. This causes Pics to be superimposed directly on top of
| the text below them - or in some cases a large section of the pic
| will be cut off. This happened to several of my pages, and I just
| checked and found out. So I spent a couple of hours trying different
| changes until I isolated the problem.
|
| Here is the test page with both the problem - and the fix:
|
| http://www.infocellar.com/internet/N...x-problem1.htm
|
| This happens when you manually change your Line Spacing setting to
| Pics - either the "after text" for indentation - or the "after" for
| Spacing. Either change adds the "margin-bottom" tag to your code,
| which Netscape can't handle.
|
| Default Line Spacing
| ---------------------------------
|
| As an aside, I noticed that the default settings, even though all
| fields in "Format/Paragrapgh" will be empty unless you manually set
| them - is 18 points before, 18 points after, and single line spacing
| (100%). You can test this - type in two lines with a carriage return.
| Then select the two lines and go to Format/Paragraph and enter:
| Before: 18 After: 18 Line Spacing: Single (100%)
|
| You will see no change in the spacing. Some people say the default is
| double-space, but if you select the two lines and then set the spacing
| to Double, you will see that it "increases" the spacing somewhat. I
| must say, though, that I only tested this using the FP preview window
| and it may vary between browsers. Also, I used the "Normal" font, and
| this may also cause it to vary.
|
| The Margin-bottom Problem
| -------------------------------------------
|
| If you select your pic along with a few lines of text and then set the
| "after" setting - using either indentation "After Tex" or Spacing
| "After" - then your pic will over lay on top of the text. What
| happens, is that this places the "margin-bottom" tag in your code. It
| works fine with text in Netscape 4.x but not with Pics.
|
| NOTE: with pics - manually setting the Indentation "After Text" or
| the Spacing "After" settings will do the same thing to your code.
| Both of those setting will add the "margin-bottom" tag. This is
| because the pic has no text to indent - so FP confuses indentations
| (which are left/right) with margins (which are top/bottom).
|
| To fix, delete the margin-bottom tag, or simply set it to:
|
| margin-bottom: 0
|
| Now your image will jump back up, above the text line, where it should
| be. Of course, you may not have this problem at all - but in case you
| do, to avoid this overall, just never edit the "after" settings in
| the Paragraph box for pics. If there is no entry there - then there
| will be no margin-bottom tag in your HTML code. I ended up searching
| all instances of that tag in my pages - I did not delete them but
| instead I set them all to 0, and now all my pages work fine in
| Netscape 4.x
|
|


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Bottom Margin Problem =?Utf-8?B?Si5MLkQu?= Microsoft Word Document Management 4 6th Oct 2009 04:09 AM
caution sign icon in yellow on the bottom of my pc screen =?Utf-8?B?SG90IFNhdWNl?= Windows XP General 7 18th Dec 2006 10:02 PM
Bottom margin problem =?Utf-8?B?amo=?= Microsoft Excel Misc 0 14th May 2004 12:26 PM
Table & bottom margin problem KK Microsoft Word New Users 1 29th Oct 2003 01:01 PM
margin-top and margin-bottom problem - not working? surf chick Microsoft Frontpage 4 16th Oct 2003 10:31 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:20 PM.