CSS styles

css min/max-width fix in IE6

We can use Javascript expression in css to make sure the min-width, max-width that works for IE6. [code] #content { height: 75px; background-color: #000; color: #fff; width: expression(this.Width < 742? "740px" : this.Width > 1202? "1200px" : "auto"); min-width: 740px; max-width: 1200px; } [/code]

Border-radius: create rounded corners with CSS!

W3C has offered some new options for borders in CSS3, of which one is border-radius. Both Mozila/Firefox and Safari 3 have implemented this function, which allows you to create round corners on box-items. This is an example: Rounded corner example. The code for example above is simple: [code]<div style=" background-color: #ccc; -moz-border-radius: 5px; -webkit-border-radius: 5px; border: 1px solid #000; padding: 10px;" >[/code]

CSS styles pre-prepared library – CSS framework

What is CSS framework? A CSS framework, also known as a web design framework is a pre-prepared library that is meant to allow for easier, more standards-compliant styling of a webpage using the Cascading Style Sheets language. Just like programming and scripting language libraries, CSS frameworks (usually packaged as external .css sheets inserted into the header) package a number of ready-made options for designing and outlaying a webpage. CSS Frameworks just list some i often use: Bluepri...