How do I Remove Margin at bottom of Page

I can't figure out how to remove the margin at the bottom of the page. Im sure it a simple margin or padding setting Im overlooking.

The dark grey should be flush with the bottom of the page like it is at the top.

Thanks

http://tinyurl.com/yadhrgm
shawnzerAsked:
Who is Participating?
 
techsathishCommented:
iframe {
      border:0;
}

Add this in mainstyle.css
0
 
Matthew KellyCommented:
I believe you will need to set the body tag padding and margin. I did not see it set in any of your css stylesheets.

Like this: http://www.maxdesign.com.au/presentation/body/
0
 
techsathishCommented:
Hi shawnzer,

The problem is in iframe. I just deleted the iframe its working fine.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
techsathishCommented:
Hi shawnzer,

Use FRAMEBORDER="0" in the iframe. Its working fine.

LIke this

<iframe height="0px" frameborder="0" width="0px" src="" name="stpostframe" style="visibility: hidden;"/>
0
 
shawnzerAuthor Commented:
techsathish,

To my knowledge there is no iframe in the website, so Im not sure where you are getting that code.
0
 
shawnzerAuthor Commented:
matthewstevenkelly,
The body padding and margin are 0.
body  {
	font: 100% Verdana, Arial, Helvetica, sans-serif;
	background: #660000;
	margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	padding: 0;
	text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
	color: #000000;
}

Open in new window

0
 
techsathishCommented:
Hi shawnzer,

Ur right but in the page its generate and displaying. may be its creating by script.

Okay fine just add this in ur css file.

iframe {
      border:0;
}

Sure it will work.
0
 
sajayj2009Commented:
Hi techsatish:

Atlast;

iframe code is generated from sharethis widget you have coded in your website.

In CSS:
iframe {
visibility: hidden; display:none; height:0px;
}

Open in new window

0
 
techsathishCommented:
Hi shawnzer,

U got solution?
0
 
shawnzerAuthor Commented:
This solution did not work for IE7 but it did for IE8 and Other browsers
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.