Jump to content

Using DIVs for layout


MrAdam

Recommended Posts

Helloww!I'm one of those who still uses tables for layout. As everyone does, i want to comform to - what is said to be - the proper way of laying out my websites. Does anybody have a good, useful tutorial for learning how to use DIVs for layout?-Thanks

Link to comment
Share on other sites

one thing that helped me alot when i was learning it was to go to places like csszengarden and other good css sites and look at the source codes

Link to comment
Share on other sites

One of the biggest things to think about is that a div is really a box.Put what you want in each "box", then it's just a matter of moving your boxes around on the screen.Padding will add space INSIDE your box. Margin will space your boxes apart.Don't get caught up in details, start simple. You will get the hang of it.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...