Quick Nav:  Online Store   |   Login | Register

CSS Merge bug

Rate this topic:

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
Page 2 of 2<< < 12
AuthorMessages
llong
<100 Posts
Posts:96


06/20/2008 5:31 PM  
to be fully clear this is the CSS before:

#tabs .yui-nav li#tabLink3.ui-tabs-selected {background:url(/Portals/duhaime/images/tab-lawmag-on.gif);}
#doc2 #hd{height:180px; background: url(/Portals/duhaime/images/header.gif) right 5px no-repeat; }
ul.arrow li{background: url(http://www.duhaime.org/Portals/duhaime/images/arrow.gif) no-repeat .2em .3em; padding-left: 1.5em;} //by rights, a poor format.

And this is the output after merge:
#tabs .yui-nav li#tabLink3.ui-tabs-selected { background:url(/Portals/duhaime/Skins/duhaime-new/Portals/duhaime/images/tab-lawmag-on.gif); }
#doc2 #hd { height:180px; background: url(/Portals/duhaime/Skins/duhaime-new/Portals/duhaime/images/header.gif) right 5px no-repeat; }
ul.arrow li { background: url(/Portals/duhaime/Skins/duhaime-new/http:/www.duhaime.org/Portals/duhaime/images/arrow.gif) no-repeat .2em .3em; padding-left: 1.5em; }
llong
<100 Posts
Posts:96


06/23/2008 2:37 PM  

John,

Would it work to test for CSS backgrounds that start with "http" or a forward slash and skip rewriting them?

John Mitchell
Posts:3492


06/23/2008 5:08 PM  

Attached is a build that excludes the urls with http[s] or start with /

 


Attachment: 162385043371.zip

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
Page 2 of 2<< < 12




ActiveForums 3.7
Powered by: Snapsis Software