Solved

Getting rid of default margins

Posted on 1998-08-25
6
154 Views
Last Modified: 2011-08-18
When using tables in FrontPage, the editor always gives you a margin of about 5 to 6mm from the top and left hand side of the page. For the most part this is fine, if not desirable. However I now have a situation where I want the tables to have NO top and LHS margin at all.

Is this possible?

If the above is at all unclear I can post something up on the 'Net to illustrate the problem.
0
Comment
Question by:bigstar
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 1

Accepted Solution

by:
dedsi earned 50 total points
ID: 1837046
Hi bigstar,

The following body-tag would do the thing you are looking for:

<body marginwidth="0" leftmargin="0" topmargin="0" marginheight="0">

This works for Netscape Communicator 4.x and IE 4.x and will put all margins to 0.

Hope this is what you were looking for,

/dedsi
0
 

Author Comment

by:bigstar
ID: 1837047
Dedsi - this sounds great - just what I've been looking for. Does it also work in MSIE 3.0 - 3.2. Most of my Intranet audience have this browser, although I'm trying to encourage MSIE 4.0?

Nevertheless I'll report back when I've tried your solution, meanwhile if you are able to test the older MSIE option for me - I'd be much obliged. Thanks
0
 
LVL 1

Expert Comment

by:dedsi
ID: 1837048
hi bigstar,

Im truly sorry, but Im using IE4 myself so I cant use IE3. Though, I dont think this will work for IE3 but as I said I havent tried it. As for Netscape, I have no clue because I only use 4.x.

One thing is sure and that is that it will work in 4.x in both browsers as I use it on my own homepage.

Good luck!

/dedsi
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:bigstar
ID: 1837049
Dedsi - Yep you're right, it sure does work in IE4 - so many thanks for that. I'm going ahead now and applying this to about 150 pages - lucky me huh?

I think the points are safely yours whether it works in E3+ or not, however I'd like to try it tomorrow at my workplace - just to make sure and return here tomorrow evening - I'm in the UK BTW.
0
 

Author Comment

by:bigstar
ID: 1837050
Dedsi - seems to work fine in MSIE 3.0 - 3.2 also - so I'm a happy man. Big thanks.

BTW - I understand the leftmargin="0" topmargin="0"  part of the argument, but what's the significance of the marginwidth="0" marginheight="0" part. Why is that necessary in addition to the leftmargin="0" etc?

0
 
LVL 1

Expert Comment

by:dedsi
ID: 1837051
Hi bigstar,

leftmargin and topmargin will only work for IE-browsers. To make it work in Netscape Communicator aswell you need to use the marginwidth and marginheight tags. I dont know why Netscape and IE wont agree to one HTML-standard but now they havent so you will have to use both tags if you want it to work in both browsers.

/dedsi
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

631 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question