Using background property with 2 images (CSS3)

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
2/13/2014 12:17:36 PM
Gravatar
Total Posts 17

Using background property with 2 images (CSS3)

Hello Joe,

How are you? it's been a long time since I posted on this forum.

First, I would like to thank you again for the updates you have been posting for mojoportal. It has really changes for the last 2 years, and I hope it gets even better. Keep up the good work!

--------------------------------------------

Bug Details:

Today, I was trying to use css3 by using background property with 2 urls, but it seems since you made a script to add the root for the image. I even tried to give the second image the full path url without the local host of course. Yet it fails to load.

 

From inspect element I found out that my picture is not found because it is being rendered like this:

http://localhost:62032/Data/Sites/1/skins/art42-lightblueplaid/images/footerfacebookicon.png),url(/Data/Sites/1/skins/art42-lightblueplaid/images/bg.png

 

 

 

 

2/13/2014 12:26:44 PM
Gravatar
Total Posts 18439

Re: Using background property with 2 images (CSS3)

when defining background images in css

  • use relative urls since the root will be added by css handler
  • always use single quotes around the urls
  • if using multiple urls put them each on a new line in the css file so the css handler can process them separately 

when reporting problems or asking questions always provide information requested in the description of the forum, ie operating system, database platform, mojoPortal version, .net version

2/13/2014 12:32:55 PM
Gravatar
Total Posts 17

Re: Using background property with 2 images (CSS3)

You are my man!

Thanks a lot. I really appreciate it.

okay, next time I will provide information in the description, Roger that!

 

You must sign in to post in the forums. This thread is closed to new posts.