Hi, I have a css class
.error {
color: #D8000C;
background-color: #FFBABA;
/*background-image: url('error.png');*/
}
what is in the above code the correct syntax for the background image (images are in ufs/images)?
CSS imagepath
Moderators: Jon, Steve, Ian, Dave
-
- Ebase User
- Posts: 118
- Joined: Tue Oct 23, 2012 7:01 am
- Location: The Netherlands
-
- Moderator
- Posts: 1342
- Joined: Wed Sep 12, 2007 12:49 pm
URLs will be relative to the URL of the main form i.e. domain/ufs so it should be:
Code: Select all
background-image: url('images/error.png');
0 x
Who is online
Users browsing this forum: No registered users and 5 guests