Welcome to WebmasterWorld Guest from

Forum Moderators: incrediBILL

Message Too Old, No Replies

drop down ie issue mozilla looks fine



12:45 pm on Apr 2, 2008 (gmt 0)

10+ Year Member

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>



Featured Threads

Hot Threads This Week

Hot Threads This Month