View Single Post
Old 12-29-2012, 05:01 PM   PM User | #6
Excavator
Master Coder


 
Excavator's Avatar
 
Join Date: Dec 2006
Location: Alaska
Posts: 9,410
Thanks: 22
Thanked 1,765 Times in 1,749 Posts
Excavator has a spectacular aura aboutExcavator has a spectacular aura aboutExcavator has a spectacular aura about
Quote:
1. I can't get three columns to move up and be centered
#wrap still has margin and padding that move your columns down. Remove them to move #content up, like this -
Code:
#wrap {
    background: none repeat scroll 0 0 #FFFFFF;
   /* margin: 53px 0 0;
    padding: 400px 0 45px; */
    width: 100%;
}
Quote:
2. I made the columns bigger, and now they don't line up on the sides of column 2
When you make columns 1 and 3 wider, you also need to adjust the margins on column 2 that make room for 1 and 3.
Like this -
Code:
#col2 {
	height: 400px;
	margin: 0 202px;	
}
__________________
Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad
Excavator is offline   Reply With Quote