Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

CSS Tutorial Pt 4 - Creating Boxes

Loading...

Sign in or sign up now!
54,951
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Apr 24, 2009

How to create tables/boxes using CSS. Download template http://www.2createawebsite.com/design/csstemplate2.zip

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 2 dislikes

Link to this comment:

Share to:

Uploader Comments (2createawebsite)

  • When specifying margins, you do not have to give all four (top, bottom, left, right) when they are the same value. Instead of using "margin: 5px 5px 5px 5px," you could have just specified "margin: 5px."

  • @probowler94 Yes you can do that, but I used all 4 coordinates so people can learn that they can adjust all 4 values right there if they want to use different numbers for the various margins. Much shorter than creating a separate line for margin-top, margin-left, margin-right, etc.

Top Comments

  • Will You marry me?

  • Awesome tutorials, it was great to see someone doing tutorials for CSS using a bundled free text editor rather than spending 5 minutes explaining the program they are using, for example Dreamweaver. Great Work!!!!

see all

All Comments (78)

Sign In or Sign Up now to post a comment!
  • did u memorize all the color code?o.0

  • Hi, great tutorial helpful

  • Thanks alot  nice Tutorial

  • Hello, i don't good speak english, but you tutorial is very clear and explaining too.

    Thanks so much

  • can you make likes in the Leftnav and rightnav the same way as in the header,or the Horizlinks?..i think so. but, every once in a while i get confused with this. I'm planning a big 3 day weekend so i can finally fix my page using your lessons. thanks in advance,

    Scott.

  • Thanks a lot. These tutorials are very helpful. I just want kiss you.

  • tnk you sooooooo mucccchhhhhhhhhh!!!!!!!!

  • Guess my first post didn't work,

    Hey My Lady,

    We need version 5 "How to Make that box into a Table Type form"

    (Columns/Rows/with and without borders/etc.)

  • @probowler94 She said that at 5:22 anyway. "If you only do one coordinate for the padding, it will give you the padding for all four sides..."

View all Comments »
Loading...

0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more