redsoxgirl42 — 2012-03-26T01:17:41-04:00 — #1
I am desperate. I need to get this to my client Monday morning.
Been working on it for a week. Never had a problem.
Now, all of a sudden background image (brick007.jpg) mysteriously disappears!!
It was working yesterday.
Yes, I made some site updates but NEVER touched the background image on the css file. Now, today, it is just gone.
Still shows up in my html editor preview pane. But not on any browsers.
Tested in on other random sites of mine and it shows up there, no problem.
IN FACT, I cannot even get a plain background COLOR to show up!
font: 14px arial, Helvetica, sans-serif;
I'm just completely stumped. PLEASE help!!!
ralphm — 2012-03-26T01:40:17-04:00 — #2
You have some kind of emailmeform style sheet in there, whose default body styles are overriding your proper ones:
If you don't know how to deal with that, a quick and dirty fix is to add !important to your main style sheet:
background-image: url("http://millworksplace.com/images/brick007.jpg") <font color='"#FF0000"'>!important</font>;
color: #7E5752 <font color='"#FF0000"'>!important</font>;
font: 14px arial,Helvetica,sans-serif;
margin: 0px <font color='"#FF0000"'>!important</font>;
redsoxgirl42 — 2012-03-26T02:04:22-04:00 — #3
Well, that would not work. But you are my hero anyway, because once I knew where the problem was coming from, I played around with it. Since I have no control over the emailmeform css, I just added the css for the body in the html page and VOILA!! It worked!
ralphm — 2012-03-26T02:08:51-04:00 — #4
Hm, it should work in the style sheet itself. It certainly works when I test it. You may just have needed to refresh the browser. Make sure to put !important before the closing colon. You'll want to do this especially if the site is to have any other pages.
Also, did you want the gap at the top of the page? If not, don't forget !important for the margin setting also.
redsoxgirl42 — 2012-03-26T03:31:25-04:00 — #5
OK, thanks man. Guess I did not add it before the closing colon or something. I'll try it again just for fun. This will be the only page.
Thanks again, Ralph! Lifesaver!
ralphm — 2012-03-26T04:02:27-04:00 — #6
Glad I could help. Hope we see you again soon!
technobear — 2012-03-26T12:26:38-04:00 — #7
I believe you're referring to the semi-colon, not the colon. And it's a separator, not a terminator - or so I was told. :)[/ot]
ryanreese — 2012-03-26T16:54:50-04:00 — #8
Yes it is a seperator that distinguishes one property:value from another
ralphm — 2012-03-26T18:12:46-04:00 — #9
Indeed! I 'angs me 'ead in shame.