Current location: Hot Scripts Forums » General Web Coding » CSS » IE and Firefox not working together


IE and Firefox not working together

Reply
  #1 (permalink)  
Old 11-09-04, 09:49 AM
stuboo stuboo is offline
New Member
 
Join Date: Nov 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Question IE and Firefox not working together

I wish I could force everyone to switch to Firefox. I'm working on my first completely CSS driven layout (no tables here, baby) and am very happy with the way things are turning out.

To my frustration, but not to my surprise, in trying to get everything to work in IE, I messed up the way it looks in Firefox. I would really appreciate some help in finding out what I am doing wrong. I'm in serious need of some fresh eyes. I've been looking at this for days.

Everything you need is here.

Thanks in advance,

stuboo
Reply With Quote
  #2 (permalink)  
Old 11-10-04, 10:30 AM
zcorpan zcorpan is offline
Newbie Coder
 
Join Date: Jun 2004
Posts: 53
Thanks: 0
Thanked 0 Times in 0 Posts
Your code should follow the web standards, set by W3C. If it does, it should display correctly in Firefox. You should also test your website in other browsers, such as Opera and Safari.

If your website does not display correctly in IE, tell your IE visitors why and that they have a choice.
Code:
<!--[if IE]>
Your message to IE users goes here. 
You may promote firefox if you like, 
or link to www.browsehappy.com 
as they are browser natural. 
<![endif]-->
A living example of this technique can be seen at rakaz.nl.
Reply With Quote
  #3 (permalink)  
Old 11-29-04, 02:49 AM
DoHKuXoT's Avatar
DoHKuXoT DoHKuXoT is offline
New Member
 
Join Date: Nov 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Thi is a a well-known fact.Every one know that Firefox and IE have same difference.Especially in DIV tags Firefox and IE have different absolutely value.

But with one CSS u make combine.

Not undestant u request very well.So u tall that see same different in look on IE and Firefox. I have see u style.css and see many excess in him.
If u want to make one stylesheet just put html* before class or ID for IE.
And give different value for this ID or class.

For exaple

html*div.exaple{
margin: 10px 10px 0px 0px;
padding: 0px 0px 0px 0px;
}
div.exaple{
margin: 5px 10px 0px 0px;
padding: 0px 0px 0px 0px;
}

First is for IE second is for every one browser.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


All times are GMT -5. The time now is 01:33 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.