[thelist] Site Check -- bg image problem

Jeff Howden jeff at jeffhowden.com
Fri Jun 17 23:47:16 CDT 2005


Tyme,

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> From: T--
> 
> Okay, I'm stumped.   I might see the problem tomorrow
> with fresh eyes.  But, would appreciate others having a
> look.
> 
> Site displaying as intended in IE6 (PC).
> 
> PROBLEM: Firefox having a fit with my (validating!)
> code. Background image is truncated.  [Tested with
> Firefox v. 1.0.4 / PC]
> 
> http://www.no-pun.com/synergy2005/    (Green dotted
> borders to show DIVs...just for design phase.)
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

As noted by Maximillian, your (X)HTML does *not* validate.  Also, you'd do
well to lose the scripting, browser detection, and dynamic stylesheet
inclusion.  There's *nothing* about this layout that requires this level of
complexity in CSS conditionalizing.  A single <link>'ed stylesheet and a
single @import()'ed stylesheet should be more than enough.

>From a skim through the code it appears that you're trying to cover as many
bases with older browsers as possible.  If that's indeed the case, use
HTML4.01, not XHTML1.0 Trans.  A couple of additional notes regarding the
code.  If you're interested in the code validating, drop the use of the
deprecated <center> tag and drop the use of closing tag notes like "</div
navbarDIV>".  I know they're helpful, but it results in invalid (X)HTML.

 [>] Jeff Howden
     jeff at jeffhowden.com
     http://jeffhowden.com/




More information about the thelist mailing list