Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

fix for display differences between browsers


Guest

Recommended Posts

Posted

i was having to do abunch of dumb code hacks to get my page to display the same in all browsers, ie, firefox, and opera

and i could hack firefox and ie and make it work. but opera was giving me problems.

its a simple fix. in the index.php page and any other pages with head tags your gonna want to change

<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">

 

to

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

 

that cleared up all design probs for me.. let me know if it helps you too.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...