On Aug 24, 2005, at 9:44 AM, Jeff wrote:
http://www.electrabike.com/04/bikes/05bikes/cls/05_cls_01.html
The scrolling section...can this feature/function be duplicated
using nothing but CSS? The entire scroll effect, the links and
targets, etc.
If it could, it wouldn't be a good thing to choose to do.
* If you want it to say something, use HTML.
* If you want it to look some way, use CSS.
* If you want it to act different, use JavaScript.
A more "pure" approach would be to say, "If you want it to do
something, use JavaScript," but HTML allows for links and form
submission, and CSS allows for :hover. But the key here is that
behavior should be scripted; even if you could do it in CSS, that's
not the proper place for it and will cause many headaches down the
line -- the same headaches caused by people putting presentational
markup in their HTML.
--
Ben Curtis : webwright
bivia : a personal web studio
http://www.bivia.com
v: (818) 507-6613
******************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************