Ashley,
How do you load the separate .css files, using javascript as in
http://www.oreillynet.com/lpt/a/3768 with external .js see below, any
chance of sending me the code or posting
the code calling for the different .css files according to mac or browser?
<head>
...
<script language="JavaScript" type="text/javascript">
var cssFile = (navigator.userAgent.indexOf("Mac") != -1) ?
"styles/macCSS.css" : "styles/pcCSS.css";
document.write("<link rel='stylesheet' type='text/css' href='" + cssFile +
"'>");
</script>
...
</head>
You can combine the browser- or operating system-specific external style
sheets with other fixed <link> elements in the same page, as well as other
kinds of style sheet definitions or @import rules (where supported). If your
content observes the strict version of XHTML, and you want dynamically
generated code to also be in that form, you can use the following
document.write( ) call instead:
document.write("<link rel='stylesheet' type='text/css' href='" + cssFile +
"' />");
thanks
Colm
-----Original Message-----
From: Damian Watson [mailto:[EMAIL PROTECTED]
Sent: 04 September 2003 10:39
To: [EMAIL PROTECTED]
Subject: Re: [ cf-dev ] OT: CSS and Mac ie5
Jolly good ;0)
Did you figure out how you did sort it? Always useful info that...
----- Original Message -----
From: "Rich Wild" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 03, 2003 11:24 AM
Subject: RE: [ cf-dev ] OT: CSS and Mac ie5
> > Divs and IE 5 for the Mac = no....
>
> not so, I have it working nicely, although needed to do some specific
tweaks
> and a separate stylesheet to get it working for mac ie5.
>
> Damian, the whole thing is DIVS - not a table in sight.
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]
> > Sent: 03 September 2003 11:21
> > To: [EMAIL PROTECTED]
> > Subject: RE: [ cf-dev ] OT: CSS and Mac ie5
> >
> >
> > Divs and IE 5 for the Mac = no....
> >
> > IE5 for the mac = no
> >
> >
> > Ashley Whiting
> >
> >
> >
> >
> > -----Original Message-----
> > From: Damian Watson [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, August 28, 2003 7:32 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: [ cf-dev ] OT: CSS and Mac ie5
> >
> >
> > I've had trouble with MAC IE5 and divs before --- this may be a dumb
> > question but is your div inside table data? If so that may
> > well be causing a
> > problem but I don't imagine you've done that...
> >
> > d
> > Chairman of Vice
> > Mac IE5 fan club
> >
> > ----- Original Message -----
> > From: "Rich Wild" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, August 28, 2003 4:36 PM
> > Subject: [ cf-dev ] OT: CSS and Mac ie5
> >
> >
> > > Hi all, sorry to be OT, but this is doing me nut in:
> > >
> > > I have a page that uses divs for positioning and validates
> > as strict xhtml
> > >
> > > However, whenever I resize a Mac IE5 window up from a
> > smaller size, the
> > divs
> > > don't resize and loads of whitespace occurs.
> > >
> > > This problem doesn't occur on IE6 or Mozilla etc.
> > >
> > > Here's my div:
> > >
> > > #searchbox {
> > > left: 0px;
> > > top: 80px;
> > > width: 100%;
> > > height:30px;
> > > z-index: 1;
> > > background-color: #069;
> > > padding-left: 0px;
> > > padding-right: 0px;
> > > padding-top: 2px;
> > > padding-bottom: 2px;
> > > border-left: 0px;
> > > border-right: 0px;
> > > border-top: 2px solid;
> > > border-bottom: 2px solid;
> > > border-color: #FFF;
> > > }
> > >
> > > can anyone see what might be causing this or how to get
> > round it (without
> > > using the Javascript onresize refresh trick)?
> > >
> > > ta.
> > >
> > >
> > > -------------------------------------------------------
> > > Rich Wild
> > > Senior Web Developer
> > >
> > > -------------------------------------------------------
> > > e-mango Tel: 01202 755 300
> > > Gild House Fax: 01202 755 301
> > > 74 Norwich Avenue West
> > > Bournemouth Mailto:[EMAIL PROTECTED]
> > > BH2 6AW, UK http://www.e-mango.com
> > > -------------------------------------------------------
> > > This message may contain information which is legally
> > > privileged and/or confidential. If you are not the
> > > intended recipient, you are hereby notified that any
> > > unauthorised disclosure, copying, distribution or use
> > > of this information is strictly prohibited. Such
> > > notification notwithstanding, any comments, opinions,
> > > information or conclusions expressed in this message
> > > are those of the originator, not of e-mango.com ltd,
> > > unless otherwise explicitly and independently indicated
> > > by an authorised representative of e-mango.com ltd.
> > > -------------------------------------------------------
> > >
> > >
> > > --
> > > ** Archive:
> > http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
> > >
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > For human help, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> >
> > --
> > ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
> >
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > For human help, e-mail: [EMAIL PROTECTED]
> >
> >
> > PLEASE NOTE: THE ABOVE MESSAGE WAS RECEIVED FROM THE INTERNET.
> >
> > On entering the GSI, this email was scanned for viruses by
> > the Government
> > Secure Intranet (GSI) virus scanning service supplied
> > exclusively by Cable &
> > Wireless in partnership with MessageLabs.
> >
> > GSI users see
> > http://www.gsi.gov.uk/main/notices/information/gsi-003-2002.pd
> f for further
> details. In case of problems, please call your organisational IT helpdesk
>
> --
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
>
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> For human help, e-mail: [EMAIL PROTECTED]
>
>
> --
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
>
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> For human help, e-mail: [EMAIL PROTECTED]
>
>
--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.512 / Virus Database: 309 - Release Date: 19/08/2003
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.512 / Virus Database: 309 - Release Date: 19/08/2003
--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]