Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hide Select box's border 1

Status
Not open for further replies.

vbkris

Programmer
Jan 20, 2003
5,994
IN
hi,
i just got wrote this code to hide the border of a select box.

faq215-5316

if any better way, keep me informed....

Known is handfull, Unknown is worldfull
 
should not, there is no coding involved, its plain HTML...

Known is handfull, Unknown is worldfull
 

Also, you're linking a CSS in, which you haven't posted the source to:

Code:
<link rel="stylesheet" href="../design-style.css" type="text/css">

Maybe you could edit your FAQ and put the CSS on the page??

Dan
 
done....

Known is handfull, Unknown is worldfull
 
Comes out a mess on my machine. IE and Mozzy. Want screenshots?
 
Er... last option is not visible.
 
well, u may have to workaround with the position of the divs (at the end of the page)...

they hold an IFRAME that CAN be drawn over the select box...

Known is handfull, Unknown is worldfull
 
Note:
sometimes a javascript error props up, ignore it...

Known is handfull, Unknown is worldfull
 
Somehow I don't think that using IFRAME and buncha DIV's to hide border is the way to go... if you know dimensions of SELECT box, set it's position to absolute and set clipping area:
Code:
<Select multiple size="8" style="position: absolute; clip:rect( 3px 229px  133px 3px );">
... 8 options
</select>
 
let me check on this...

Known is handfull, Unknown is worldfull
 
cool...

Known is handfull, Unknown is worldfull
 
vongrunt:
making the style to absolute has some disadvantages, i am uable to draw a <fieldset> around it, any way to solve it???

Known is handfull, Unknown is worldfull
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top