My style for the body element with the background set to an image and color set, it works in all the other browsers, but safari wont show the background image, nor will it even show my background color.
Dont know what to do.
Id put my CSS here, but cant figure out how to copy and paste in this form yet
Thanks to anyone who can help
CC
Cant get background image to display in...You can always post a link or just paste your CSS as plain text here.
Cant get background image to display in...Posting code in this forum
The preferable way is however, to upload the working files to a server and provide link, that way people can see the code and the css in context.
the IP address to these pages is here
http://98.130.165.4
and the stylesheet is called indiansoul.css
Ty all
You have a few css errors in the stylesheet:
4 | The @charset rule may only occur at the start of the style sheet. Please check that there are no spaces before it. @charset ''utf-8''; | |
45 | .twoColElsLtHdr #header h1 | Value Error : color e6b547 is not a color value : e6b547 |
197 | .twoColElsLtHdr #container #sidebar1 h3 | Value Error : color e6b547 is not a color value : e6b547 |
211 | .selected | Value Error : background-image url(images/space,png) is not a background-image value : url(images/space,png) |
4.?Remove that line - it's not needed at all.
45 and 197 you need to make sure there is a hashtag?# before the color attribute.?that is:?#e6b547
211.?looks like the file name has a comma instead of a dot?images/space,png?(instead of space.png)
Also around 15 html validation errors - due to errors in the head of the document:
http://validator.w3.org/check?verbose=1%26amp;uri=http%3A%2F%2F98.130.165.4%2F
After fixing the errors, there are now only 4 errors that are easily fixed as well:?You have duplicate tages in the head of the document.?It appears that the page may possibly have been edited in another program (like MS Word? )?Anyway, you need to remove them... see the code in red that I have commented out - they need to be deleted.
%26lt;!DOCTYPE html PUBLIC ''-//W3C//DTD XHTML 1.0 Transitional//EN'' ''http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd''%26gt;
%26lt;html xmlns=''http://www.w3.org/1999/xhtml''%26gt;
%26lt;head%26gt;
%26lt;meta http-equiv=''Content-Type'' content=''text/html; charset=utf-8'' /%26gt;
%26lt;!--%26lt;head%26gt; --%26gt;
%26lt;meta content=''keywords'' /%26gt;
%26lt;!--%26lt;meta http-equiv=''Content-Type'' content=''text/html; charset=iso-8859-1'' /%26gt; --%26gt;
%26lt;meta content=''MSHTML 6.00.2900.2912'' name=''GENERATOR'' /%26gt;
After fixing those errors see if you still have a problem.
OH MAN You rock!!!?Thanks SOO much
I ran my page for errors, I caught the colors, but the @charset line..wow, why does Dreamweaver put that in everyone of my style sheets?
Everyone ive done with Dreamweaver, its in there..weird!
Thank you soo much!!
CC
coralcooley wrote:
OH MAN You rock!!!?Thanks SOO much
No comments:
Post a Comment