View Full Version : Spacing out columns evenly?
ar
June 11th, 2007, 03:23 PM
I'm kinda a nub when it comes to Dreamweaver. In a table, how do you space out uneven columns so they're all equal in size?
Mucho Grashias
Edit: Scratch that, how do you space out images evenly within a single row?
albinus
June 12th, 2007, 02:16 PM
Easy as pie. This is an older technique, but it gets the job done.
I create a table with the following widths, using pixel widths, and not percentages.
Column 1: 200px wide
Column 2: 5px wide (space between images)
Column 3: 200px wide
Column 4: 5px wide
Column 5: 200px wide
etc.
Create a blank GIF file that's 1px x 1px and save it as a spacer. In your HTML, put your spacer.gif in the columns that are 5px wide and specify the width of the spacer.gif to be 5pixels wide.
Enjoy!
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.