View Full Version : CSS only with InternetExplorer....?


Sarah_Snoops
12-31-2006, 12:30 AM
I have a question. I was learning html, but sence I wanted, and still want to upload my site soon, I decided to use Css for a layout. Anw, a girl on a forum I go to often continuously tells me that Css can be read ONLY in IE. Since she has a big site with layout made by her(good looking must say), I thought she was right. !BUT! in Lissa's css tutor, it says that only the cursors and the scrollbars don't work in firefox(witch I use) etc. Now, look at this : (from Lissa's css tutor, "How do I change my cursor attributes?" bottom page)

I believe the cursor attribute only works in IE4 or greater. If you can see the example (put your cursor over the cat image above), then it will work in your browser. You can also use a text link instead of an image link, just take out the img src tag and replace it with the text you want to link with.

I hover over the cat and a cross(big+) shows up. I was in Firefox when the + showed up. So, does it work in IE, Firefox, ...?

I'm confused :confused:

angelic.deception
12-31-2006, 01:33 AM
I think you can specify a cursor type with Firefox, like the crosshair (big +), the help cursor, the hand cursor, etc. but the cursors which are images don't work in Firefox.. the long trails of hearts and trains and stuff.

I could very well be wrong though.

The scrollbars are definitely only IE.

Hope that helps. =)

J to the izzosh
12-31-2006, 02:39 AM
I'm afraid your friend is mistaken in her assumption. Internet Explorer is definitely not the only browser that supports CSS. In fact, IE has generally poorer support for CSS than browsers like Opera, Safari, and Firefox, though, IE 7 has been a big step forward for web standards support on the part of Microsoft. Internet Explorer does support some proprietary CSS properties, like the scrollbar properties mentioned by angelic, which have fallen into too common use and do not work in other browsers, but neither are they actually part of the CSS specifications.

One thing you should get in the habit of doing is including a Document Type Definition declaration (http://www.w3schools.com/tags/tag_doctype.asp) at the beginning of your HTML documents. This will not only encourage better coding practices and help with validation of your syntax (http://validator.w3.org/), but also has the effect of forcing IE out of its "quirks" mode into a more standards compliant mode, which results in more consistent rendering of your pages between IE and other browsers.

Once you've become comfortable with the basics from Lissa's guide, you may want to move onto some more detailed tutorials (http://www.westciv.com/style_master/house/tutorials/index.html).

Sarah_Snoops
12-31-2006, 04:27 PM
Aha, thank you so much for the explanation!!

So, recap : I can use the + cursor : it will work in IE, firefox, ...

One more thing. Are "scrollbars" and "frames" the same? I vould like to use a Css one, and that vould be scroll bar? So, there's no way I put a thing like that on my site if I want my visitors to see it properly in any browser?