X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   css optimization (https://forum.x-cart.com/showthread.php?t=44498)

jholley 12-29-2008 08:22 PM

css optimization
 
I am trying to optimize some of the css in our 4.2 installation.
Unfortunately I am somehow confusing myself on the best way to do this.

Here is an example of what I am trying to change.

.printable #header .tabs {
display: none;
}
.printable #header .line2 {
display: none;
}
.printable #header .printable {
display: none;
}

Will this work the same way if I change it to this:


.printable #header .tabs, .line2, .printable {
display: none;
}

I obviously don't want to cause a bunch of problems.

Thanks in advance for any help.

Vetrivel 12-30-2008 02:01 AM

Re: css optimization
 
As far as i know you code might not function properly, form the knowledge i gained8O
you can change only as follows
.printable #header .tabs,
.printable #header .line2,
.printable #header .printable {
display: none;
}

I havent tried this yet but i tihnk this will work out ,give it a try and give me your comments


All times are GMT -8. The time now is 10:28 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.