CSS problem
Posted by: Thekidwithface (---.dhcp.embarqhsd.net)
Date: January 15, 2010 08:41PM

Well I designing a website template (Sort of, I dont think you can call it 'designing' xD) and I am trying to give something a background image using CSS.

Lets say I have this for the HTML:
<div id="box">Box content here</div>

And for the CSS I have this:
#box {
    background: #000000 url(images/boxbg.gif) top left repeat-x;
}

For some reason it doesnt want to use that background image I called in the CSS class.
But, if I upload the image to Photobucket, and use that URL instead, it works fine.

Any help?

Options: ReplyQuote
Re: CSS problem
Posted by: yfastud (Moderator)
Date: January 15, 2010 10:32PM

this forums for wampserver, so please get for your script from coding forums instead
thanks winking smiley

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: CSS problem
Posted by: Thekidwithface (---.dhcp.embarqhsd.net)
Date: January 15, 2010 11:59PM

The reason I posted here is because I am having this problem with wampserver. When I am using wampserver and I try to set a background image in an external stylesheet it doesnt work by typing
background: url(images/image.gif)

Options: ReplyQuote
Re: CSS problem
Posted by: toumimi (---.99.116-78.rev.gaoland.net)
Date: January 19, 2010 10:58PM

You are probably using a wrong path according to how css files works on your website.
That's why you need to ask your question in a specialized forum.

Thanks.

Florian

WampServer Patch (Screenshots)
Topic EN : www.wampserver.com
Topic FR : www.wampserver.com

Options: ReplyQuote


Sorry, only registered users may post in this forum.