navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

Hack free css for IE

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Cascading Style Sheets >> Hack free css for IE
Page: [1]
 
c1sissy

 

Posts: 5084
Joined: 7/20/2002
From: NJ
Status: offline

 
Hack free css for IE - 4/13/2004 7:46:40   
In my struggle to get my pages that I am playing with to work in both IE and Opera I found this link
http://www.virtuelvis.com/archives/158.html
While searching for IE hacks.

This works really good. I was so surprised that I now have a working Ie and Opera page.

_____________________________

Deb-aka-c4Ksissy
high panjandurum and alpha female of the silverback tribe
As decreed by Jesper 5-24-2003.
The only stupid question is... the one that is never asked!!
http://directory.css-styling.com
http://fmsforum.com
http://positioniseverything.net/
http://www.tanfa.co.uk/
Giomanach

 

Posts: 6090
Joined: 11/19/2003
From: England
Status: offline

 
RE: Hack free css for IE - 4/13/2004 7:49:58   
Ummmmmm

<waiting for someone to clip me round the ear 'ole>

That requires JavaScript to work:), I'm currently working on a CSS stylsheet for a pure CSS layout that will work in all browsers, and look the same (even tho M's prolly already done it)

</waiting for someone to clip me round the ear 'ole>

Dan

< Message edited by Giomanach -- 4/13/2004 12:50:21 >


_____________________________




(in reply to c1sissy)
c1sissy

 

Posts: 5084
Joined: 7/20/2002
From: NJ
Status: offline

 
RE: Hack free css for IE - 4/13/2004 8:02:56   
Uhmm, sorry but guess what, it works. I have a working one on my pc right now.

No java script is in here what so ever.

If I did not test it first I would not have posted that it works. I also have a temp version of it loaded online to test it. However tripod tends to toss in their adds so the layout of the page isn't so great, but It does work.

Opera is not picking up the styles that I have written for IE, and IE is not picking up the styles that I have written for Opera. Works great!

:)

< Message edited by c1sissy -- 4/13/2004 8:04:49 >


_____________________________

Deb-aka-c4Ksissy
high panjandurum and alpha female of the silverback tribe
As decreed by Jesper 5-24-2003.
The only stupid question is... the one that is never asked!!
http://directory.css-styling.com
http://fmsforum.com
http://positioniseverything.net/
http://www.tanfa.co.uk/

(in reply to Giomanach)
Giomanach

 

Posts: 6090
Joined: 11/19/2003
From: England
Status: offline

 
RE: Hack free css for IE - 4/13/2004 8:06:07   
<still waiting for the slap>

quote:

<!--[if IE 5.0]>

JavaScript

quote:

width: expression( document.body.contentEditable=='inherit' ? '100%' : null );

Partially JavaScript

JavaScript is merely used to detect browser type here. It's nothing serious, just means the browsers with JavaScript turned off, will use the last-to-be-loaded stylesheet

</still waiting for the slap>

_____________________________




(in reply to c1sissy)
c1sissy

 

Posts: 5084
Joined: 7/20/2002
From: NJ
Status: offline

 
RE: Hack free css for IE - 4/13/2004 8:13:52   
Just curious, did you read the liked page at all?

_____________________________

Deb-aka-c4Ksissy
high panjandurum and alpha female of the silverback tribe
As decreed by Jesper 5-24-2003.
The only stupid question is... the one that is never asked!!
http://directory.css-styling.com
http://fmsforum.com
http://positioniseverything.net/
http://www.tanfa.co.uk/

(in reply to Giomanach)
jaybee

 

Posts: 14157
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: Hack free css for IE - 4/13/2004 8:16:18   
<!--[if Opera6]>
<link rel="impossible" type="garbage.css" href="notacatinhellschance.css" />
<![endif]-->

:)

_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to Giomanach)
Giomanach

 

Posts: 6090
Joined: 11/19/2003
From: England
Status: offline

 
RE: Hack free css for IE - 4/13/2004 8:17:10   
Yeah, the guy/gal who wrote it is using the conditional syntax of JavaScript to tell the browser which stylesheet to use for the page(s)

<edit>

quote:

<!--[if Opera6]>
<link rel="impossible" type="garbage.css" href="notacatinhellschance.css" />
<![endif]-->


:):)

< Message edited by Giomanach -- 4/13/2004 13:19:36 >


_____________________________




(in reply to c1sissy)
c1sissy

 

Posts: 5084
Joined: 7/20/2002
From: NJ
Status: offline

 
RE: Hack free css for IE - 4/13/2004 8:29:41   
quote:

will use the last-to-be-loaded stylesheet


If you read the page, you will notice that the order of cascade has the IE page loading last anyhow. So since it is the last to load page in the cascade order......

It works.

_____________________________

Deb-aka-c4Ksissy
high panjandurum and alpha female of the silverback tribe
As decreed by Jesper 5-24-2003.
The only stupid question is... the one that is never asked!!
http://directory.css-styling.com
http://fmsforum.com
http://positioniseverything.net/
http://www.tanfa.co.uk/

(in reply to Giomanach)
Giomanach

 

Posts: 6090
Joined: 11/19/2003
From: England
Status: offline

 
RE: Hack free css for IE - 4/13/2004 8:35:38   
I should know better than to argue with a woman, espec when it's my Mom:), and no-one can be bothered to back me up on this. Your really stubborn, just like me:), guess it runs the family

<edit>
I'm still right BTW:)
</edit>

< Message edited by Giomanach -- 4/13/2004 13:36:09 >


_____________________________




(in reply to c1sissy)
c1sissy

 

Posts: 5084
Joined: 7/20/2002
From: NJ
Status: offline

 
RE: Hack free css for IE - 4/13/2004 8:44:20   
quote:

Your really stubborn


Yes, this is what has gotten me so far in my learning. :)

As far as you being correct, not up to me to argue that part as I dont' know anything about javascript.

But I do know that this works, and i have not only seen it on the page that i have linked here, but in other forums in regards to CSS as well.:)

_____________________________

Deb-aka-c4Ksissy
high panjandurum and alpha female of the silverback tribe
As decreed by Jesper 5-24-2003.
The only stupid question is... the one that is never asked!!
http://directory.css-styling.com
http://fmsforum.com
http://positioniseverything.net/
http://www.tanfa.co.uk/

(in reply to Giomanach)
Giomanach

 

Posts: 6090
Joined: 11/19/2003
From: England
Status: offline

 
RE: Hack free css for IE - 4/13/2004 8:46:57   
I never said it wouldn't work, just that those who have JS turned off will only have the choice of one stylesheet.

Still uses JavaScript:)

Let's say we're both right, and call it even, whaddaya say?

_____________________________




(in reply to c1sissy)
jaybee

 

Posts: 14157
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: Hack free css for IE - 4/13/2004 9:03:09   
You're both right.....

ME? Sit on the fence? Never. :)

By the way Maam, your storage is full so I can't tell you about a possible problem with your "you know what" via PM.

_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to Giomanach)
c1sissy

 

Posts: 5084
Joined: 7/20/2002
From: NJ
Status: offline

 
RE: Hack free css for IE - 4/13/2004 9:09:55   
lol I just deleted a few messages so It should be clear for the you know what :)

Dan, it is supposed to load last, so it works. :)

_____________________________

Deb-aka-c4Ksissy
high panjandurum and alpha female of the silverback tribe
As decreed by Jesper 5-24-2003.
The only stupid question is... the one that is never asked!!
http://directory.css-styling.com
http://fmsforum.com
http://positioniseverything.net/
http://www.tanfa.co.uk/

(in reply to jaybee)
Giomanach

 

Posts: 6090
Joined: 11/19/2003
From: England
Status: offline

 
RE: Hack free css for IE - 4/13/2004 9:43:14   
OK, lemme explain in laemens terms:

Using this method you will have several stylesheets, yes?? If the user has JavaScript turned off, IE will read all of the stylesheets, but only use the last one in the list

Example

IE5.css
IE55.css
IE6.css

IE would only load IE6.css if JavaScript was turned off

Clearer now?

Dan

_____________________________




(in reply to c1sissy)
c1sissy

 

Posts: 5084
Joined: 7/20/2002
From: NJ
Status: offline

 
RE: Hack free css for IE - 4/13/2004 9:55:24   
Dan, all I know is it works.

And as long as it works through several people on numerous css forums, I'm fine with it. It works for me. Until I come across something that says hey this is not any good, I'm using it.:)

And at this point, I only have it for IE6, my css is IEbrowsers.css
meaning that I am using it for all ie at this point. And my css will validate. Using the hacks, my css wont' validate.

_____________________________

Deb-aka-c4Ksissy
high panjandurum and alpha female of the silverback tribe
As decreed by Jesper 5-24-2003.
The only stupid question is... the one that is never asked!!
http://directory.css-styling.com
http://fmsforum.com
http://positioniseverything.net/
http://www.tanfa.co.uk/

(in reply to Giomanach)
jaybee

 

Posts: 14157
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: Hack free css for IE - 4/13/2004 10:08:40   
quote:

ORIGINAL: Giomanach

OK, lemme explain in laemens terms:



Lemmings? What have lemmings got to do with anything?

_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to Giomanach)
Giomanach

 

Posts: 6090
Joined: 11/19/2003
From: England
Status: offline

 
RE: Hack free css for IE - 4/13/2004 10:11:32   
Laemens, read it right woman!!!! Laemens = English!!!!!

Lemmings are small furry suicidle creatures

_____________________________




(in reply to jaybee)
c1sissy

 

Posts: 5084
Joined: 7/20/2002
From: NJ
Status: offline

 
RE: Hack free css for IE - 4/13/2004 10:12:20   
quote:

Lemmings? What have lemmings got to do with anything?


Isnt that sort of like if you have lemmings, make lemming aide?:)

_____________________________

Deb-aka-c4Ksissy
high panjandurum and alpha female of the silverback tribe
As decreed by Jesper 5-24-2003.
The only stupid question is... the one that is never asked!!
http://directory.css-styling.com
http://fmsforum.com
http://positioniseverything.net/
http://www.tanfa.co.uk/

(in reply to jaybee)
jaybee

 

Posts: 14157
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: Hack free css for IE - 4/13/2004 10:15:57   
quote:

ORIGINAL: Giomanach

Laemens, read it right woman!!!! Laemens = English!!!!!

Lemmings are small furry suicidle creatures


English???? Really????? What dictionary are you using? Oxfurd Inglish? :)

_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to Giomanach)
Giomanach

 

Posts: 6090
Joined: 11/19/2003
From: England
Status: offline

 
RE: Hack free css for IE - 4/13/2004 10:17:39   
Nah, the book thingy thats all sixes and sevens, I gone all cuckoo ya see

(Perfect spelling is no longer required tp pass English GCSE:))

_____________________________




(in reply to jaybee)
jaybee

 

Posts: 14157
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: Hack free css for IE - 4/13/2004 10:20:11   
NO KIDDING! :):)

_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to Giomanach)
Giomanach

 

Posts: 6090
Joined: 11/19/2003
From: England
Status: offline

 
RE: Hack free css for IE - 4/13/2004 10:24:16   
How the hell do you think I passed?, 15 pages of spelling mistakes, and I still got a B:)

_____________________________




(in reply to jaybee)
c1sissy

 

Posts: 5084
Joined: 7/20/2002
From: NJ
Status: offline

 
RE: Hack free css for IE - 4/13/2004 10:34:35   
quote:

Oxfurd Inglish?

ROFLOL!

_____________________________

Deb-aka-c4Ksissy
high panjandurum and alpha female of the silverback tribe
As decreed by Jesper 5-24-2003.
The only stupid question is... the one that is never asked!!
http://directory.css-styling.com
http://fmsforum.com
http://positioniseverything.net/
http://www.tanfa.co.uk/

(in reply to jaybee)
Giomanach

 

Posts: 6090
Joined: 11/19/2003
From: England
Status: offline

 
RE: Hack free css for IE - 4/13/2004 10:35:59   
Oh and just for everyone elses safety, I will refrain from posting this weekend (See birth date in my profile:))

_____________________________




(in reply to c1sissy)
Page:   [1]

All Forums >> Web Development >> Cascading Style Sheets >> Hack free css for IE
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts