GIDForums  

Go Back   GIDForums > Webmaster Forums > Web Design Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 14-Feb-2006, 08:59
muruganraj muruganraj is offline
New Member
 
Join Date: Feb 2006
Posts: 1
muruganraj is on a distinguished road
Smile

Problem with text-indent style ,<select> tag on IE


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 Code:
<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.
Last edited by cable_guy_67 : 14-Feb-2006 at 09:14. Reason: Please enclose html code in [html] ... [/html] tags
  #2  
Old 10-Mar-2006, 15:55
WebD WebD is offline
New Member
 
Join Date: Mar 2006
Posts: 19
WebD is on a distinguished road

Re: Problem with text-indent style ,<select> tag on IE


text-indent? Is that a standardized tag? Have you tried doing a margin-left?
__________________
WebDivisor - Providing Paramount Potential
http://www.webdivisor.com/wd/affiliates/ - http://www.webdivisor.com/as/affiliatesignup.aspx
http://www.webdivisor.com/sd/
  #3  
Old 10-Mar-2006, 19:25
crystalattice's Avatar
crystalattice crystalattice is offline
Flame War Instigator
 
Join Date: Apr 2004
Location: San Diego
Posts: 1,534
crystalattice is just really nicecrystalattice is just really nicecrystalattice is just really nicecrystalattice is just really nicecrystalattice is just really nice

Re: Problem with text-indent style ,<select> tag on IE


You might also be able to try padding or some of the box styles to get it working. I don't recall having ever heard of text-indent as a valid tag or style.
__________________
Common Sense v2.0-Striving to make the world a little bit smarter.
 
 

Recent GIDBlogNARMY by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
need help on text file analyser ffantasy C Programming Language 1 05-Sep-2005 13:44
Problem reading non-English text from DB shvalb CPP / C++ Forum 1 20-Feb-2005 22:19
saving html text dopee MySQL / PHP Forum 1 17-Jan-2005 04:15
CD burner wont burn!! robertli55 Computer Hardware Forum 1 18-Jun-2004 10:53
Yet another CD burner problem: Lite-On LSC-24082K Erwin Computer Hardware Forum 1 22-May-2004 11:28

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 01:50.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.