Web Design Guide

Web Site Design Houston Section


 


Social bookmarking
You like it? Share it!
socialize it

Newsletter

Subscribe to our newsletter AND receive our exclusive Special Report on Web-Design
First Name:
Email address:



Main Web Site Design Houston sponsors


 

Latest Web Site Design Houston Link Added

INSERT YOUR OWN BANNER HERE

Submit your link on Web Site Design Houston!



 

Welcome to Web Design Guide

 

Web Site Design Houston Article

Thumbnail example. For a permanent link to this article, or to bookmark it for further reading, click here.

10. Want to learn Column Designs with CSS

from:

Almost everybody knows that CSS makes layouts easier than they were with tables. One of the reasons many people stuck with tables for so long is that it’s a bit difficult to create column-based designs using CSS.

Believe me, CSS columns aren't that difficult to produce once you understand how CSS float rules work. Float allows you to say that some portions of your content should 'float' next to other portions, instead of being displayed one after the next.

A column layout in CSS is quite simple and you’ll see why. Just see how to divide your content from your navigation using the div tag, as mentioned below:







Please note that the divs must be in this order – left, right, centre – because otherwise one column might end up underneath another in a way you don't expect. Ordering things logically as left, centre, then right, for example, will cause your right column to end up under the centre one.

Anyway, the next step is to write the CSS for those IDs you just set up. See below-

#left-nav {float: left; width: 30%;}

#right-nav {float: right; width: 30% }

You can adjust the width % depending on how wide you want your left and right columns to be (you can even choose whether to set the width in percentages or in pixels). And now you've set up a successful three-column layout. Amazing! Isn’t it?

If you wish that your left and right columns should have a different background colour to the centre one, this might be a bit trickier. This is because in most of the browsers, your columns are only considered to extend downwards as far as the text in them does meaning that the bottoms of your columns won't line up.

How to solve this issue then? The best way is to make your columns fixed-width (meaning that you specify their width in pixels, eg. 'width: 100px;'). Once you've done that, you can create one-pixel-high image that includes the colours you want for the columns, and make it the background image. But the fixed-width columns can look strange if you leave them spaced as they are. The solution is to specify a fixed width for your document's body, and then set the left and right margins to 'auto' – this will centre the page on the screen.

You might also like to add text-align: center, so they appear in the middle of the page. There are few more things which you would need to learn about but if you found the above simple I am sure you’ll find playing around with CSS easy.



Other Web Site Design Houston related Articles

Web Forms Avoid Some Common Mistakes
Common Web Design Mistakes
IIS The Flop Microsoft Server
Outsourcing For Web Designing
Do You Need A Website

Do you want to contribute to our site : submit your articles HERE


 

Web Site Design Houston News

Bolting Tool Manufacturer Retools Marketing Program And Launches New Website - Houston Chronicle


Bolting Tool Manufacturer Retools Marketing Program And Launches New Website
Houston Chronicle
To this end, they are launching a revitalized marketing campaign that includes a new website design, and marketing materials. They have asked Houston marketing agency, Adhere Creative to assist in the creation of their new marketing direction.

and more »

Read more...


CRC Solar Builds Solar Racking to Withstand Hurricane Force Winds - Sacramento Bee


CRC Solar Builds Solar Racking to Withstand Hurricane Force Winds
Sacramento Bee
By CRC Solar MOUNDRIDGE, Kan., May 22, 2012 -- /PRNewswire/ -- CRC Solar, a leading manufacturer of Fixed Tilt Ground Mount Racking Systems recently supplied specially designed solar racking for Lone Star College in Houston, Texas.

and more »

Read more...


Jesus People Clothing: New Line Launches Aiming to Fulfill Matthew 25:35 - PR Web (press release)


Jesus People Clothing: New Line Launches Aiming to Fulfill Matthew 25:35
PR Web (press release)
The driving passion of the design team is that the line challenges people to share their faith and the Good News of Jesus Christ and the power of the Cross. Today Jesus People Clothing announces the official launch of its website, t-shirt design ...

Read more...


Whitney Houston Tribute Had Jordin Sparks Feeling The 'Pressure' - UrbanMecca


Whitney Houston Tribute Had Jordin Sparks Feeling The 'Pressure'
UrbanMecca
The discount microsoft office download website should be examined first for Mac System 7, although it is important to your site, how comfortable the service competently. Whether you are unclear about cheap microsoft excel 2003 installation procedures.

and more »

Read more...


Intergraph(R) CADWorx(R) & Analysis University 2012 Early-Bird Registration ... - Einnews Portugal


Intergraph(R) CADWorx(R) & Analysis University 2012 Early-Bird Registration ...
Einnews Portugal
The conference, scheduled for September 24-25 in Houston, Texas, USA, will be at the Sugar Land Marriott Town Square and is open to all users of Intergraph CADWorx, CAESAR II®, and PV Elite®. CAU2012 is a global user-oriented plant design and ...

and more »

Read more...