How do you make a site check which browser its using then select the right style sheet?

You should use conditional comments in your head HTML to load a stylsheet if IE7 is detected. You could do it with PHP, but using conditional comments is far easier and is a much better way to do this.

You should use conditional comments in your HTML to load a stylsheet if IE7 is detected. You could do it with PHP, but using conditional comments is far easier and is a much better way to do this. Put all your hacks/changes in a separate CSS file and load it with Make sure you put this after your normal stylesheet so that, in the event of IE7 being used, the hacks/other styles overwrite the ones in your main CSS file.

More info on this: quirksmode.org/css/condcom.html – donutdan4114 Oct 29 '11 at 23:40 @donutdan4114 I think you'll find that I have already linked to that page, but thanks anyway :-) – JamWaffles Oct 30 '11 at 0:02 LOL, great minds think alike... That's funny, can't really see the link color on my monitor, its just the slightest shade of blue. – donutdan4114 Oct 30 '11 at 0:13 It could be made a little more obvious I suppose. My monitor makes seeing the light grey background behind inline code barely visible!

– JamWaffles Oct 30 '11 at 0:40 Thanks for that, that seems to have done the trick! Only thing is, some things it is still reading off the other style sheet I think, I'm getting an orange box that I shouldn't be and when I take out the piece of CSS in the style sheet it would be reading for this, it still stays. I did put the code after the original style sheet.

– Nicola McMullan 14 Oct1 at 10:59.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions