Home > UI/UX Development > CSS (Page 3)

CSS Scrollbar

Many times we need to change the way browsers render scrollbars, although we don’t find enough browsers that support it( :( ) not even vendor-prefixed properties except for Webkit.Webkit supports styling your scrollbar as required, and yes this means you could only view these custom scrollbars in Safari and Chrome

This Article is TAGGED in , . Read more

CSS Box model comparison in IE and FF

What is the box model?A HTML element is rendered as a rectangle box. The box has attributes viz. width, padding, height, margin and border.The HTML element is rendered differently in different browsers.For example:[crayon-6854ce71b4133443743989/]Guess the computed width of the div.60em80emBoth are correct answers. How?IE: Trident (layout engine for IE) renders the

This Article is TAGGED in , , . Read more

IE-8 Border Radius

How to use border radius for IE-8?HTMLWe can use the ie-css3 file which is a .htc(HTML Component file) file. Just put the file in root folder and can be used as follows: div { height: 100px; width: 100px; -webkit-border-radius: 10px ; -moz-border-radius: 10px ; border-radius: 10px ; behavior: url('ie-css3.htc'); background-color: #0072AE; background: #0072ae; /* Old browsers */ }  Note: Please

This Article is TAGGED in , , , , , . Read more