Reply
Equal box heights?
Old 05-15-2008, 08:12 AM Equal box heights?
Super Talker

Posts: 127
Name: Jess Weiss
Location: Massachusetts
Is there a way for me to get these two boxes to be the same height, without defining the height element in pixels?

http://www.jessweiss.com/tt/index4.html

I'm trying to accomodate flexible font sizes in ems and for the design to not completely break if someone increases the font size on the browser. But if I define the box heights, eventually with the text size changes, the text flows out of the box. I'm talking about the two boxes at the bottom that say "welcome to TrendTrack" and "bill text search". I looked at the faux column model, but I'm not sure if it will work because I don't want the columns to run the entire length of the page. TIA!
__________________
"If you worried about falling off the bike, you'd never get on it" - Lance Armstrong

"The problem with people who have no vices is that generally you can be pretty sure they're going to have some pretty annoying virtues." - Elizabeth Taylor
lynnema is offline
Reply With Quote
View Public Profile Visit lynnema's homepage!
 
When You Register, These Ads Go Away!
Old 05-15-2008, 11:25 AM Re: Equal box heights?
LadynRed's Avatar
Super Moderator

Posts: 6,746
Location: Tennessee
Faux columns could work if you add a div in that center area with the background showing the sides of the boxes, but that may not be the best solution.

Have you tried defining the box height in em's ? That would allow it to grow if the text size also grows. Give compliant browsers a height using min-height. You'll have to feed IE6 & below a defined height, but it's default behavior will stretch to hold content regardless of your set size, so it should work.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club

Last edited by LadynRed : 05-15-2008 at 11:27 AM.
LadynRed is online now
Reply With Quote
View Public Profile
 
Old 05-15-2008, 11:56 AM Re: Equal box heights?
Super Talker

Posts: 127
Name: Jess Weiss
Location: Massachusetts
I now have the whole em height /ie6 hack for min-height going - it actually keeps it from breaking in both ie6 and ie7 in the largest text size available. But if you keep inching up in FF, eventually, while the boxes now stretch, they become different sizes. Any way around that? Thanks!
__________________
"If you worried about falling off the bike, you'd never get on it" - Lance Armstrong

"The problem with people who have no vices is that generally you can be pretty sure they're going to have some pretty annoying virtues." - Elizabeth Taylor
lynnema is offline
Reply With Quote
View Public Profile Visit lynnema's homepage!
 
Old 05-15-2008, 12:11 PM Re: Equal box heights?
LadynRed's Avatar
Super Moderator

Posts: 6,746
Location: Tennessee
Part of it may have to do with the full justification - the bigger the text, the fewer words on a line, the more spacing between words. In addition to that, you just have more text in the left box than you do in the right. I don't think there's any way around that.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
LadynRed is online now
Reply With Quote
View Public Profile
 
Old 05-15-2008, 12:18 PM Re: Equal box heights?
Super Talker

Posts: 127
Name: Jess Weiss
Location: Massachusetts
Yeah, that's what I figured. But a girl can hope, right?? Thanks for your help!!

ETA: I mitigated the problem bit by making one column a lot narrower - gives a few extra steps of increase before the columns become different sizes.
__________________
"If you worried about falling off the bike, you'd never get on it" - Lance Armstrong

"The problem with people who have no vices is that generally you can be pretty sure they're going to have some pretty annoying virtues." - Elizabeth Taylor

Last edited by lynnema : 05-15-2008 at 12:25 PM.
lynnema is offline
Reply With Quote
View Public Profile Visit lynnema's homepage!
 
Reply     « Reply to Equal box heights?
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Webmaster Resources Marketplace:
Software Development Company | Webhosting.UK.com | Text Link Brokers 


   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.13361 seconds with 12 queries