firefox and IE

It doesn't matter if you do all the error checking in the world, or if you have the most beautiful graphics, if your site or application design isn't usable, it's not going to do well. Get input and advice on usability and user interface issues here.

Moderator: General Moderators

Post Reply
hrubos
Forum Contributor
Posts: 172
Joined: Sat Oct 07, 2006 3:44 pm

firefox and IE

Post by hrubos »

How to solve if with the same code, but in mozila(fire fox) interface has mistake, but internet explorer doesn't have???
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Write better code.

edit: okay, that was a bit harsh, sorry.

But seriously, what can you expect anyone to say without providing more information? Isn't that what we usually ask in your threads anyways?
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Post by Kieran Huggins »

8O BEST. POST. EVER. :rofl:
hrubos
Forum Contributor
Posts: 172
Joined: Sat Oct 07, 2006 3:44 pm

Post by hrubos »

feyd wrote:Write better code.

edit: okay, that was a bit harsh, sorry.

But seriously, what can you expect anyone to say without providing more information? Isn't that what we usually ask in your threads anyways?
I'm sorry if I have done some thing wrong!!!

if code doesn't run in firefox, only because of bad code???
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Writing a page geared toward IE will often net you a page that doesn't work, or looks very weird in other, more standards-compliant browsers.

We can't help you much at all unless you post more information.
matthijs
DevNet Master
Posts: 3360
Joined: Thu Oct 06, 2005 3:57 pm

Post by matthijs »

As a rule, develop your webpages in a modern browser (Firefox, opera, safari) first using web standards. Then, check in the older and buggy browsers like internet explorer. If needed, apply a patch, workaround or hack to compensate for any layout problem you find.
hrubos
Forum Contributor
Posts: 172
Joined: Sat Oct 07, 2006 3:44 pm

Post by hrubos »

while I repaired, I realized that maybe problem in this :
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

what do you think ?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

That would put Firefox in compliance-mode.
nickvd
DevNet Resident
Posts: 1027
Joined: Thu Mar 10, 2005 5:27 pm
Location: Southern Ontario
Contact:

Post by nickvd »

Post a link to an example...

How the heck can anyone expect us to solve a problem we can't even see...
hrubos
Forum Contributor
Posts: 172
Joined: Sat Oct 07, 2006 3:44 pm

Post by hrubos »

for the code html, do you know what is tool for debugging?
I think maybe I have error in code html
Now I need it.

My code, now I still not upload to server because I don't chose a server for my web.
User avatar
jayshields
DevNet Resident
Posts: 1912
Joined: Mon Aug 22, 2005 12:11 pm
Location: Leeds/Manchester, England

Post by jayshields »

Just psot your HTML in some syntax tags so we can see it. Then we will be able to point you in the right direction. You should've done this in your first post.
hrubos
Forum Contributor
Posts: 172
Joined: Sat Oct 07, 2006 3:44 pm

Post by hrubos »

Thank you very much your advice.

and I realized that : if I use src to get style css, so in firefox myweb doesn't run, in IE oki.

tak tag :

Code: Select all

<html>
                <head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
                <title>My web</title><link href="../template/css/ha.css" rel="stylesheet" type="text/css" media="all" />
                <link rel="shortcut icon" href="../template/img/favicon.ico" type="image/x-icon" />
               </head>
now I call css

Code: Select all

<td width="583" height="52" ><div align="center" class="style2">Informa&#269;ní sytem koleje VŠB-TUO </div></td>
nickvd
DevNet Resident
Posts: 1027
Joined: Thu Mar 10, 2005 5:27 pm
Location: Southern Ontario
Contact:

Post by nickvd »

:roll:

...


Please post the ENTIRE PAGE.

Bring the hood of your car to a mechanic and ask if he can fix the problem with the engine...
Post Reply