Overview: What We Will Cover Today
We’ll start with what you could call the
fundamental properties and capabilities of CSS, ones that we commonly use to build CSS-based websites:
- Padding vs. margin
- Floats
- Center alignment
- Ordered vs. unordered lists
- Styling headings
- Overflow
- Position
Once
you are comfortable with the basics, we will kick it up a notch with
some neat tricks to build your CSS website from scratch and make some
enhancements to it.
- Background images
- Image enhancement
- PSD to XHTML
Most beginners get padding and margins
mixed up and use them incorrectly. Practices such as using the
height
to create padding or margins also lead to bugs and inconsistencies.
Understanding padding and margins is fundamental to using CSS.
No comments:
Post a Comment