The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Background Image Layout, IE vs. FF, need help center my images
John Kleinmann
post Aug 18 2007, 02:47 PM
Post #1





Group: Members
Posts: 2
Joined: 18-August 07
Member No.: 3,581



I need help with my website. I'm trying to get the background images centered on the screen. It renders the way I want it to look in FF2. However, when I view in IE7, it is only centering from div id footer, and not the rest above it. Any help would be appreciated!

(I know there are other things wrong with the formatting.. I just want to get this part solved first on the home page)

My Webpage
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Aug 18 2007, 06:38 PM
Post #2


WDG Member
********

Group: Root Admin
Posts: 8,365
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



You're mixing XHTML syntax into an HTML document. That causes the report from our validator to spit out "The maximum number of errors was reached. Further errors in the document have not been reported." There may be other errors, but it's hard to say because of all the XHTML nonsense.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
John Kleinmann
post Aug 18 2007, 07:06 PM
Post #3





Group: Members
Posts: 2
Joined: 18-August 07
Member No.: 3,581



QUOTE(Darin McGrew @ Aug 18 2007, 07:38 PM) *

You're mixing XHTML syntax into an HTML document. That causes the report from our validator to spit out "The maximum number of errors was reached. Further errors in the document have not been reported." There may be other errors, but it's hard to say because of all the XHTML nonsense.


Ok, I fixed all the XHTML errors (they were just / on br's and img's). Now there are no errors on the page, but I'm still getting it not rendering properly on IE7. Any help would be appreciated. Thanks!
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
drjekyll
post Aug 18 2007, 07:43 PM
Post #4





Group: Members
Posts: 3
Joined: 16-January 07
Member No.: 1,591



Does the content center correctly if you take the background image out?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Aug 18 2007, 07:50 PM
Post #5


WDG Member
********

Group: Root Admin
Posts: 8,365
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



You specify a width for div.content, but not for div#footer. Thus, the centered background images are centered relative to different width elements, unless the width of the browser window happens to be just right.

But I recommend avoiding a fixed-width design. Perhaps you can use an approach similar to that used by ALA's custom corners & borders articles (part 1, part 2).
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 19th April 2024 - 12:51 PM