Monday, May 31, 2010

Magento error after sample data import

Did you import the sample data sql file to the mysql databse before install Magento?

I imported the sample data sql after installation and spent hours looking for the error.
The Magento site says we should import it before installation but its not visible enough :D

Saturday, May 8, 2010

jquery css problem getting border width - fixed

I had problem getting the border width by calling the css() normaly like this,
$('#id').css("border-width");

I don't know why this don't work but the following works :)

$('#id').css("borderLeftWidth");