Results 1 to 7 of 7
10-13-2001, 04:03 PM #1
Dean I should have listened to you from the start. I never really took the time to understand CSS and thought HTML was the easiest way and the why-learn-another-language-when-you-don't-need-too thing. I decided to take the time to learn it, and in two days I learned it. It's that easy! I've decided to redo half my site in it. It cuts bulky code in half! Any webmaster who's gonna call himself a webmaster needs to learn it. But I do have a question.
What browsers support CSS?
are these the only ones? I don't know even if Netscape 5 does.
*I'm on refering to Netscape and IE browsers*
on my page I'm basically using the class tag and the div tag.
10-13-2001, 05:15 PM #2
d00d, thats a trickier question than you think.
ALL browsers from 4+ support CSS. However...they support them in different ways.
We now have two standards. CSS1 and CSS2. they do not contradict each other at all. CSS2 id CSS1 with more stuff.
Like everything in the HTML world, browser support is patchy as hell.
I have a link to a browser-compatibilty chart... but lately I have joined something called the
Browser Upgrade initiative. I got sick of sticking to standards and then trying an old browser on it and seeing it go tits-up on me.
For good, old fashioned sticking to the rules, then believe it or not, Netscape Navigator 6 comes out on top. IE5.5 just makes up its own rules as it pleases. This is fixed in IE6.
So..... heres what you originally asked for
Welcome to the world of real webdesign.
10-14-2001, 08:57 PM #3
if if I defined both the class and id tags:
<div id="menubar" class="menubar">Whatever</div>
would that be cross browser? I dunno, haha.
10-15-2001, 04:00 PM #4
A class is a set of rules to apply to a set of elements.
The cross-browser side of things usually comes with the <DIV> tag!
If I define a div like this -
internet Explorer will make a div 100pixels wide, then add on an extra 20pixels to each side. This is incorrect.
Netscape handles it properly and keeps the div 100pixels wide.
this is just one example...there are hundreds...
10-15-2001, 06:08 PM #5
lets say my page works around the clock divs. but most of em are like:
font-family: Verdana, Arial, Helvetica, sans-serif;
<a class="pagefont1" href="www.?.com">testing</a>
would this be cross browser?
10-16-2001, 01:29 AM #6
yes. they should be fine. thats good usage of css.
10-16-2001, 05:39 PM #7
oh thank you! thank you!