- This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
I have a quick question.
Is setting the cursor to default bad practice? a bad idea?
if you don’t know what I’m talking about, I used it in this document of mine.
It is. Unless your code is doing something to the cursor that is making it not the default when you need it to be, adding that extra bit of code is pointless. It slows down the the loading of the page. It’s best to use as little code as possible. Don’t use any code that is unnecessary when you can help it.
If you’re referring to how slow the page is, it’s the web server I’m using. I’m still learning and it’s free, so I’m not too worried if it takes a few more seconds to load.
Most of the time you will only need to set a cursor when you need to give more user feedback when creating your websites user interface. If you are doing something in jQuery for example, and your listening for something to be clicked that isn’t by default a link its always good to change the cursor to show it has a "click-able" action. Changing the cursor otherwise is a little (no pun intended) pointless. So don’t do it as a gimmick, because that’s what people will see.
As for loading speed, it will make no difference. Unless your machine is a 486 windows 3.11 beast with 2mb of ram – and even then I doubt you would notice, so the speed issue is redundant.