Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Getting rid of default margins

Posted on 1998-08-25
6
Medium Priority
?
156 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
  • 3
  • 3
6 Comments
 
LVL 1

Accepted Solution

by:
dedsi earned 150 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
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!

 

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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
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…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

971 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