How to Create Columns with Div's

Written by Shruti Gupta


When we at Ecommerce Partners (http://www.ecommercepartners.net) started using div’s rather than table for web page layout,repparttar most daunting experience for me was how to create columns using div’s. So, here isrepparttar 132374 solution for all those website developers who are struggling to use div’s for web page layout.

The div tag can be defined asrepparttar 132375 division in a web page. It is a block level element. This implies thatrepparttar 132376 default behavior of div’s is to stack up one aboverepparttar 132377 other. This servesrepparttar 132378 purpose of using div’s for a simple web page layout where allrepparttar 132379 elements stack one aboverepparttar 132380 other. When we have a columnar web page layout (which happens to berepparttar 132381 most common layout for majority ofrepparttar 132382 websites), we need to know how to use div’s to create two or more columns in a web page.

The following method will cause div’s to stack up side by side rather than one aboverepparttar 132383 other.

Let’s say that we have two div’s: {div id=“div1”}{/div} {div id=“div2”}{/div} (in order to display it right on a browser "{" has been used in place of "<" inrepparttar 132384 above example)

Now, inrepparttar 132385 stylesheet declarerepparttar 132386 following rules. #div1 { float:left; width:50%;} #div2 { marging-left:50%; width:50%;}

The result will be two columnar div’s. You may use this method to create as many columns as needed onrepparttar 132387 web page.

6 "Life or Death" Factors For Any Website!

Written by Jim Edwards


Not a week goes by that half a dozen people don't ask me what separates a great, money-making website from a bad one. In response, I surveyed of a number of different websites, large and small, to find what they share in common to make them so successful. With few exceptions, every extraordinarily great website containedrepparttar following elements. ** Testimonials **

Every great website has testimonials from satisfied customers. These testimonials help setrepparttar 132372 potential customer's mind at ease thatrepparttar 132373 products or services sold online will perform as promised.

Truly great testimonials not only endorserepparttar 132374 product, but clearly state howrepparttar 132375 product increased sales, saved money, or benefited previous buyers in very specific and tangible ways. Testimonials should present real benefits others can readily identify with, understand and, more importantly, want those same results for themselves!

** Headlines **

Headlines capture visitors' attention and get them involved inrepparttar 132376 website. How do you readrepparttar 132377 newspaper? If you read like most peoplerepparttar 132378 headlines first catch your attention and determine whether you'll actually read a story. Similarly headlines on a website determine whether visitors get involved inrepparttar 132379 information or surf away never to return.

My own experience has shown thatrepparttar 132380 proper headlines can easily and quickly double, triple, or even quadruple a website's sales almost overnight.

** Bullets **

Bullets communicate various and subtle bits of information about a product or service without making readers plow through paragraphs of information to get torepparttar 132381 meat of a website's offering. Bullets arouse interest, build excitement, and convey a lot of information very quickly to time-starved web surfers.

Cont'd on page 2 ==>
 
ImproveHomeLife.com © 2005
Terms of Use