change / remove web page margin
Website Design
Website Promotion
Graphic Design
Programming
Free Software
Computer Tips
Discount Stores
|
This site provides users with the information about html change web page margin, how to change web page margin, remove web page margin, tips, guide, and more.
If you think that this site is helpful, please recommend your friends to visit our site.
As a website designer, you should know more designing tips and tricks. How to change the web page margins is something that you should know because sometimes you need to adjust web page margin from your iframe with that in your main web page so that the text from iframe is in line with the text from the main page. This technique is also used to blend your ad code with the contents of your web page.
The way of changing or removing your web page margins is to place the following attributes within your <body> tag.
topmargin=0
bottommargin=0
leftmargin=0
rightmargin=0
If the above code is not working, try the following code:
marginheight=0
marginwidth=0
Note:
1. You can put both code in your <body>tag. The following is an example:
<body topmargin=0 bottommargin=0 leftmargin=0 rightmargin=0 marginheight=0 marginwidth=0>
2. Making the value of all margins to zero means to remove margins.
|