Previous Message
Next Message

external and inline CSS???

Sent by Greg Morphis on 25 March 2006 05:05


Yo guys need help with something.. I was using an external css file
for my site, all was working fine. But I need some page specific CSS
now.. I've got my external CSS File (assets/styles/global.css). In
there I had a couple image calls for example:
body {background: #fff; background-image:url(../image/bkd_img.jpg); ... }

It worked fine when it was all in that css file. I need to change the
image per site.. so that part needs to be inline in the .htm file.

Now the CSS is broken.. Is using external file and inline css at the
same time possible, if so, how do I do it?

 Here's the current index.htm file..

<link href="assets/styles/global.css" type="text/css" />
<title>BentonIndex.com - John's Gym</title>
<style type="text/css" >

body { background-image:url(../image/bkd_img.jpg); }
div#header p { background-image:url(../image/header.gif); }


</style>

I also tried the @import to try to bring in the CSS... no luck.
Please help.

Thanks
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: