How can I style my footer so there are three box that line up side by side?
Hi,
You will need to float the footer elements to get them side by side. You could also get the same effect with inline-blocks.
Also, how can I make the background go all the way across while keeping the content centered at 960px wide?
If you want the BG color to fill the width of the viewport and the rest of your page is full width then you can nest an inner div in the footer and center it with auto margins when you set the 960px width on it.
If I am understanding everything correctly your footer might look something like this. Keep in mind though, fixed heights are never a good idea for elements that contain fluid text. I left your heights in there just for demo purposes.
You could also achieve the same effect by setting up a UL in place of that #inner div I just used. Then the LI would replace all the <p> tags and be styled in the same manner.
It would probably make more sense to do it like that but I’m not sure what your content actually is.
Not suprisingling it looks great in all browsers except for IE. For some reason in all versions of IE the third box in the footer is missing. Any idea if there is a fix for that?