Background image question

G

Guest

I am using ASP 2.0 with Visual Studio 2005 Standard. For some reason, I
cannot get a picture to display as a background.

I have the following:
<td style="width: 200px; font-family: Verdana; background:
url(Images/book-side.jpg) fixed repeat-y left top;background-color: #cc9966;"
valign="top">

Is there something wrong here, or am I missing something.

Thanks for the information.
 
E

Eliyahu Goldin

According to the MSDN library the correct order of parameters should be

background: #cc9966 url(Images/book-side.jpg) repeat-y top left ;

You can always try using separate properties like background-image:
url(Images/book-side.jpg);

Eliyahu
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,763
Messages
2,569,563
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top