Posts Tagged ‘CSS’
Show, Hide or toggle your div visibility
A web designer is not very familiar with JavaScript always. Many a times he may be familiar with css and to very little degree to javascript but website creation takes a lot of efforts to make decision about javascript usage. There are few effects which a interactive website use and one of them is show/hide [...]
CSS drop-down menu
When we create a drop down menu we want that our menu is lightweighted, fast loading, easy to implement, and also compatible with major browsers. I am going to define discuss about a CSS drop down menu which has all the qualities stated above. It is a outcome of hardwork we have done few years [...]
Round corner box (Using css sprites)
This is the most common problem for a CSS beginner to create a round corner expandable box using CSS. This is a simple tutorial and its easy to understand. To start with, first we understand HTML part which will have a container div which have relative positioned with four absolute-positioned divs inside, where the corner [...]
CSS shorthand techniques very useful
Main advantages of using CSS is the large reduction in web page download time. Writing mulitple declarations and values in a single line of CSS code called CSS Shorthand Technique. 1.Backgrounds Background properties include background-color, background-image, background-repeat, background-position, You could write: background-color: #ccc; background-image: url(myimage.gif); background-repeat: no-repeat; background-position: top left; Becomes: background: url(myimage.gif) no-repeat top [...]
Div based layout vs Table based layout
When we start developing a static website we have two options for layouting. One is CSS based layout and another is table based. Lots of beginners have questions that which one is best. In initial phase of my career in many interviews, the interviewer always asked me this question, “What is the difference between CSS [...]
Learn CSS Positioning
The CSS positioning properties allows you to position an element, lets you control how and where a Web browser displays particular elements. This is one of the most confusing concepts in CSS. I can help you understand how positioning works. position:static and position:relative can be both display:block and display:inline, while position:absolute and position:fixed will always [...]
How to use style definitions specifically for specific MSIE versions Using Conditional Comments.
“Conditional Comments” (CC) are most commonly used to differentiating Cascading Style Sheets (CSS) rules intended for specific versions of Internet Explorer. Conditional comments are proprietary conditional statements interpreted by Microsoft Internet Explorer. Conditional comments have been available since MSIE 5 Windows and later (Mac IE doesn’t support them.). The most beneficial aspect of conditional comments [...]
Are you a beginner in CSS? Some useful tips for you
1. Diffrence between Class and ID’s Both are use for describe content and layout in a web page. Symbol for class selectors is (.) while id selectors is (#). Class: We can use the same class on multiple elements and also multiple class on same element. ID’s: Id’s are unique. It can only be used [...]