Forum:Vertical allignment in div boxes

Hi I've created a div box with three columns - the first and third of which have two lines of text. Can I centre the text in the middle column in between the two rows, and if so, how?TellyFan 08:46, July 25, 2011 (UTC)


 * Hi TellyFan, how did you create the columns? -- Weas-El ✉  09:01, July 25, 2011 (UTC)

It looks like this: TellyFan 09:28, July 25, 2011 (UTC)


 * You can better use a normal table for that:


 * If you really want to use the divs, just add a margin:


 * - Tjcool007 (Talk) 09:39, July 25, 2011 (UTC)

Thanks! I don't want it as a table - I did it as divboxes deliberatley to avoid the white space between the two colours! Thanks for your help! TellyFan 09:46, July 25, 2011 (UTC)


 * That can be removed actually:


 * - Tjcool007 (Talk) 09:49, July 25, 2011 (UTC)
 * I was in a rush just now as I'm in a library and was running out of session time! I've managed to log back in for 5 minutes! I hadn't noticed straight away that in the second version the colour is missing from the top and bottom. Can this be fixed? The bigger problem with the table is I don't think you can use tables inside infoboxes, can you? That's what it's designed for. TellyFan 09:56, July 25, 2011 (UTC)

Ugh! The preview thing is messing this big time.
 * Thanks for another attempt, but even when you scale the box right down the third column is still underneath the rest of the box! TellyFan 16:55, July 25, 2011 (UTC)