CombineCSS = true : breaks my design

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/12/2010 5:46:05 AM
Gravatar
Total Posts 22

CombineCSS = true : breaks my design

Hello,

Im not sure if this is a bug or I'm doing something wrong.

When I change CombineCSS = "true" on my user.config  most of my css is lost.

In the head section of the page I get this link:

<link rel='stylesheet' type='text/css' href='http://223.255.255.8:83/csshandler.ashx?skin=matiasm-bluegray&amp;s=1' />
 

And some selectors seems to work (for example wrapcenter) but most of them are not working.

 

Regards,

Matías Molleja

 

2/13/2010 6:52:20 AM
Gravatar
Total Posts 18439

Re: CombineCSS = true : breaks my design

Hi Mathias,

 

 

Because of the way our CSS Handler combines and minifies the CSS it also has to resolve relative image urls in background images to fully qualified urls. It is very important when defining background images in your CSS to always use single quotes around the image name like this:

url('someimage.png');

not like this: url(someimage.png);

and not like this: url("someimage.png");

If any image urls are incorrectly defined it can break the skin in unexpected ways.

I also recommend keep it simple by keeping the images in the same folder with the css files that use them.

Hope it helps,

Joe

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