Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Special Interests > Visual Media > Web Design and Development

Reply
 
Thread Tools Search this Thread Display Modes
Old Aug 14, 2007, 04:32 AM   #1
tomoisyourgod
macrumors regular
 
Join Date: May 2007
Location: Liverpool, UK
IE vs every browser

More in relation to Windows here, I'm doing a simple HTML page for a mailout, and IE 7.0 smooths the text (as opposed to the other browsers on windows, where the text remains 'jagged' like), therefore misaligning it and going all over the place.

Was wondering if there's a way in which IE can read a different CSS document, so that the text doesn't go all over the *place?

(*not all over the place, just slightly out of line)
__________________
17" iMac Dual Core 2
Macbook Pro 2.4GHz SR
tomoisyourgod is offline   0 Reply With Quote
Old Aug 14, 2007, 08:02 AM   #2
Sdashiki
macrumors 68040
 
Sdashiki's Avatar
 
Join Date: Aug 2005
Location: Behind the lens
Quote:
Originally Posted by tomoisyourgod View Post
More in relation to Windows here, I'm doing a simple HTML page for a mailout, and IE 7.0 smooths the text (as opposed to the other browsers on windows, where the text remains 'jagged' like), therefore misaligning it and going all over the place.

Was wondering if there's a way in which IE can read a different CSS document, so that the text doesn't go all over the *place?

(*not all over the place, just slightly out of line)
you can always use the * hacks.

anywhere in a style you want only IE to read put an * in front of it.

Example:

html{width:100%}
*html{width:100px} only ie would read this and ignore the one above it

.style{font-family: Arial; *font-weight: bold} only in IE will the font be bold
__________________
The real problem is not whether machines think but whether men do.
- B. F. Skinner

Like Polaroid?
Sdashiki is offline   0 Reply With Quote
Old Aug 14, 2007, 08:31 AM   #3
tomoisyourgod
Thread Starter
macrumors regular
 
Join Date: May 2007
Location: Liverpool, UK
SOLVED!

thanks for that tip it's worked a treat!
__________________
17" iMac Dual Core 2
Macbook Pro 2.4GHz SR
tomoisyourgod is offline   0 Reply With Quote
Old Aug 14, 2007, 09:01 AM   #4
jng
macrumors 65816
 
jng's Avatar
 
Join Date: Apr 2007
Location: Germany
hacks are bad, use conditional comments instead.
__________________
Cheers 2.33 C2D 15.4" MacBook Pro 2GB RAM
jng is offline   0 Reply With Quote
Old Aug 14, 2007, 09:09 AM   #5
Sdashiki
macrumors 68040
 
Sdashiki's Avatar
 
Join Date: Aug 2005
Location: Behind the lens
Quote:
Originally Posted by jng View Post
hacks are bad, use conditional comments instead.
No, IE is bad for having to use hacks.
__________________
The real problem is not whether machines think but whether men do.
- B. F. Skinner

Like Polaroid?
Sdashiki is offline   0 Reply With Quote
Old Aug 14, 2007, 11:54 AM   #6
rajfantastic
macrumors member
 
Join Date: Jun 2007
Send a message via AIM to rajfantastic
i always attach a separate style sheet for IE like this:

Code:
<!--[if lte IE 6]>
<link href="css/layout-ie6.css" rel="stylesheet" type="text/css" />
<![endif]-->

<!--[if IE 7]>
<link href="css/layout-ie7.css" rel="stylesheet" type="text/css" />
<![endif]-->
rajfantastic is offline   0 Reply With Quote
Old Aug 14, 2007, 11:55 AM   #7
jng
macrumors 65816
 
jng's Avatar
 
Join Date: Apr 2007
Location: Germany
Quote:
Originally Posted by Sdashiki View Post
No, IE is bad for having to use hacks.
If you use the proper DOCTYPE, IE should render the box model correctly. I've never had to use an IE hack. Semantically it's bad.

The best designers avoid such problems (and there are strategies to do so) and then use conditionals, which I've used to overcome things like the lack of transparent PNG support in IE6.

In my opinion, hacks and mediocrity go hand in hand.
__________________
Cheers 2.33 C2D 15.4" MacBook Pro 2GB RAM
jng is offline   0 Reply With Quote

Reply
MacRumors Forums > Special Interests > Visual Media > Web Design and Development

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
Flash crashing every browser on my mac? R.Youden OS X 1 Jun 29, 2010 09:35 PM
Problems with encoding in every browser except IE Grolubao Mac Basics and Help 3 Aug 3, 2009 09:04 AM
iWeb - getting my site to look the way I created it on every browser Bockady Mac Applications and Mac App Store 4 May 3, 2009 10:02 PM
DS Browser vs PSP Browser zap2 Console Games 13 Jun 20, 2007 08:53 AM
Firefox vs. IE vs. Opera vs. Safari iFish Mac Applications and Mac App Store 44 Dec 12, 2006 10:27 AM


All times are GMT -5. The time now is 08:42 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Privacy / DMCA contact / Affiliate and FTC Disclosure
Copyright 2002-2013, MacRumors.com, LLC