Body tags

F

Fred

"None of your pages have the body tag borders set to 0" Could some kind
person inform me how I set up body tags? Fred
 
T

Tom Pepper Willett

IIRC, he was told this in a previous (different) post.
--
===
Tom "Pepper" Willett
Microsoft MVP - FrontPage
---
About FrontPage 2003:
http://office.microsoft.com/home/office.aspx?assetid=FX01085802
How to ask a newsgroup question:
http://support.microsoft.com/kb/555375
===
|> "None of your pages have the body tag borders set to 0"
|
| Where did you see that?
|
| --
| Murray
| ============
|
| | > "None of your pages have the body tag borders set to 0" Could some kind
| > person inform me how I set up body tags? Fred
| >
| >
| >
|
|
 
T

Tom Pepper Willett

Yes, I believe it was about margins.
--
===
Tom "Pepper" Willett
Microsoft MVP - FrontPage
---
About FrontPage 2003:
http://office.microsoft.com/home/office.aspx?assetid=FX01085802
How to ask a newsgroup question:
http://support.microsoft.com/kb/555375
===
| Perhaps they meant margins?
|
| --
| Murray
| ============
|
| | > IIRC, he was told this in a previous (different) post.
| > --
| > ===
| > Tom "Pepper" Willett
| > Microsoft MVP - FrontPage
| > ---
| > About FrontPage 2003:
| > http://office.microsoft.com/home/office.aspx?assetid=FX01085802
| > How to ask a newsgroup question:
| > http://support.microsoft.com/kb/555375
| > ===
| > | > |> "None of your pages have the body tag borders set to 0"
| > |
| > | Where did you see that?
| > |
| > | --
| > | Murray
| > | ============
| > |
| > | | > | > "None of your pages have the body tag borders set to 0" Could some
| > kind
| > | > person inform me how I set up body tags? Fred
| > | >
| > | >
| > | >
| > |
| > |
| >
| >
|
|
 
M

Murray

Here's how to set margins -

Link to an external stylesheet, or embed a stylesheet in your code (between
<head> and </head>) with the following style in it (embedded shown for
cut-n-paste convenience) (assuming you want zero margins) -

<style type="text/css">
<!--
body { margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0;
padding:0; }
-->
</style>
(when the value is zero, units are not required)

you could also try

body { margin: 0 0 0 0; padding:0; }

or

body { margin: 0; padding:0; }

as a shorthand method.

This will take care of the margins in IE4+ and NN6+.

To get completely valid code that works for all
browsers, change your stylesheet as shown below -

body {
padding: 0;
margin: 0 -10px 0 -10px;
/*/*/margin: 0 0 0 0; /* */
}
(this is called a CSS "hack" - the bottom line is not read by NN4x)
 
F

Fred

Hi all, I asked the question about body tags as I had received this answer
earlier but couldn't find anything about then in the help section. The page
I'm having problems on is at
http://www.heart-of-england-cat-club.com/breeders list.htm and it's the
INNER left margin - between the left-hand border and the members details
that I'm trying to adjust. It looks ok in page view and preview but when
published the margin (gap-space) disappears. Any help in plain English would
be most welcome. Thanks for the easy to follow instructions Murray, even a
novice like me could follow these. Fred
 
R

Ronx

That gap is a 25px wide empty column in a table. IE normally displays
the gap, other browsers will collapse it.
To have control over this use include pages instead of shared borders,
and design your own layout.
It has nothing to do with margins.
 
S

Stefan B Rusynko

Right click each of the pages for Page Properties - Advanced and set your margins to 0
(will require you to set Tools Page Options Authoring (browsers & schemas) to IE5+
- meant page margins not borders in my prior response

--




| Hi all, I asked the question about body tags as I had received this answer
| earlier but couldn't find anything about then in the help section. The page
| I'm having problems on is at
| http://www.heart-of-england-cat-club.com/breeders list.htm and it's the
| INNER left margin - between the left-hand border and the members details
| that I'm trying to adjust. It looks ok in page view and preview but when
| published the margin (gap-space) disappears. Any help in plain English would
| be most welcome. Thanks for the easy to follow instructions Murray, even a
| novice like me could follow these. Fred
|
|
| | > Here's how to set margins -
| >
| > Link to an external stylesheet, or embed a stylesheet in your code
| > (between <head> and </head>) with the following style in it (embedded
| > shown for cut-n-paste convenience) (assuming you want zero margins) -
| >
| > <style type="text/css">
| > <!--
| > body { margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0;
| > padding:0; }
| > -->
| > </style>
| > (when the value is zero, units are not required)
| >
| > you could also try
| >
| > body { margin: 0 0 0 0; padding:0; }
| >
| > or
| >
| > body { margin: 0; padding:0; }
| >
| > as a shorthand method.
| >
| > This will take care of the margins in IE4+ and NN6+.
| >
| > To get completely valid code that works for all
| > browsers, change your stylesheet as shown below -
| >
| > body {
| > padding: 0;
| > margin: 0 -10px 0 -10px;
| > /*/*/margin: 0 0 0 0; /* */
| > }
| > (this is called a CSS "hack" - the bottom line is not read by NN4x)
| >
| >
| > --
| > Murray
| > ============
| >
| > | >> Yes, I believe it was about margins.
| >> --
| >> ===
| >> Tom "Pepper" Willett
| >> Microsoft MVP - FrontPage
| >> ---
| >> About FrontPage 2003:
| >> http://office.microsoft.com/home/office.aspx?assetid=FX01085802
| >> How to ask a newsgroup question:
| >> http://support.microsoft.com/kb/555375
| >> ===
| >> | >> | Perhaps they meant margins?
| >> |
| >> | --
| >> | Murray
| >> | ============
| >> |
| >> | | >> | > IIRC, he was told this in a previous (different) post.
| >> | > --
| >> | > ===
| >> | > Tom "Pepper" Willett
| >> | > Microsoft MVP - FrontPage
| >> | > ---
| >> | > About FrontPage 2003:
| >> | > http://office.microsoft.com/home/office.aspx?assetid=FX01085802
| >> | > How to ask a newsgroup question:
| >> | > http://support.microsoft.com/kb/555375
| >> | > ===
| >> | > | >> | > |> "None of your pages have the body tag borders set to 0"
| >> | > |
| >> | > | Where did you see that?
| >> | > |
| >> | > | --
| >> | > | Murray
| >> | > | ============
| >> | > |
| >> | > | | >> | > | > "None of your pages have the body tag borders set to 0" Could
| >> some
| >> | > kind
| >> | > | > person inform me how I set up body tags? Fred
| >> | > | >
| >> | > | >
| >> | > | >
| >> | > |
| >> | > |
| >> | >
| >> | >
| >> |
| >> |
| >>
| >>
| >
| >
|
|
 
S

Stefan B Rusynko

My post
- meant page margins (not borders)


--




|> "None of your pages have the body tag borders set to 0"
|
| Where did you see that?
|
| --
| Murray
| ============
|
| | > "None of your pages have the body tag borders set to 0" Could some kind
| > person inform me how I set up body tags? Fred
| >
| >
| >
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top