Learn html,php,javascript,computer and software fixes, css fixes, website designing,phpbb, computer troubleshooting, hosting




Archive for the ‘HTML AND CSS FIXES’ Category

FIXING CURRENCY ISSUES IN OSCOMMERCE

Sunday, January 11th, 2009

We recently moved our store designer-polo-shirts.co.uk to a new and more advanced store OSCOMMERCE. Actually we were using the simple free version from SHOP-SCRIPT but because of the fact that it offers little features when compared with their costly professional version , we decided to search for an open source script that will do all the job a full professional script would do .

Oscommerce is actually a good ecommerce script to try out and it also has a bubbling support forum and developments in place . Well to cut the long story short, we installed the script, and it works perfectly well but we discovered that when we changed the currency to GBP in the currency section under localisation folder and even though we checked the box to make it a default currency, we could not get the price to show with the listed items on the front page, this problem was solved in a very simple way after running around the Oscommerce forum, i was able to solve it by doing the following:

  • Go to your includes folder in your server
  • Open the language folder and then open english.php file
  • Find this line “// if USE_DEFAULT_LANGUAGE_CURRENCY is true, use the following currency, instead of the applications default currency (used when changing language)
    define(‘LANGUAGE_CURRENCY’, ‘USD’);”
  • Replace the currency with the currency code you have used as your default currency when you configured the currency section in the store admin.
  • Save your file .

That’s it !

HOW TO REMOVE LINK BORDERS IN IMAGES IN IE

Sunday, November 16th, 2008

Now this might not have happened to a lot of people but i’m very sure that it must have happened to most people developing sites using CSS and HTML. Okay let us identify the problem first, when you have used images as links to certia urls or any url you would find out that it will appear very well just like you want it in FF but in IE the images would be surronded by borders which makes it look ugly or odd in the page.

To remove these just go back to your CSS file or your CSS syntax and add this;

img

{

border:0;

}

and thats it, your borders IE browser will dissappear.

For further clarifications you can comment .

NOTE: You can also get around these by using the class attribute in CSS, you can create different psuedo classes and assign them to different links.