/    Sign up×
Community /Pin to ProfileBookmark

conditional comments for MacIntosh OS?

I use conditional comments for IE when I code using XHTML/CSS <!–[if gte IE 5]><link href=”indexIE.css” rel=”stylesheet” type=”text/css” />
<![endif]–> (like so). That works great. However, the positioning is off on certain pages on my websites when viewed on a Mac. FF, IE, Opera etc. on a Mac throw my positioning off. All Operating systems work fine on a PC. My question: Is there conditional comments that will recognize when the user is viewing my webpage on a Mac as opposed to a PC?? Any suggestions/ideas would be appreciated.

Kris.

to post a comment
HTML

2 Comments(s)

Copy linkTweet thisAlerts:
@felgallJan 29.2009 — Conditional comments are a Microsoft only thing used to determine which Microsoft program is trying to process the code so that it can present different versions to Internet Explorer, Mocrosoft Office etc. No non-Microsoft software supports it.

If your positioning is off on the Mac compared to on a PC then it is probably due to your having coded the positioning the wrong way as there is no reason why any browser other than IE should position things differently if the CSS is coded correctly.

Can you post the CSS so that someone can make suggestions as to how to change it so that it will work the same across all the different browsers.
Copy linkTweet thisAlerts:
@CaptainkewlauthorJan 29.2009 — Sure. Here is the page that looks wrong on a Mac. http://kmkwebdevelopment.com/ The text inside the border runs out through the bottom instead of staying within the border (only on a Mac). I attached a screenshot so you can see what it is doing on a Mac. I also attached my .css

Thanks,

Kris.
×

Success!

Help @Captainkewl spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.20,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...