PDA

View Full Version : HTML/CSS


__earth
22-06-2004, 05:52 AM
I have just found out that I can't define the scroll bar using CSS in Mozilla.

Is CSS is not fully compactible with Mozilla/Netscape or it is just me?

bachok83
22-06-2004, 10:44 AM
__earth,
currently mozilla doesnt include css for scroll. I dont know whether they are gonna to, but it seems they never did.

Maybe in the future they will include css for scroll. The latest mozilla/firefox include css2. In the future they will include css3 for opacity (http://www.w3.org/TR/css3-color/#transparency)

luke
22-06-2004, 08:12 PM
this is the problem with these popular browsers like IE and mozilla (IE in particular) ... they try to make WWW coding in favor of their side, thus their create these new stuff that are not in the original CSS specifications ... for example, IE introduce "filter: alpha(opacity=80);" to give alpha blending feature to webpage ... then mozilla introduce "-moz-opacity: .8;" to follow IE track .. now we have to put 2 lines in our CSS section if we want to have alpha blending .... what a waste that the efforts to standardize WWW have become ...

bachok83
23-06-2004, 01:01 AM
i supose opera will create something like this.. "-opera-opacity: .8;"

muhahahaha

__earth
23-06-2004, 01:05 AM
Heaven! God forbids!

anyway, does CSS defined in IE works the same way in Apple's browser (whatever the name is, safari?) ?

I know mozilla does (minus the scroll bar of course).

bachok83
23-06-2004, 01:35 AM
not quite the same.. but most of the css tags are just fine in safari. Safari has some problems with table border and javascript.

Well you know.. apple stuff... cannot compete with linux/windows.... :twisted: :twisted: :twisted:

luke
24-06-2004, 01:49 AM
Well you know.. apple stuff... cannot compete with linux/windows.... :twisted: :twisted: :twisted:
I'm waiting for a certain 'someone' to reply to your statement and defend apple ;)

masterof_none
24-06-2004, 09:07 AM
Well you know.. apple stuff... cannot compete with linux/windows.... :twisted: :twisted: :twisted:
I'm waiting for a certain 'someone' to reply to your statement and defend apple ;)

Haha, I know this guy is hinting for me to defend Apple.

From what I know, Safari is a new browser, and hence, it's really unpredictable. if you want to know more about safari, you can read (even learn a lot!) on how the main guy who maintains safari (Dave Hyatt) weblogs:
http://weblogs.mozillazine.org/hyatt/

anyway, safari was not written from scratch.
It's code is based on the KDE's open source project Konquerer.
http://www.konqueror.org/, the favorite Linux desktop, and the most beautiful one. the browser was chosen over Mozilla project, because the code is well organized.
Like any open source project, the code must be shared with others.
Safari's code can be downloaded here:
http://developer.apple.com/darwin/projects/webcore/

other than safari, one more apple technology went open source:
the very kernel of OS X : Darwin:
http://developer.apple.com/darwin/

one more exciting Apple technology, that would eventually bring ordinary folk to run supercomputer just being slashdotted today:
http://www.apple.com/acg/xgrid/



anyway, Apple claim that safari is compatible with CSS
http://www.apple.com/safari/

but if you want to get around with lots of stuff , here's a good link:
http://diveintomark.org/safari/

OK, I guess I should open Mac SIG. I can go on forever here :P .

screw3d
15-07-2005, 03:36 PM
The scrollbar is part of the browser, not the webpage.. CSS defines properties for the page, not the browser. As a result, CSS does not and should not do anything to the scroll bar. :)

Personally I'll get cranky and kill baby penguins if I am forced to change my scrollbars :D

screw3d
15-07-2005, 03:39 PM
this is the problem with these popular browsers like IE and mozilla (IE in particular) ... they try to make WWW coding in favor of their side, thus their create these new stuff that are not in the original CSS specifications ... for example, IE introduce "filter: alpha(opacity=80);" to give alpha blending feature to webpage ... then mozilla introduce "-moz-opacity: .8;" to follow IE track .. now we have to put 2 lines in our CSS section if we want to have alpha blending .... what a waste that the efforts to standardize WWW have become ...

I'm not sure if you are aware that "opacity" and some other properties are proposed W3C CSS3 standards. Mozilla is just testing these implementations and they use -moz to differentiate these from current CSS2 properties. IE on the other hand.. I have no idea where they pull out these properties from!

screw3d
15-07-2005, 03:44 PM
Heaven! God forbids!

anyway, does CSS defined in IE works the same way in Apple's browser (whatever the name is, safari?) ?

I know mozilla does (minus the scroll bar of course).

I'd say, most works in IE6, a lot is broken in IE5.x/Win, even more is broken in IE/Mac.

All IEs (and all its other variants like Maxthon and Avant) CSS2 support pales in comparison to Mozilla Firefox and other Gecko-based based browsers including Safari. Opera's support is quite nice too.

__earth
17-07-2005, 08:46 PM
hmmm, css2, never tried it.

What's the difference between that and the older one?

then, i guess google is my friend.

padme
01-02-2006, 02:39 PM
[quote="luke"][quote=bachok83]

OK, I guess I should open Mac SIG. I can go on forever here :P .

yeah u shud!!! i'd be happy to join ya.. hehe

ermm.. i guess mozilla doesnt recogize any definition for scroll bars let it be in CSS and Javascript.. well at least yet.

let me know if anyone's configured a scrollbar in java and looks rite in Mozilla.