- To link an XHTML file to a CSS file: <link rel="stylesheet" type="text/css" href="styles/main.css" />
- To avoid wrapping: <div class="container">
- To put everything on the same line: {float: left;}
- To keep text from wrapping around boxes: <br class="clear" />
- To make sure there is nothing to the left or the right of the break: .clear {clear: both;}
- **Account for border widths in your container (pixels or %s): i.e. 3 bordered boxes with 1px borders (1 on left and 1 on right) = 6px of border width
Grades
16 years ago
No comments:
Post a Comment