Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Set Height to 100% without extra bit.


Guest

Recommended Posts

Hello,

 

I'm trying to set the page to 100% height and have kind of managed this but I have an extra bit at the bottom that means the vertical scroll is active. How do I get rid of this extra little bit.

 

I have made changes on the stylesheet.css to get the 100% height:

 

BODY {
 text-align: center;
 background: #cccccc;
 color: #000000;
 margin: 0px;
 margin-bottom: 0px;
}

.fixcenter {
 width: 758px;
 height: 100%;
 border-left: solid; border-width: 1px;
 border-right: solid; border-width: 1px;
 background: #ffffff;
 color: #000000;
 margin: auto;
 margin-top: 0px;
 margin-bottom: 0px;
 text-align: left;
}

 

If you want to have a look at what I mean see this page

 

Many Thanks for your help! :thumbsup:

 

-turner2000

Link to comment
Share on other sites

Hello,

 

I'm trying to set the page to 100% height and have kind of managed this but I have an extra bit at the bottom that means the vertical scroll is active. How do I get rid of this extra little bit.

 

I have made changes on the stylesheet.css to get the 100% height:

 

BODY {
?text-align: center;
?background: #cccccc;
?color: #000000;
?margin: 0px;
?margin-bottom: 0px;
}

.fixcenter {
?width: 758px;
?height: 100%;
?border-left: solid; border-width: 1px;
?border-right: solid; border-width: 1px;
?background: #ffffff;
?color: #000000;
?margin: auto;
?margin-top: 0px;
?margin-bottom: 0px;
?text-align: left;
}

 

If you want to have a look at what I mean see this page

 

Many Thanks for your help!  :thumbsup:

 

-turner2000

 

not sure but it might be this <br> at the bottom

Treasurer MFC

Link to comment
Share on other sites

Sorry but which <br> is this. I have removed some extra <br> 's from the footer. Is there another file I should be looking at?

 

Thanks

 

Sorry I was being a nugget, I should have thought that it all would be contained in the index.php file. Oh well i've sorted it. Thanks for your help . . . . and patience. I'm getting there slowly.

 

-turner2000

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...