Go Back   PCMech Forums > Help & Discussion > Internet, Web Applications, & The Cloud

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 06-13-2006, 09:55 AM   #1
Member (10 bit)
 
Join Date: Mar 2002
Location: Buffalo NY
Posts: 512
Drop down box doesn't display properly in Opera or Firefox

This site;
http://www.ddktele.com/

Using either Opera or Firefox the drop down box at the top of the page (that is suppose to be just a one line reteangle) shows as a tall large retangle instead. It shows WORSE in Firefox. Of couse it displays properly in Idiot Exploiter since that was where it was checked.

I brought this to the attention to the webmaster and his support tech who is very pro M$ (anything else is garbage according to him) and the usual answer is the % of Opera and Firefox users compared to IE users, it isn't worth the time to correct any mistakes validation sites report.

My question is why doesn't it show properly? Where is the problem and how can it be corrected?
Attached Images
File Type: jpg Opera test.jpg (18.7 KB, 51 views)
File Type: jpg Firefox test.jpg (76.4 KB, 51 views)
videobruce is offline   Reply With Quote
Old 06-13-2006, 10:10 AM   #2
Professional gadfly
 
doctorgonzo's Avatar
 
Join Date: Jan 2002
Location: Minneapolis, MN
Posts: 6,364
Send a message via MSN to doctorgonzo
The problem is with this line:

HTML Code:
<SELECT NAME="Category" ONCHANGE="GoUrl(this)" size="1" style="width: 270; height: 324; padding-left: 0">
Remove the "height: 324;" portion and it will display correctly everywhere.

And I'm not even a web developer. I'm not sure exactly, but in this case I think that Firefox and Opera are doing the correct thing: the height is set to 324, and so Firefox and Opera are dutifully displaying a dropdown box with a height of 324 pixels. IE is ignoring this, since IE ignores lots of things and doesn't adhere to standards.
doctorgonzo is offline   Reply With Quote
Old 06-13-2006, 10:35 AM   #3
Member (10 bit)
 
Join Date: Mar 2002
Location: Buffalo NY
Posts: 512
Quote:
IE is ignoring this, since IE ignores lots of things and doesn't adhere to standards.
Very well said. Chris, are you listening??????

It's not called Idiot Exploiter for nothing.
videobruce is offline   Reply With Quote
Old 06-13-2006, 10:40 AM   #4
Professional gadfly
 
doctorgonzo's Avatar
 
Join Date: Jan 2002
Location: Minneapolis, MN
Posts: 6,364
Send a message via MSN to doctorgonzo
Yes, sadly the use of IE generally leads to sloppy code, since IE plays fast and loose with standards.

In this case, I am curious as to how this page was coded in the first place. Somebody must have put that "height: 324;" attribute in there for some reason; it didn't appear out of thin air. Whoever did so either wanted the dropdown box to be that big, or didn't know what they were doing and stuck it in there at random?
doctorgonzo is offline   Reply With Quote
Old 06-14-2006, 07:07 AM   #5
Member (10 bit)
 
Join Date: Mar 2002
Location: Buffalo NY
Posts: 512
Quote:
the use of IE generally leads to sloppy code, since IE plays fast and loose with standards.
Just like their O/S's..................
Guess I'm not the only one that "bashes".
videobruce is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 11:41 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2