jwcane Posted February 8, 2014 Share Posted February 8, 2014 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 More sharing options...
davej Posted February 8, 2014 Share Posted February 8, 2014 .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 More sharing options...
jwcane Posted February 8, 2014 Author Share Posted February 8, 2014 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 More sharing options...
davej Posted February 9, 2014 Share Posted February 9, 2014 (edited) background-image:url( Edited February 9, 2014 by davej Link to comment Share on other sites More sharing options...
jwcane Posted February 9, 2014 Author Share Posted February 9, 2014 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 More sharing options...
davej Posted February 9, 2014 Share Posted February 9, 2014 (edited) No, you have... background-url:( http://test.enwphotos.com/photoDesign/css/photo.css Edited February 9, 2014 by davej Link to comment Share on other sites More sharing options...
jwcane Posted February 9, 2014 Author Share Posted February 9, 2014 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 More sharing options...
jwcane Posted February 9, 2014 Author Share Posted February 9, 2014 ...now that it is RIGHT! I meant to write. Link to comment Share on other sites More sharing options...
davej Posted February 9, 2014 Share Posted February 9, 2014 I wonder if the W3 validator would find a typo like that? Link to comment Share on other sites More sharing options...
thescientist Posted February 10, 2014 Share Posted February 10, 2014 CSS validator would http://jigsaw.w3.org/css-validator/ Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now