Copy link to clipboard
Copied
Hey there,
I have a problem with showing a image in css. As you can see in my css stylesheet I want to put a image on de background. Notice that al de rule-numbers of the images are red. So they won't show on my webpage. But if I hover over the css code he knows which image to use.
How can I solve this problem?


File names should not contain an apostrophe as in Foto's.
Suggest that you remove the apostrophe and all should be well.
Copy link to clipboard
Copied
Hi,
Thanks for reporting. What is the error shown while hovering over the lines in red mark, or open output panel from window menu->Results to see the errors.
Thanks
Copy link to clipboard
Copied

I get this error
Copy link to clipboard
Copied
The "Expected RBRACE..." error usually occurs when a media query is used, but missing one or more of its curly braces. See below...
@media screen and (width:500px) { <--this one
.selector {
property:value;
}
#selector {
property:value;
}
} <-- or this one
If you have all of your curly braces, for both the media queries, and the individual selectors, please post a link to your work in progress, or post the entire .css file here in the forum so we can show you where your error is coming from.
Copy link to clipboard
Copied
Actually, the error message does not necessarily require a media query to show as you can see in the following

Copy link to clipboard
Copied
BenPleysier wrote
Actually, the error message does not necessarily require a media query to show as you can see in the following
I dont know why everyone seems to be ignoring your advice, sounds reasonable to me, I would not be using ' in a folders name, at least try removing it and see if the error goes away.
Copy link to clipboard
Copied
File names should not contain an apostrophe as in Foto's.
Suggest that you remove the apostrophe and all should be well.
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more