[thelist] CSS Hack? (was .css files vs inline CSS and .js vs inline JS?)
Bob Haroche
spambait at onpointsolutions.com
Tue May 17 13:45:32 CDT 2005
>>Embedded JS or CSS is always a hack and not clever.
Really? I use a stylesheet to load a background image on all pages
within a site, except for the home page. To over-ride that background
image for that single page, I use an inline style of:
body {
background-color: #FFFFFF;
background-image: none !important;
}
Is that truly a hack? Is there a more elegant way to do this?
--
Regards,
Bob Haroche
OnPoint Solutions
www.OnPointSolutions.com
More information about the thelist
mailing list