Log In · Register

 
Firefox Compatibility
jordanriane
post Jul 6 2005, 03:40 AM
Post #1


when we speak, we breathe
******

Group: Member
Posts: 1,635
Joined: Jan 2005
Member No: 91,760



Do you normally use Firefox as your browser, but want to make sure that your overrides work for IE as well?

Well, it is possible to make it work between Firefox and IE.

Most of the overrides you'll need to change will be related to pixels, tables, percentages, etc.

To create this compatibility, you will need to work out of ie (and firefox).
Create your overrides so that they work in ie, but not firefox.

Now that you have your overrides compatible with ie, we'll work with making them compatible with firefox.

Find the snippets of coding that are not working properly with firefox.
Copy the coding, and paste it directly under it, so you have stated twice. However, with the second one, you will be adding !important before the semi-colon (;).

Like so:
CODE
table { width: 254px;
         width: 256px!important;
}



IE does not recognize the !important so it will use the first specifications. Firefox (and most other browsers) will recognize the small code and use that specification since it's listed as "!important."


However, take into consideration that sometimes coding changes with resolutions, which will have an impact on your journal. It may not be perfect for everyone, but at least you now have cross-browser compatibility with your overrides.
 
 
Start new topic
Replies
Eryi
post Nov 12 2005, 03:43 PM
Post #2


Senior Member
*******

Group: Official Designer
Posts: 4,591
Joined: Dec 2004
Member No: 77,305



QUOTE(jordanriane @ Jul 6 2005, 3:40 AM)
Find the snippets of coding that are not working properly with firefox.
Copy the coding, and paste it directly under it, so you have stated twice. However, with the second one, you will be adding !important after the semi-colon (;).

Like so:
CODE
table { width: 254px;
         width: 256px!important;
}

*

I don't understand that part, I'm trying to use this.
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: