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> - 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); }


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

css-discuss [EMAIL-REMOVED]]
IE7b2 testing hub --
List wiki/FAQ --
Supported by --
Previous Message
Next Message

Message thread: