Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
strange problen with select option in Firefox
Old 08-03-2006, 12:54 PM strange problenm with select option in Firefox
sameer's Avatar
Super Talker

Posts: 103
Name: Sameer
Location: India
Trades: 0
I am making css design,
but i have a strange problem with CSS
the design has 3 divs aligned horizontally with float:left
now when i put a options in select box in some child div of the middle div
the third div slides down.

here is how it looks with options in select box >> with select options

the page without options in select box is>>> without select options

can anyone please tell me why its happening?
__________________

Please login or register to view this content. Registration is FREE
|

Please login or register to view this content. Registration is FREE
|

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Last edited by sameer; 08-03-2006 at 01:19 PM..
sameer is offline
Reply With Quote
View Public Profile Visit sameer's homepage!
 
 
Register now for full access!
Old 08-03-2006, 03:06 PM Re: strange problen with select option in Firefox
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
They both look virtually the same to me, did you change something ?
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 08-03-2006, 03:58 PM Re: strange problen with select option in Firefox
sameer's Avatar
Super Talker

Posts: 103
Name: Sameer
Location: India
Trades: 0
they look the same in IE but in Firefox 1.5.0.6 they looks different,
the first page shows both blue divs in one column,
the second page shows both blue divs on left and right end of page( which is perfect ).
__________________

Please login or register to view this content. Registration is FREE
|

Please login or register to view this content. Registration is FREE
|

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE
sameer is offline
Reply With Quote
View Public Profile Visit sameer's homepage!
 
Old 08-03-2006, 04:10 PM Re: strange problen with select option in Firefox
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
I don't use IE.. except to test. I use FF and do have the 1.5.0.6 update.
On both pages I see a blue area on each side of the green form box.

The page has errors in the HTML, clean them up first.
and.. you have a serious case of div-itis.. you rarely need a <div> for every single element on a page.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 08-03-2006, 04:43 PM Re: strange problen with select option in Firefox
sameer's Avatar
Super Talker

Posts: 103
Name: Sameer
Location: India
Trades: 0
hi,
i have validated the code,
well and i also removed a lot of irrelevant coding from it, so it will be easy for you ppl to read,

also i have the image of the problem >>>


the image of view without the options in selectbox is as below


i think this will xplain the well.
__________________

Please login or register to view this content. Registration is FREE
|

Please login or register to view this content. Registration is FREE
|

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Last edited by sameer; 08-03-2006 at 04:53 PM..
sameer is offline
Reply With Quote
View Public Profile Visit sameer's homepage!
 
Old 08-03-2006, 07:16 PM Re: strange problen with select option in Firefox
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Ok.. I see only in your image. When I go to the page with FF, there is nothing in the options box, on either example, therefore I don't see the problem.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 08-03-2006, 07:27 PM Re: strange problen with select option in Firefox
sameer's Avatar
Super Talker

Posts: 103
Name: Sameer
Location: India
Trades: 0
hi,
please checkout now,
i submitted a bug report on mozilla so i was changing the files.
Untitled Document

i have set the option as 'test'

i have removed a lot of coding
so its more easier to spot the problem,
__________________

Please login or register to view this content. Registration is FREE
|

Please login or register to view this content. Registration is FREE
|

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE
sameer is offline
Reply With Quote
View Public Profile Visit sameer's homepage!
 
Old 08-15-2006, 11:07 AM Re: strange problen with select option in Firefox
Junior Talker

Posts: 2
Trades: 0
I have the same problem pushing a div to the bottom too when I have select boxes there/populated.

The divs are floated.

If you can help us all out that would be great!
Androo is offline
Reply With Quote
View Public Profile Visit Androo's homepage!
 
Old 08-15-2006, 11:23 AM Re: strange problen with select option in Firefox
sameer's Avatar
Super Talker

Posts: 103
Name: Sameer
Location: India
Trades: 0
i had reported the bug to FireFox team,
but they just said it will be fixed in next version.
__________________

Please login or register to view this content. Registration is FREE
|

Please login or register to view this content. Registration is FREE
|

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE
sameer is offline
Reply With Quote
View Public Profile Visit sameer's homepage!
 
Old 08-15-2006, 12:14 PM Re: strange problen with select option in Firefox
Junior Talker

Posts: 2
Trades: 0
Cool! Thank you!

I have been playing about but if you add the size attribute to the select box it seems fine

eg

HTML Code:
<select size="2">
<option>Option</option>
<option>Option</option>
</select>
also if you do position: absolute; in the css on a normal select box it does some crazy things.

Last edited by Androo; 08-15-2006 at 12:15 PM..
Androo is offline
Reply With Quote
View Public Profile Visit Androo's homepage!
 
Old 08-15-2006, 12:50 PM Re: strange problen with select option in Firefox
sameer's Avatar
Super Talker

Posts: 103
Name: Sameer
Location: India
Trades: 0
yeh,

it has problem only when size="1"
it works well for other sizes.
but looks wierd.

-sameer
__________________

Please login or register to view this content. Registration is FREE
|

Please login or register to view this content. Registration is FREE
|

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE
sameer is offline
Reply With Quote
View Public Profile Visit sameer's homepage!
 
Old 08-16-2006, 03:58 PM Re: strange problen with select option in Firefox
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
I took out the display:compact, and div #3 pops back up where it blongs and the select box extends down where you'd want it. FF apparently doesn't like display:compact, I'll have to research that.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to strange problen with select option in Firefox
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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





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



Page generated in 0.81797 seconds with 12 queries