Topic: CSS Background maddness (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=25637" title="Pages that link to Topic: CSS Background maddness (Page 1 of 1)" rel="nofollow" >Topic: CSS Background maddness <span class="small">(Page 1 of 1)</span>\

 
Blaise
Bipolar (III) Inmate

From: London
Insane since: Jun 2003

posted posted 04-28-2005 11:39

Hi there guys,

I think I'm going crazy, I can't figure this out, and the problem is i've done it successfully before about 100 times!

I've got a basic template with a header section and I want to have a background image display with it, inside there is a h1 element with an image sitting inside.

The problem is that the background image won't display in the header division, I can't figure out how to make it show, my syntax is simple...

code:
#header {background: url(images/header.jpg);

This doesn't seem to work though, if you could take a look at the test page and the CSS page and offer any advice or (hopefully) point out the blinding error I would really appreciate it.

Cheers,



(Edited by Blaise on 04-28-2005 11:40)

reisio
Paranoid (IV) Inmate

From: Florida
Insane since: Mar 2005

posted posted 04-28-2005 12:07

in styles.css, change...

code:
(images/header.jpg)


...to...

code:
(../images/header.jpg)

Blaise
Bipolar (III) Inmate

From: London
Insane since: Jun 2003

posted posted 04-28-2005 12:52

*sigh*

Thanks reisio, I knew it was something stupid, I couldn't for the life of me see the wood for the trees though.

reisio
Paranoid (IV) Inmate

From: Florida
Insane since: Mar 2005

posted posted 04-28-2005 12:57

Happens.



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu