Главная
portfolio designers contact

Rounded Corners 2013

February 19th, 2013

Everybody who’s been in HTML/CSS design for some years know the pain of rounded corners. The arrival of the border-radius CSS property does not make our life much easier since the Internet Explorer (stifle a sarcastic “of course!”) does not support it in its version prior to 9. Having tried some solutions, I finally opt to emulate support of border-radius in Internet Explorer 8- via PIE.

Upon a premature sigh of relief I experienced some frustration while using the recommended HTC version of PIE with jQuery UI: the page would load properly but when opened again through a hyperlink the site would have its button sets scattered all over the place.

Luckily, switching to the Javascript version of PIE resolved the issue.

May this experience be useful to many.

The best jQuery-based replacement <SELECT>

February 11th, 2013

Objectives:

  1. Possibility to style the drop-down control (<SELECT>) in a cross-browser compatible way
  2. It should hide, update, and follow underlying select tag, so that when the select tag is changed (for example, by the user a Reset button on the form) the visual replacement changes its state accordingly. Ideally, the replacement should trigger whatever events the select tag listens to (i.e., onChange = “window.location=’/choice.php?id=this.value()’;”) Read the rest of this entry »