Tags » CSS 2

The step-by-step tutorial I wish I had when learning Ajax in Django (via JQuery) -- Part one of three

This tutorial demonstrates implementing Ajax in Django, using JQuery, for two specific tasks:

  • A search box that executes on each key press, as long as there are at least two characters.
  • 2,433 more words

How do I keep two divs that are side by side the same height

Step 1 Css

<style type=”text/css”>

html{ height:100%;}

body{ position:absolute; width:100%; height:100%; padding:0; margin:0; font-family:Arial, Helvetica, sans-serif; font-size:15px; color:#333;}

.wp{ width:1000px; margin:0 auto; height:100%;}

.left_part{ background:#eee; color:#333; text-align:center; height:100%; float:left; width:300px;}

71 more words

Functions in CSS? No.. in SASS? Yes!

In CSS there’s absolutely no way to include functions as of today. It’s all just as is. In SASS you can create functions as well as mixins, more on what that is later. 362 more words


CSS: Custom HTML5 form validation with visual effects using Pseudo Class

As we know, Pseudo Code is an informal descriptive language which helps human being to understand the code, rather than just only machine readable. CSS pseudo-classes… 306 more words


Box Sizing: Padding without the Math!

Have you ever had to lay out a container div then needed to add padding? Then to get the correct width you had to subtract the amount of padding to the width? 281 more words


JavaScript: Unobtrusive

It all comes down to separation of concerns. When programming, separation of concerns deals with creating clear and concise boundaries between application components that have different responsibilities but work together to carry out a common overarching goal. 406 more words


CSS: Drop Caps

Drop caps is a very old technique of styling first letter of the paragraph or article, commonly used by News Papers, Magazines etc. With CSS we can achieve this requirement. 149 more words