select {
font-family: Verdana, Arial, sans-serif;
font-size: 0.8em;
}
Friday, October 7, 2011
Magento - Change Price Color
in styles.css
about line 806
/* Old price */
.old-price { margin:0; }
.old-price .price-label { font-size:12px; font-weight:bold; white-space:nowrap; }
/*.old-price .price { font-weight:bold; font-size:13px; color:#396f00; text-decoration:line-through; }*/
.old-price .price {
font-weight:bold;
font-size:13px;
color:#333;
text-decoration:line-through;
}
/* Special price */
.special-price { margin:0; }
.special-price .price-label { font-size:11px; font-weight:bold; text-transform:uppercase; white-space:nowrap; color:#000; }
.special-price .price {
font-size:13px;
font-weight:bold;
color: #C00;
}
about line 806
/* Old price */
.old-price { margin:0; }
.old-price .price-label { font-size:12px; font-weight:bold; white-space:nowrap; }
/*.old-price .price { font-weight:bold; font-size:13px; color:#396f00; text-decoration:line-through; }*/
.old-price .price {
font-weight:bold;
font-size:13px;
color:#333;
text-decoration:line-through;
}
/* Special price */
.special-price { margin:0; }
.special-price .price-label { font-size:11px; font-weight:bold; text-transform:uppercase; white-space:nowrap; color:#000; }
.special-price .price {
font-size:13px;
font-weight:bold;
color: #C00;
}
Thursday, October 6, 2011
Install PHP 5.3.8 / IIS6 on Windows Server 2003
PHP Require FastCGI
http://www.iis.net/download/FastCGI
1. Install FastCGI
2. Download PHP Installer for Windows
Setup PHP 5.3.8 on Windows 2003 II6 Tutorial - http://learn.iis.net/page.aspx/247/using-fastcgi-to-host-php-applications-on-iis-60/
Install MySQL 5.5.15 on Windows Server 2003
1.Install .Net Framework 4.0 - Required to install Mysql
http://www.microsoft.com/download/en/details.aspx?id=17851
2. Install MySQL Installer from
http://dev.mysql.com/downloads/installer/
3. If you get the Port 3306 already in use.
Stop the MySQL55 Services and then continue with the configuration of install
4. Create a Local Admin Other than the root
mysql>CREATE USER 'admin'@'localhost' IDENTIFIED BY 'some_pass';
mysql>GRANT ALL PRIVILEGES ON *.* TO 'monty'@'localhost'
->WITH GRANT OPTION;
5. Then Create a User that can be used from any computer with a wildcard
mysql>CREATE USER 'monty'@'%' IDENTIFIED BY 'some_pass';
mysql>GRANT ALL PRIVILEGES ON *.* TO 'monty'@'%'
->WITH GRANT OPTION;
6. To Show All Users
mysql> select User from mysql.user;
7. To Delete Users
mysql> DROP USER 'jeffrey'@'localhost';
8. To Clear index auto increment count to start from 0 again:
Run a query:
ALTER TABLE tablename AUTO_INCREMENT = 1
Install FTP/IIS6 on Windows Server 2003
1. install FTP Service (Add or Remove Programs -> Application Server -> Internet Information Services (IIS) -> File Transfer Protocol (FTP) Service)
- Install and Finish.
2. Delete "Default FTP Site"
3. Name your FTP Site
4. For Simple Server that need to get access to
Intelpub/wwwroot
5. Choose Default Path for FTP Site.
6. Check Write
7. Add Virtual Directory to wwwroot
7. Choose the Path to wwwroot
8. DONE!
Thursday, September 1, 2011
Knowledge 001 - Why is 35mm film called 35mm film? aka full-frame DSLR
Answer: Because the old school Kodak film has a width of 35mm. So with 24x36mm frame size and perforation, the punched holes up on the top and bottom of the film, it has the width of 35mm. That is why it has been called a 35mm film ever since. And since that has been the standard film dimension for ages, photographers refer that as the "full" frame film. Numerous professional photographer actually refrain from using that term because it doesn't give you any idea of the measurements.
Knowledge is Power
We all know knowledge is power but how do we gain more knowledge? The answer is by read more, listen more, and see more. So learn to receive rather than always giving out BS is a virtue.
Subscribe to:
Posts (Atom)