Jump to content

Background Image in Table Cell: Syntax Check Please


jwcane

Recommended Posts

Trying to use css class to define background image for single-cell table.

 

The class declaration, HeaderImg1bprod, begins at line 116 of this css.

I tried to follow the example given on this page in About.com's WebDesign/Html .

URL to desired image seems to be OK.

That image is supposed to come up at the top of this default home page.

Would you please give this a look and let me know what I am missing.

Thanks.

 

 

Link to comment
Share on other sites

.HeaderImg1bProd { /*CHANGE URL TO BEGIN WITH orchids WHEN GOING PUBLIC*/background-image:url("http://test.enwphotos.com/photodesign/images/pgHeader-1b.jpg");background-repeat:no-repeat;}
Link to comment
Share on other sites

I read that comments were allowed when surrounded by /*....*/.

 

Removed the comment but the b-g image is still not rendered.

 

Thanks.

Link to comment
Share on other sites

Yes that is what my css contains. I just tried background-image:url(http://etc.), without double quotes, and with single quotes, and none of those gave any success.

 

Working example?

Link to comment
Share on other sites

Oh gosh TNHANKS!. Have been staring at this too long...works now, no surprise nwo that it is.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...