Solved

Getting rid of default margins

Posted on 1998-08-25
6
146 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 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
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 

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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Jquery oncheck to update SPAN 31 56
Joomla main HTML page 4 46
How to represnt 52 selections 1 33
CSS measurement 10 14
Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
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)

705 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now