Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Problem with text-indent style ,<select> tag on IE
Old 02-14-2006, 11:22 AM Problem with text-indent style ,<select> tag on IE
Junior Talker

Posts: 1
Trades: 0
Hi Developers,
i tried text-indent style class for <select> <option> tag .. The following given code is working on Mozilla fire box browser, but it is not working on IE..
I am trying to build a tree structure in the list box with multiple levels without '&nbsp;' and <OPTGROUP> does not support multiple levels.

Here is the example with multiple levels.
<html>
<head>
<title>Main </title>
<style>
.style {color:green;font-weight:bold}
.style1 {text-indent:45px;color:red;}
.style2 {text-indent:90px;color:blue;}
.style3 {text-indent:135px;color:green;}
</style>
</head>
<body>
<form name="form1">
<select name="retail" >
<option selected disabled value="">Tree Structure</option>
<option value="Father" class="style">Father</option>
<option class="style1" value="/retail/chandler/">Son 1</option>
<option class="style2" value="/retail/chandler/">Grand Son 1</option>
<option class="style2" value="/retail/chandler/">Grand Son 2</option>
<option class="style3" value="/retail/chandler/">Great Grand Son 1</option>
<option class="style3" value="/retail/chandler/">Great Grand Son 2</option>
<option class="style2" value="/retail/chandler/">Grand Son 3</option>
<option class="style1" value="/retail/chandler/">Son 2</option>
</select>
</form>
</body>
</html>

Please help me out by providing a solution to this issue.
muruganraj is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-19-2006, 08:25 AM Re: Problem with text-indent style ,<select> tag on IE
goldingh99's Avatar
Average Talker

Posts: 20
Trades: 0
unfortunately i dont think that you can do a lot about this as internet explorer does not work well with select you will probably have to entities to change the position of the text (&emsp; gives a bigger space than &nbsp; )

another thing you could do is make you website behave differently depending on the browser though this cannot be done with html alone

hope this helps
goldingh99 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Problem with text-indent style ,<select> tag on IE
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.22117 seconds with 12 queries