|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Is there possible (using style sheets or similar) to make transparent a form element (such as textboxs, lists, ...) so the background image could be seen trought it?
Thanks in advance! |
|
#2
|
|||
|
|||
|
No.
|
|
#3
|
||||
|
||||
|
errrrr - yes - in IE
in style sheet - try something like TEXTAREA { width:600;height:120; font: 8pt Verdana; background:white url(images/yourimages.gif); margin:5px; border:none; overflow:scroll; } this will not work with all form elements - and will (as usual) not work in Netscape - but fine in IE 4&5 - trap to avoid - you may need to do 2 style sheets 1 for NS 1 for IE and then do a bit of browser sniffing and doc.write the CSS dependant on the browser - I posted the textarea example as it gives the greatest problems in netscape - but you can use similar code for input , select etc Regards Simon ------------------ Simon Wheeler FirePages -DHTML/PHP/MySQL |
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > transparent elements in a form? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|