Jump to content

Archived

This topic is now archived and is closed to further replies.

johnnyk

Div layout

Recommended Posts

Does anyone know of a good tutorial that describes how to mimic table layouts with div?

Share this post


Link to post
Share on other sites
You don't mimic tables with divs!!! ;)

Tables are for information - so don't use them for layout.

[url=http://www.w3.org/2002/03/csslayout-howto]http://www.w3.org/2002/03/csslayout-howto[/url] a reasonable starting point.

Share this post


Link to post
Share on other sites
I found that one, didn't help me too much cause they don't show what the html would look like. And what if I wanted there to be space to the left of list1 and the right of list2?

Know of any other tutorials?

Share this post


Link to post
Share on other sites
That's the second css layout tutorial I've seen that put Latin in the div. What's the deal with that?

Share this post


Link to post
Share on other sites
I would not recommend using positioning when doing a CSS Layout as you'll are bound come into lots of problems. Using floats and clear is much easier when doing a CSS layout.

About the Latin text most developers tend to put some random text into a layout to get a better visual understanding of what the layout will look like when its finsihed, especially if the layout going to have dynamic text if the sites is being coded in PHP etc.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.