This is a discussion on "Problem with select boxes in FF" within the Web Page Design section. This forum, and the thread "Problem with select boxes in FF are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Problem with select boxes in FF
|
||
| Notices |
![]() |
|
|
LinkBack (1) | Thread Tools |
#1
|
|||
|
|||
|
Problem with select boxes in FF
I have a problem with select boxes in FF. The moment I place them in #containerCenter, the #containerRight div bounces down. Here is the example: http://www.studioweber.ro/mariuszaharia/livrare00.htm . This happens in FF only. As soon as I remove the select boxes, everything looks fine: http://www.studioweber.ro/mariuszaharia/livrare01.htm.
#containerCenter { background-color: #FFF; float: left; width: 553px; margin-right: 17px; margin-bottom: 30px; height: 90%; } #containerRight { float: left; width: 220px; margin-bottom: 30px; background-color: #FFF; display: table; } Could anyone help? I've even tried using a table inside #containerCenter but same result... Thanks in advance, Alex |
|
#2
|
|||
|
|||
|
Re: Problem with select boxes in FF
I'd redo the math.
What's the total width of your design? Add up all the width's of the div's + margins left and rights and see if everything is a bit too wide for the design. Usually if you reduce the size of one of the div's you'll be able to squeeze it all in. |
|
#3
|
||||
|
||||
|
Re: Problem with select boxes in FF
You get slightly different sizing from different browsers for non-specified units of measure (such as input type=text size=). Just start taking a couple of pixels off the floating box widths until it fits.
Actually, the problem is that the height and width of text input areas is that they are dependent on font-size, and different browsers so often give you different font sizes. One thing that might help is to specify a class like input.text {font-size: whatever; line-height: whatever;} and do it in "pt", then put the class inside the input (ie 'class="text"'). Of course, if consistant with your design, you can also give one column a flexible width and/or use percentages for column widths. IE7 (unlike ie6) recognizes minimum width, in my limited experience. |
![]() |
| Tags |
| select boxes |
| Thread Tools | |
|
|
LinkBacks (?)
LinkBack to this Thread: http://webforumz.com/web-page-design/21778-problem-with-select-boxes-in-ff.htm
|
||||
| Posted By | For | Type | Date | |
| Article Feed » Problem with select boxes in FF | This thread | Pingback | Feb 19th, 2007 21:20 | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| chained select box dependable select | thenamenoonehastaken | JavaScript Forum | 0 | Feb 8th, 2008 06:49 |
| rounded boxes with CSS | stupid dog | Web Page Design | 7 | Aug 21st, 2007 19:22 |
| Help! I can't get my boxes to align!! | Moonlilly | Starting Out | 34 | Feb 2nd, 2007 00:26 |
| Input Boxes | Aaron1988 | Web Page Design | 30 | Feb 1st, 2007 11:57 |