Margins around my page?
Posted: 03 December 2009 06:47 AM   [ Ignore ]
Newbie
Rank
Total Posts:  12
Joined  2009-12-01

How do I eliminate the margins around my page?

Profile
 
 
Posted: 04 December 2009 06:42 AM   [ Ignore ]   [ # 1 ]
Newbie
Rank
Total Posts:  7
Joined  2009-12-04
Robinalex - 03 December 2009 06:47 AM

How do I eliminate the margins around my page?

Can you post a link to a page or the code of your page?

There are too many possibilities to be able to answer that question clearly without having something to review.

Earl

Profile
 
 
Posted: 17 December 2009 05:06 PM   [ Ignore ]   [ # 2 ]
Newbie
Rank
Total Posts:  1
Joined  2009-12-17

Could you post a screencap or something? It’ll be easier for us to help you.


Regards,
Corbie
Simulation pret immobilier

Profile
 
 
Posted: 18 January 2010 12:32 PM   [ Ignore ]   [ # 3 ]
Newbie
Rank
Total Posts:  12
Joined  2010-01-05

You can also use the CSS property “margin” to set the margins on your body element:
body {
  margin : 0px;
}
Animated Myspace Layouts

Profile
 
 
Posted: 04 August 2010 02:15 PM   [ Ignore ]   [ # 4 ]
Jr. Member
RankRank
Total Posts:  45
Joined  2010-05-17

Just make a CSS file and define
body {margin:0px}

and link it with your page. It will eliminate the margin from all sides of the web page and if your want to eliminate it from specific side then here is the the order of margin assigned by the CSS
{margin: top right bottom left}
just write the values of margin in above mentioned order.

Profile
 
 
Posted: 05 August 2010 07:58 AM   [ Ignore ]   [ # 5 ]
Member
Avatar
RankRankRank
Total Posts:  94
Joined  2010-06-17
Jason Smith - 04 August 2010 02:15 PM

Just make a CSS file and define
body {margin:0px}

and link it with your page. It will eliminate the margin from all sides of the web page and if your want to eliminate it from specific side then here is the the order of margin assigned by the CSS
{margin: top right bottom left}
just write the values of margin in above mentioned order.

Agreed though with 0 you don’t need the px.

Dave Davies, CEO
Beanstalk SEO

Profile
 
 
Posted: 06 January 2011 09:27 AM   [ Ignore ]   [ # 6 ]
Newbie
Rank
Total Posts:  2
Joined  2011-01-06

I am interested in starting my own business in the lawn care industry and I am trying to find out what are the average profit margins for a fertilizing and weed control company like Trugreen?
MySpace Layouts

Profile
 
 
Posted: 12 January 2011 09:44 PM   [ Ignore ]   [ # 7 ]
Newbie
Rank
Total Posts:  23
Joined  2010-07-23

If you want to get rid of the margins on your pages, you need to play with attributes of the body tag:

leftmargin
topmargin
marginheight
marginwidth
To force both Netscape and Internet Explorer to recognize that you don’t want margins, you have to set all four of these attributes to “0”. For example:
<body body marginheight=“0” marginwidth=“0” topmargin=“0” leftmargin=“0”>

You can also use the CSS property “margin” to set the margins on your body element:
body {
  margin : 0px;
}

London catering

Profile
 
 
Posted: 18 January 2011 01:13 AM   [ Ignore ]   [ # 8 ]
Sr. Member
RankRankRankRank
Total Posts:  139
Joined  2010-04-23

You should always use CSS over inline style. So use the suggestion:

body
{
margin : 0px;
}

or you can also use:

body
{
margin-top : 0px;
margin-bottom : 0px;
margin-left : 0px;
margin-right : 0px;
}

if you want the margins to be different for a different side.

____________________________________
Sudoku - Play Flash Games - Play Flash Games

Profile
 
 
   
 
 
‹‹ Padding & margins?      Create a website? ››