What you have to do to get divs to line up next to each other is to "float" them left or right. When you float a div you need to assign it a specific width (can be a % in this case it's a px value). I've added a right margin to the boxes to move them away from each other. You'll probably need to mess with them a bit to get the exact measurements you need. This was tested briefly in FF.
(BTW - IE has a bug where it sometimes doubles the margins of adjacent floats so a floating div might end up being 20px from it's neighbour rather than 10px. If you find this happening to you, adding "display:inline" to the CSS rule will get round it)
BillM -> RE: Layout Question (12/6/2006 22:54:17)
Hi Tailside
That worked perfectly !
I find some of this CSS tough going but the end results are so much better and the load times are amazing.
No problem Bill - glad it worked. There are some annoying little issues that it takes a while to get used to. You may be already doing this, so sorry if I'm preaching to the converted but the best idea is to use Firefox as your benchmark when coding (with the web developer toolbar installed - it's vital for us!) then check in Opera and fix for IE - try it the other way around and you'll turn prematurely grey!
BillM -> RE: Layout Question (12/7/2006 8:02:21)
Yikes !!
I had know idea about all this, never even seen firefox before !
Will certainly download it and Opera and restart my project.