Advanced Search

View RSS Feed

Recent Blogs Posts

  1. CSS selector wish list

    With CSS3, we have gotten many new pseudo selectors that give us a great deal of options. However, the short list of combinator selectors has only been increased from 3 to 4:
    Code:
    foo bar
    foo>bar
    foo+bar
    foo~bar
    The first combinator is the most used selector and selects any element bar that is a descendant of foo. The second combinator selects any element bar that is a child (direct descendant) of foo. The third combinator selects any element bar that is an adjacent ...
  2. Alternative to tables, divs!

    Quote Originally Posted by Nile View Post
    Here's the code I came up with:
    HTML Code:
    <style type="text/css">
      div.advertise {
      }
      div.advertise div.row {
        clear: both;
    	margin: 1px;
    	padding: 1px;
    	min-height: 45px;
      }
      div.advertise div.row div.ad {
        border: 1px solid #D8D6CF;
    	margin: 2px;
    	padding: 2px 0px 0px 0px;
    	width: 117px;
    	height: 45px;
    	text-align: center;
    	float: left;
      }
    ...

    Updated 04-28-2009 at 10:13 PM by ddadmin

    Tags: css, divs, html, tables Add / Edit Tags
    Categories
    CSS related