Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
|
If you want a quick way to do what LNR suggested, put this in your CSS.
Code:
body * {
margin: 0;
padding: 0;
}
The good news is that this will work on every element you have.
The bad news is...that...this will work on every element you have (so you'll have to specify with additional rules, as she suggested, after that.)
Looks like you're trying to center that layout. If you are, create a wrapper div like this.
CSS:
Code:
#wrapper {
margin: 0px auto; /* This will center it in most browsers */
width: width of your layout
text-align: center; /* this is for IE5 */
}
#wrapper * {
text-align: left; /* counter to the IE5 code above */
}
And in your HTML code:
Code:
<body>
<div id="wrapper">
All your other page code here.
</div>
</body>
Y'all should be at least close after that.
|