Home Page
   Articles
       links
About Us    
Traders        
Recipes            
Latest Articles
Firefox vs Explorer

 
Post new topic   Reply to topic    Downsizer Forum Index -> IT Matters
Author 
 Message
RoryD



Joined: 02 Jun 2005
Posts: 692
Location: West Yorkshire
PostPosted: Wed Jan 02, 08 10:19 am    Post subject: Firefox vs Explorer  Reply with quote    

I work with my site www.saltpepper.co.uk in firefox. Its a very basic OSCommerce site. I did a load of work on it before Christmas adding clickable navigation boxes to each side of the site.

When I view it in firefox, the boxes come up a nice Green that switches to orange as I highlight them. This is in line with the site scheme.

To my horror however when viewed via IE they are a nasty blue or purple, out of character with the site.

My webhost says "its every developers nightmare getting colours to match up in IE and firefox." In practice however what have I done wrong and whats the best way of righting it?

joanne



Joined: 28 Oct 2004
Posts: 7095
Location: Morecambe, Lancashire
PostPosted: Wed Jan 02, 08 10:30 am    Post subject: Reply with quote    

Its the old classic - IE automatically puts a border around images unless you specifically tell it not to - Its a real pain but easy to solve just add border="0" to the style class or the href around the images

RoryD



Joined: 02 Jun 2005
Posts: 692
Location: West Yorkshire
PostPosted: Wed Jan 02, 08 10:38 am    Post subject: Reply with quote    

great thanks Jo

vegplot



Joined: 19 Apr 2007
Posts: 21298
Location: Ynys Môn
PostPosted: Sat Jan 05, 08 5:15 pm    Post subject: Reply with quote    

Are you declaring the HTML DTD in your code? For example

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

The "align", "border", "hspace", and "vspace" attributes of the image element were deprecated in HTML 4.01 that may prevent IE6 from adding a border around an image.

Post new topic   Reply to topic    Downsizer Forum Index -> IT Matters All times are GMT
Page 1 of 1
View Latest Posts View Latest Posts

 

Archive
Powered by php-BB © 2001, 2005 php-BB Group
Style by marsjupiter.com, released under GNU (GNU/GPL) license.
Copyright © 2004 marsjupiter.com