homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

drop down ie issue mozilla looks fine

5+ Year Member

Msg#: 3617065 posted 12:45 pm on Apr 2, 2008 (gmt 0)

I have a drop down, the drop down values looks fine in mozilla but it doesnot show the full content in IE6 and 7.
I have set the width of the select box to 120px I canít increase it otherwise the layout may break.
Is there any way we can disply the full text in drop down in IE like it shows in mozilla, the sample code is below.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<html xmlns="http://www.w3.org/1999/xhtml">
<style type="text/css" media="screen">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>drop down length</title>

<form name="testform" id="testform1">
<select name="test" id="test" width="60px">
<option selected="selected" value="value1">Click here</option>
<option value="click here">this line is not visible in IE, it breaks in between</option>
<option value="click here">this line is not visible in IE. looks fine in mozilla</option>



Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved