I don’t have to explain that it’s much better to use neat fancy images instead of regular html buttons. And sometimes designer succeeds himself and ads something really cool that you can’t simulate with CSS alone so background image for button should be set. On the other hand there is this stupid IE7 bug (afaik IE8 is ok) where you can’t see the background image for an input button if CSS border is set to “none”. Read the rest of this entry »
Archive for the ‘CSS’ Category
We all know how great is to make dynamic HTML lists so you may traverse into selections by taking into account what has been selected before. Superduper way would be to use AJAXized calls to server so it takes care of what should be displayed, but what to do if you have already two rendered HTML combo boxes (aka drop-downs) and just must make a JavaScript logic to take care of showing only those options from list 2 that correspond to the selection in list 1. Internet (google) has some examples using JS arrays which totally doesn’t suite me since i prefer “less code – less hassle” principle. And such arrays doesnt fit me since as i said – i have two generated lists and dont want to generate them as arrays and then build up in JavaScript which in my opinion is just an extra step.
Read the rest of this entry »

