Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

wrapper div not wrapping full in mozilla

Status
Not open for further replies.

abovetopsecret

Programmer
Joined
Jan 16, 2008
Messages
61
Location
GB
I have a wrapper div called center, and in IE6 it stretches around all my content, but in ie7 and mozilla, the wrapper div comes up short.

Ive been through the code, and all seems pretty good to me.


Anybody see the problem.

Ta
 
In your css....

Code:
#center {
  background-color:#EFA032;
  border-bottom:1px solid #666666;
  border-left:1px solid #666666;
  border-right:1px solid #666666;
  height:[!]auto[/!];
  margin-left:auto;
  margin-right:auto;
  position:relative;
  top:11px;
  width:780px;
}

Originally, you had height:100%;. Change it to height:auto;



-George

"The great things about standards is that there are so many to choose from." - Fortune Cookie Wisdom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top