Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

set background with css in an apache server 1

Status
Not open for further replies.

patbedard

Programmer
Jan 8, 2003
2
CA
here is the code i use

body { background-color: #FFFFFF; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #000000; background-image: url(images/test.png); background-attachment: fixed; background-repeat: no-repeat; background-position: center center}

why it don't want to work on my apache server?
 
put the URL in quotes
background-image: url("/images/test.png"); ---------------------------------------
{ str = "sleep is good for you. sleep gives you the energy you need to function";
ptr = /sleep/gi;Nstr = str.replace(ptr,"coffee");alert(Nstr); }
---------------------------------------
for the best results to your questions: FAQ333-2924

 
patbedard

In addition to onpnt's answer, I thought I better point something out to you.

HTML & CSS are rendered by the browser, not by the server. Your server set-up has nothing at all to do with any errors that may appear in HTML or CSS.

Hope this helps Wullie


The pessimist complains about the wind. The optimist expects it to change.
The leader adjusts the sails. - John Maxwell
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top