943,882 Members | Top Members by Rank

Ad:
Jun 27th, 2008
0

Drop down Issue

Expand Post »
HI I am having Drop dwon box with different font size drop down items... My code is working fine with Firefox but not working properly with IE can some body help me

My Code :

<body>
<select name="">
<option selectd style="font-size:35px">option Black</option>
<option style="color: red; font-family : ariel; font-size : 10pt">option Red</option>
<option style="color: blue; font-family : ariel; font-size : 14pt">option Blue</option>
<option style="color: green; font-family : ariel; font-size : 16pt">option Green</option>
<option style="color: yellow; font-family : ariel; font-size : 20pt">option Yellow</option>
<option style="color: #cccccc; font-family : ariel; font-size : 24pt">option Grey</option>
</select>
</body>

Thanks
Irayya
Last edited by kiraniru; Jun 27th, 2008 at 7:20 am.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
kiraniru is offline Offline
7 posts
since Jun 2008
Jun 27th, 2008
0

Re: Drop down Issue

The property "selectd" is spelled wrong, and should be selected="selected" .
Reputation Points: 730
Solved Threads: 181
Nearly a Senior Poster
MidiMagic is offline Offline
3,314 posts
since Jan 2007
Jun 28th, 2008
0

Re: Drop down Issue

Click to Expand / Collapse  Quote originally posted by MidiMagic ...
The property "selectd" is spelled wrong, and should be selected="selected" .
if selected spelling writes correctly then it's not working in IExplore
I think font size not working in IExplore
Reputation Points: 12
Solved Threads: 34
Posting Whiz
sreein1986 is offline Offline
306 posts
since May 2008
Jun 30th, 2008
0

Re: Drop down Issue

Is ariel a font? I've only heard of arial.
Reputation Points: 20
Solved Threads: 8
Junior Poster in Training
Dannyo329 is offline Offline
79 posts
since Apr 2008
Jun 30th, 2008
0

Re: Drop down Issue

if writes total are rightly its not working IExplore
Reputation Points: 10
Solved Threads: 0
Newbie Poster
sushilchandu is offline Offline
4 posts
since Jun 2008
Jul 1st, 2008
0

Re: Drop down Issue

IE is full of bugs when it comes to css. There are many things that work well with FF and not at all (or at least requiring a hack) for IE.

Hover is one
<li> is another (the tribute used in drop down menu's)
Reputation Points: 13
Solved Threads: 7
Junior Poster in Training
casper_wang is offline Offline
67 posts
since Jul 2008
Jul 2nd, 2008
0

Re: Drop down Issue

More than just IE not implementing things, you should be aware that form elements in particular (like drop down lists), have very different support across many browsers. You will not be able to style them all exactly the same no matter how hard you try, so you should design with that limitation in mind.
Reputation Points: 33
Solved Threads: 2
Light Poster
Ken Sharpe is offline Offline
48 posts
since Jul 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in HTML and CSS Forum Timeline: Text not scrolling to last message
Next Thread in HTML and CSS Forum Timeline: IE width bug for Wordpress theme





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC