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 sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Layout Problem in IE

Status
Not open for further replies.

dthomas31uk

Technical User
Oct 19, 2003
107
GB
Hi, Have created a webpage


Fine in Firefox etc, but in IE6 when I placed my logo tag into the css the positioning went all wrong. Any ideas why it has done this. I know the problem lies in my logo css tag because have been checking in both browsers up until this happened.

Thats a link to my css if anyone is interested.


cheers
 
if you look to the right of the page the width is extended in ie6.
 
Looks like the wrapper is a bit bigger in IE. That sometimes happens when child elements inside are bigger than the container itself -- IE in that case will enlarge the container while Geckos will keep the container's size and elements will hang over. Have you tried simply not repeating the background on x-axis?
Code:
#wrapper {
  height: 863px;
  width: 790px;
  margin: 0px auto;
  padding: 0;
  background: url("ImagesNew/mid_long3.gif") repeat-y;
}
 
That did not work Vragabond. Managed to fix it tho'

The problem was due to another tag on my page been to wide

#base {
border-top: 2px solid lightgrey;
text-align:center;
float:left;
width: 700px;
height: 20px;
margin:0px 20px 0px 20px;
padding:0px 0px 0px 0px;
}

I had the width set to 750 previously

Cheers anyway
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top