Reply
background image not showing?
Old 08-06-2007, 11:24 AM background image not showing?
dansgalaxy's Avatar
Eat, Sleep, Code

Posts: 6,174
Name: Dan
Location: Swindon
hey im trying to set a small little image to show in the bottom right corner of my content div.

www.calm.dansgalaxy.co.uk
www.calm.dansgalaxy.co.uk/style/style1/style.css

why isnt the
background: url('./images/trans_tortoise.png') bottom right no-repeat; showing?

i have no clue why this wont work :s someone help!

TP for who ever helps me.

Thxs
Dan
__________________
Personal UK Webhosting
Get 25% of ANY shared package for life ~ Promo: webmaster-talk (only for members!)
dansgalaxy is offline
Reply With Quote
View Public Profile Visit dansgalaxy's homepage!
 
When You Register, These Ads Go Away!
Old 08-06-2007, 11:59 AM Re: background image not showing?
JamieLewis's Avatar
Pretty Much a Big Deal...

Latest Blog Post:
Gooie
Posts: 386
Name: Jamie Lewis
Location: UK
Your IE conditional statements are messing up the CSS. IF you remove them it shows. Probably needs a rewrite.

Jamie
JamieLewis is offline
Reply With Quote
View Public Profile Visit JamieLewis's homepage!
 
Old 08-06-2007, 01:52 PM Re: background image not showing?
dansgalaxy's Avatar
Eat, Sleep, Code

Posts: 6,174
Name: Dan
Location: Swindon
yea this is the thing, i have that single ie thing in the head of the template, which fixes what that ie thing is for (the navigation) but if i remove it from the style it makes the content not float left? im confuseed...

if you look now u can see what it is like without the conditional ie in the style.

but it IS in the head on its own.
whyis it doing this?

Thanks
Dan
__________________
Personal UK Webhosting
Get 25% of ANY shared package for life ~ Promo: webmaster-talk (only for members!)
dansgalaxy is offline
Reply With Quote
View Public Profile Visit dansgalaxy's homepage!
 
Old 08-06-2007, 01:57 PM Re: background image not showing?
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,945
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Actually, it's the path that's incorrect.

Try either http://www.calm.dansgalaxy.co.uk/ima...s_tortoise.png or /images/trans_tortoise.png and see what happens.

Mind you, this won't work in IE6...it has problems with transparent PNGs. I'd create a JPG alternative and use it instead for IE6.
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 08-06-2007, 02:00 PM Re: background image not showing?
dansgalaxy's Avatar
Eat, Sleep, Code

Posts: 6,174
Name: Dan
Location: Swindon
yea i know it isnt transparent, well not properly its trans pic on white bg so should be fine..

the path shouldnt b wrong i tried it with images/trans with /ikmages/trans etc
and with the full path but still didnt work

EDIT i take that back it works :s

ok next problem, the condition ie thing messes up the images.. so it dont show but if i dont have it the content goews weird.
help
__________________
Personal UK Webhosting
Get 25% of ANY shared package for life ~ Promo: webmaster-talk (only for members!)

Last edited by dansgalaxy : 08-06-2007 at 02:02 PM.
dansgalaxy is offline
Reply With Quote
View Public Profile Visit dansgalaxy's homepage!
 
Old 08-06-2007, 02:20 PM Re: background image not showing?
dansgalaxy's Avatar
Eat, Sleep, Code

Posts: 6,174
Name: Dan
Location: Swindon
yukes! just looked at it in IE6 and not only is the content NOT floated, its all messed up with the navigation styling! HEEELP!!!
__________________
Personal UK Webhosting
Get 25% of ANY shared package for life ~ Promo: webmaster-talk (only for members!)
dansgalaxy is offline
Reply With Quote
View Public Profile Visit dansgalaxy's homepage!
 
Old 08-06-2007, 02:21 PM Re: background image not showing?
JamieLewis's Avatar
Pretty Much a Big Deal...

Latest Blog Post:
Gooie
Posts: 386
Name: Jamie Lewis
Location: UK
May I ask why you are converting to a table based layout for IE?? It is not necessary and that is what is probably causing you all the ills.

Jamie
JamieLewis is offline
Reply With Quote
View Public Profile Visit JamieLewis's homepage!
 
Old 08-06-2007, 02:27 PM Re: background image not showing?
dansgalaxy's Avatar
Eat, Sleep, Code

Posts: 6,174
Name: Dan
Location: Swindon
erm... i got the navigation off dynamicdrive. amd have just changed the colours and thats about it :P and basically took the css and shived it in mine :P

if you can re-write it or something so it works, and looks the same i would appriciate it, im not exactly a guru with CSS

Thanks,
Dan

i fixed the thing for IE6 so now i just have the same problem as IE with the whole content not floating thing :P

guh i hate this ¬.¬
__________________
Personal UK Webhosting
Get 25% of ANY shared package for life ~ Promo: webmaster-talk (only for members!)

Last edited by dansgalaxy : 08-06-2007 at 02:31 PM.
dansgalaxy is offline
Reply With Quote
View Public Profile Visit dansgalaxy's homepage!
 
Old 08-06-2007, 04:14 PM Re: background image not showing?
Angelosanto's Avatar
Ultra Talker

Posts: 440
Name: Danny Angelosanto
Hey Dan, I told you before, you should read the book by HTML Dog, you will always have a valid, well-layed out site after you have read it
Angelosanto is offline
Reply With Quote
View Public Profile Visit Angelosanto's homepage!
 
Old 08-06-2007, 04:17 PM Re: background image not showing?
dansgalaxy's Avatar
Eat, Sleep, Code

Posts: 6,174
Name: Dan
Location: Swindon
was it you who said u would send me the e-book of it?
__________________
Personal UK Webhosting
Get 25% of ANY shared package for life ~ Promo: webmaster-talk (only for members!)
dansgalaxy is offline
Reply With Quote
View Public Profile Visit dansgalaxy's homepage!
 
Reply     « Reply to background image not showing?
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.16580 seconds with 12 queries