First understand the theory, called the "box model" before getting too much into howtos for specific tasks and especially tricks or workarounds for specific problems. W3c probably has a good explanation of the box model so you'll understand WHY things behave as they do. Understanding tje big picture of how the whole thing is put together and should really help.
After that, one tip is to temporarily put borders on your major boxes so you can visually see the boxes as you work on a design.
Lastly, 90% of CSS problems are too much CSS, some rule that should be taken away rather than something that should be added. A browser's job is to make semantic html (meaningful tags) look reasonably good even in the absence of any CSS. Start by giving the browser a chance to do it's job, then add CSS only as necessary to adjust what the browser does naturally.
__________________
For historical display only. This information is not current:
support@bettercgi.com ICQ 7208627
Strongbox - The next generation in site security
Throttlebox - The next generation in bandwidth control
Clonebox - Backup and disaster recovery on steroids
|