web blazonry web development scripts and tutorials Get best price on Samsung Galaxy S4, Black 16GB (Verizon Wireless)
   PHP       Name Generators       Perl       CSS       Javascript       Java       MySql       How Tos       Resources   

How Tos Home

Free Linux Books
  Programming for Linux
  Sys & Network Admin
  On the Desktop

Articles
Tech Tips for Picking a Web Host

Database Tutorial (PHP & MySQL)

How to Instal Apache + PHP + MySQL

PHP vs. ASP vs. JSP

Introduction to Debugging

MySQL JDBC Drivers

Overview of Client Side

Margins Flush with Edges of Browser

Specifying Alternate Document to Print

Web App Security
  Who Submit That?
  Cookie Security
  Passwords
  Secure Web Development

Bookmark and Share





Margins Flush With Edges of Browser

This page is a basic reference on how to make your web page margins flush with the edges of the browser.


Using Style Sheets:

    <body style="margin: 0px">


For Netscape:

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


For Internet Explorer

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


Almost Guaranteed to work (All-of-the-Above)

    <body topmargin="0" leftmargin="0" marginwidth="0" marginheight="0" style="margin: 0px">


If anyone really cares about earlier versions, the above does not work for Netscape 3.x and below. You cannot set the outer margins for those older Netscape browsers. I believe, but can not test, that the IE 3.x does allow the margins to be set using the above code.

 

Newest Pages
Test Google Ads Ver. 2
Free Linux Admin Books
Free Linux Books for Programmers
Free Books for Linux on the Desktop
Free PHP Books
Free JavaScript Books
Free Java Books - Advanced
Free Java Books - Basic
Free Perl Books
Free Python Books
Quote of the Day (PHP)
Debugging Part 2
How to Test Google Ads
Most Popular Pages
Baby Name Generator
U.S. Name Generator
Wu Name Generator
Popup Windows (JavaScript)
Upload and Resize an Image (PHP)
How To Install Apache + PHP + MySQL
Intro to Web Databases (PHP, MySQL)

Least Popular Pages
iNews Applet (Java)
Java Resources
Site Monitor (Perl)
PHP Resources
 
 

  privacy policy     ||     © 1997-2016. astonishinc.com   All Rights Reserved.