Welcome Guest ( Log In | Register)



2 Pages V   1 2 >  
Reply to this topicStart new topic
> Optimizing Website?
the_furious1
post Mar 24 2005, 02:45 PM
Post #1


Advanced Member
*******

Group: Members
Posts: 116
Joined: 28-February 05
Member No.: 4,058



I am sure there is the way to optimize website, so that is looks exactly how you want in every browser. I don't know it, so can somebody help me with that?
Go to the top of the page
 
+Quote Post
cragllo
post Mar 24 2005, 03:27 PM
Post #2


Privileged Member
*********

Group: Members
Posts: 933
Joined: 24-August 04
Member No.: 892
myCENT:ZERO



There is, you just make it, and check it tongue.gif

http://validator.w3.org/

Is that waht you mean?
Go to the top of the page
 
+Quote Post
the_furious1
post Mar 24 2005, 04:02 PM
Post #3


Advanced Member
*******

Group: Members
Posts: 116
Joined: 28-February 05
Member No.: 4,058



No I don't mean that.
I mean when I use CSS and absolute positioning, my page shows different on Internet Explorer and FireFox (left positioning 0 in Internet Explorer is like -2 in FireFox). I wanted to now if there is a way for the page to show up the same way in both browsers.
I was thinking something like this:
For me to have to css files (one for FireFox and the other one for IE), and somehow for web site to recognize the browser and to load corresponding css file. Java script or something.
I don't know JavaScript, so I don't know if that is possible!
If that is possible can somebody show me how make it, or if somebody knows the easier way please tell me!
Go to the top of the page
 
+Quote Post
sammaye
post Mar 24 2005, 05:06 PM
Post #4


Member [Level 2]
*****

Group: Members
Posts: 87
Joined: 12-March 05
From: somewhere in the UK...if only I knew
Member No.: 4,419



you mean using same code for both. I dont believe you can...netscape engine supports some of the commands in css and such like but not all of them unfortaunately sad.gif.

It would be better to make one page for netscape users and one page for IE users. hat would be trhe easier way.
Go to the top of the page
 
+Quote Post
odomike
post Mar 24 2005, 05:09 PM
Post #5


Core2Q-QX6800
***********

Group: [HOSTED]
Posts: 1,093
Joined: 3-August 04
From: Nigeria
Member No.: 569



I dont think there any way to make that possible. If you look at my website, the pic at the top looks real nice with IE but when you look at it with FireFox or any of the Gecko browsers, there is a disallignment in the positioning and if i try to corect that, it doesnt look too well in IE and thats why I have left it that way for some time now.

I think you can optimize it for one and take your channces in the others.
Go to the top of the page
 
+Quote Post
Vacant
post Mar 24 2005, 07:01 PM
Post #6


Advanced Member
*******

Group: Members
Posts: 117
Joined: 4-August 04
From: England, UK
Member No.: 654



You've hit the problem I, along with just about every other web designer, are finding... CSS is split into 3 categories, cunningly entitled CSS1, CSS2 and CSS3. (CSS3 is the newest). How the browser interprets the page depends on which of these it supports.

Example: Internet Explorer only supports CSS1 officially. Meaning that it has trouble with some of the more advanced stuff in CSS2. Firefox and Gecko browsers now support CSS2 and parts of CSS3 (even though css3 isnt officially out yet so I guess we shouldn't count it).

Theoretically then, if you had a browser that used only basic CSS then the page would look the same? Sadly not. Text sizes, screen res and generally what the browsers settings are affect your design. opera, for example, puts an 8px white space around every page! But then Opera is the wierdest and most illogical browser I've ever seen.

Conclusion: No. Even if you validate it completely it's never going to look exactly the same, especially if you use more complx css. Annoying.

This is the main reason why I prefer firefox over anything else. It renders things properly!
Go to the top of the page
 
+Quote Post
nickmealey
post Mar 25 2005, 01:11 AM
Post #7


Premium Member
********

Group: Members
Posts: 156
Joined: 14-March 05
From: Washington, USA
Member No.: 4,520



simple, you find code that supports both browsers.
Go to the top of the page
 
+Quote Post
the_furious1
post Mar 25 2005, 06:33 AM
Post #8


Advanced Member
*******

Group: Members
Posts: 116
Joined: 28-February 05
Member No.: 4,058



I guess then it's not possible.
Since this is not possible, what browser should I optimize my page for?
Go to the top of the page
 
+Quote Post
mizako
post Mar 25 2005, 09:13 AM
Post #9


Super Member
*********

Group: Members
Posts: 372
Joined: 16-August 04
From: Spain
Member No.: 824



You should optimize your site for IE users. Most of the people in Internet use IE so i will do optimize my code for IE. I prefer Firefox too but reality is reality.
Go to the top of the page
 
+Quote Post
Carsten