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

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

HTML Forum

    
drop down ie issue mozilla looks fine
designer123




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

Hi
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"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style type="text/css" media="screen">
select{
width:120px;
}
</style>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>drop down length</title>
</head>

<body>
<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>
</select>
</form>

</body>
</html>

 

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