CSS Background
I can't get it to show up and spent hours staring at the code and just cannot figure out what I've done wrong! Please help! Here's the code:
Here's the link (Please overlook the foolishness - I'm learning..)
http://www.bellybytes.com/practice/css.html
and I did load the background - you can even see it! :
http://www.bellybytes.com/practice/bg.gif
I've been doing text with CSS for a while and thought it was time I ventured into more of CSS - love it! - and everything was going perfect and then this. Sigh. Anyone? Thanks!!
Busy posted this at 04:34 — 26th April 2003.
He has: 6,151 posts
Joined: May 2001
try background-image: url("bg.gif");
quotes around bg.gif if that doesn't work, try add "practice/bg.gif"
disaster-master posted this at 04:49 — 26th April 2003.
She has: 2,154 posts
Joined: May 2001
Just a word of encouragement. Don't give up. There is plenty of help here. I speak from experience...of a css dummy once.
justjeni posted this at 05:04 — 26th April 2003.
They have: 59 posts
Joined: Apr 2003
Thanks, busy, I'll give your suggestions a try tomorrow - ready to call it a night for tonight. Been sitting on my numb butt for 14 hours today - shame, huh! Total addict. Anyway, I hope one of those works- I'll let you know!
"Just a word of encouragement. Don't give up. There is plenty of help here. I speak from experience...of a css dummy once."
disaster-master, thanks! I won't give up - although I had to finally on that background today. And I had just been thinking to myself, "Gosh, this stuff is easy - and fun, why didn't I get into it more sooner"! Then this happened. Arg. Well, it's good to know I can get help - no, make that GREAT, as no one in my little world likes, does or even cares about all this "stuff" as they refer to it.
Thanks again, both of you!
Fitness and Freebies
disaster-master posted this at 05:10 — 26th April 2003.
She has: 2,154 posts
Joined: May 2001
LOL.....yes, I know what you mean. My husband refers to everything as "javascript". He doens't even know what that is.
He always says, "You better leave me alone woman or I will go put some javascript on your computer and make it blow up."
But when he wants to order something off the net it's "baby this and baby that".
justjeni posted this at 22:35 — 26th April 2003.
They have: 59 posts
Joined: Apr 2003
LOL disaster-master - that is so much like a man!!! Gotta love 'em though, huh!
Well, I'm still having problems. I tried both suggestions - practice/bg.gif and the quotations, and neither worked. I'm really stumped on this one. I read the instructions over and over, looking at the code over and over - every semi-colon, but I just can't get this to work. If someone can figure this out, I'd sure appreciate it! Thanks again.
Fitness and Freebies
disaster-master posted this at 23:48 — 26th April 2003.
She has: 2,154 posts
Joined: May 2001
Actually, I think all you need is:
body { background-image : url(bg.gif); }
A:link, A:visited, A:active { text-decoration:none }
A:hover { color:#ff3300 }
-->
justjeni posted this at 23:51 — 27th April 2003.
They have: 59 posts
Joined: Apr 2003
Thanks, disaster-master!! It works now - at first I didn't see the space you added before and after the colon, I just noticed the "}" at the end, but now I just saw that and that got it working - I owe you! I was tearing my hair out over this one. The tutorial I used has it exactly as I did have it - shame on that writer!
(gosh, that background looks like it belongs on someone's home pages on geocities... )
Fitness and Freebies
Suzanne posted this at 01:24 — 28th April 2003.
She has: 5,507 posts
Joined: Feb 2000
actually, it was the space she removed, not the spaces she added -- it's url(), not url () -- the spaces make a difference, just like if they occur in the middle of a wo rd.
justjeni posted this at 21:26 — 28th April 2003.
They have: 59 posts
Joined: Apr 2003
Oh, you mean the space removed by the bg.gif - thanks! I thought it was adding that space. You do learn something new every day!
justjeni posted this at 21:31 — 28th April 2003.
They have: 59 posts
Joined: Apr 2003
I just want to add another, big, THANK YOU! to everyone - this really was driving me batty, but I won't forget it now, that's for sure!
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.