Jump to content

transparent textarea & scrollbar


Shax

Recommended Posts

#transparentarea {/*Whatever*/opacity: .5;					  /*FireFox*/filter: alpha(opacity=50);  /*IE*/}

Add the opacity and filter to any part of your css code. This will also result in the scrollbar being translucent in Microsoft Internet Explorer.

Link to comment
Share on other sites

I wouldnt use a text area unless you want the user to type something in?Try something like thisHTML:

<div class="blobtext" style="overflow:auto">Your text goes here</div>

CSS:

.blobtext{  filter:alpha(opacity=100); -moz-opacity: 1.0;  opacity: 1.0; -khtml-opacity: 1.0; position:relative overflow : auto; height:340px; width:280px; }

Obviously you'd change the values to your personal preference :)100 or 1.0 won't change anything, :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...