fluxconstant
07-15-2008, 09:12 PM
Hello,
I am trying to set up a two column section in the main section of my site. Each box has a different amount of text. I would like to get all boxes to have the same width and height, even when resized.
The page can be found at http://students.depaul.edu/~sakel/Trading_Tools.htm
As you can see, the boxes don't match up in width and height, nor do they stay the same size when resizing the browser window. For the actual content boxes, I used a method that does not use images. I tried wrapping the boxes in a 100% width table and having each <td> have a 50% (or less) width each.
Below is the CSS used for the content boxes. Any help would be appreciated. The problem may be as simple as altering the tables. I doubt it has anything to do with the CSS for the boxes, as they work just fine when having a one column layout.
/* Rounded Boxes for About Us Page - Blue */
.b1h, .b2h, .b3h, .b4h, .b2bh, .b3bh, .b4bh{font-size:1px; overflow:hidden; display:block;}
.b1h {height:1px; background:#aaa; margin:0 5px;}
.b2h, .b2bh {height:1px; background:#fff; border-right:2px solid #aaa; border-left:2px solid #aaa; margin:0 3px;}
.b3h, .b3bh {height:1px; background:#fff; border-right:1px solid #aaa; border-left:1px solid #aaa; margin:0 2px;}
.b4h, .b4bh {height:2px; background:#fff; border-right:1px solid #aaa; border-left:1px solid #aaa; margin:0 1px;}
.b2bh, .b3bh, .b4bh {background: #325C74;}
.headh {background: #fff; border-right:1px solid #aaa; border-left:1px solid #aaa;}
.headh h3 {margin: 0px 10px 0px 10px; padding-bottom: 3px;}
.contenth {background: #236B8E; color: #fff; font-size: 0.7em; line-height: 1.7em; font-family: Verdana, Arial; border-right:1px solid #aaa; border-left:1px solid #aaa; padding-left: 10px; padding-right: 12px; padding-top: 8px;}
.contenth div {padding-left: 2px; padding-right: 2px; padding-top: 2px;}
I am trying to set up a two column section in the main section of my site. Each box has a different amount of text. I would like to get all boxes to have the same width and height, even when resized.
The page can be found at http://students.depaul.edu/~sakel/Trading_Tools.htm
As you can see, the boxes don't match up in width and height, nor do they stay the same size when resizing the browser window. For the actual content boxes, I used a method that does not use images. I tried wrapping the boxes in a 100% width table and having each <td> have a 50% (or less) width each.
Below is the CSS used for the content boxes. Any help would be appreciated. The problem may be as simple as altering the tables. I doubt it has anything to do with the CSS for the boxes, as they work just fine when having a one column layout.
/* Rounded Boxes for About Us Page - Blue */
.b1h, .b2h, .b3h, .b4h, .b2bh, .b3bh, .b4bh{font-size:1px; overflow:hidden; display:block;}
.b1h {height:1px; background:#aaa; margin:0 5px;}
.b2h, .b2bh {height:1px; background:#fff; border-right:2px solid #aaa; border-left:2px solid #aaa; margin:0 3px;}
.b3h, .b3bh {height:1px; background:#fff; border-right:1px solid #aaa; border-left:1px solid #aaa; margin:0 2px;}
.b4h, .b4bh {height:2px; background:#fff; border-right:1px solid #aaa; border-left:1px solid #aaa; margin:0 1px;}
.b2bh, .b3bh, .b4bh {background: #325C74;}
.headh {background: #fff; border-right:1px solid #aaa; border-left:1px solid #aaa;}
.headh h3 {margin: 0px 10px 0px 10px; padding-bottom: 3px;}
.contenth {background: #236B8E; color: #fff; font-size: 0.7em; line-height: 1.7em; font-family: Verdana, Arial; border-right:1px solid #aaa; border-left:1px solid #aaa; padding-left: 10px; padding-right: 12px; padding-top: 8px;}
.contenth div {padding-left: 2px; padding-right: 2px; padding-top: 2px;}