View Full Version : Web Browsers are annoying to web designers


liam1412
30-07-2007, 10:13
Can anyone please explain how your supposed to get your website to look okay in every browser. Why can't they all just render the same it would make life so much easier. I have looked up style sheet switchers bit can't really make sense of them.

Thanks

TheBlueDragon
30-07-2007, 10:21
I mainly consentrate on EI and Firefox.

liam1412
30-07-2007, 10:26
it looks fine in firexox. Okay in ie7 but sh*te in ie6. Opera is bad as well but not too fussed ubout that. any clues

TheBlueDragon
30-07-2007, 10:34
How about just putting a little note saying "Best viewed in Firefox and IE7"

Ghozer
30-07-2007, 10:37
use the IE hack, and fix it for IE6, while keeping the rest looking ok..

but i'd worry if it looks bad in opera imho...

liam1412
30-07-2007, 10:43
ie6 hack?? Where and How. Im only basing the opera thing on my webstast from my first site. I think I have had 2 people visit using opera in the last few month

dosxuk
30-07-2007, 11:36
Search for conditional comments (one of the few genuinely useful features in IE), and serve up an additional stylesheet for IE6 which fixes the problems.

The easiest way to get all browsers to look ok, is to write standards compliant code from the outset, then tweak your CSS for ages.

Captain_Scarlet
30-07-2007, 12:11
Can anyone please explain how your supposed to get your website to look okay in every browser. Why can't they all just render the same it would make life so much easier. I have looked up style sheet switchers bit can't really make sense of them.

ThanksMaybe looking into the style sheet you're using and the scrupting you've added and see what can be removed or streamlined so you know nothing can go wrong.

W3C is your friend as far compliance goes, their website has a page corrector that tells what code you've used is wrong or badly formatter.

kipper
30-07-2007, 13:30
I know what you mean, I've checked the stats for the sites I've built and most people use IE 6 & 7 to browse them with Firefox at about 10%.

Ive checked the sites using a smartphone browser and css layouts look worse than tables!

Keep it simple for the basic design then keep tweeking.

Ghozer
30-07-2007, 14:22
ie6 hack?? Where and How. Im only basing the opera thing on my webstast from my first site. I think I have had 2 people visit using opera in the last few month

you create your style sheet, and style sheet link in your html

<link rel="stylesheet" type="text/css" href="style.css" />


then you create a new style sheet, with ONLY the things that are broken - fixed...

and you put this after your style sheet link


<!--[if IE 6]>
<link rel="stylesheet" type="text/css" href="style-ie.css" />
<![endif]-->


:) -- and obviously put the fixed items for IE in style-ie.css - any you leave out will just be used from the other style sheet