textbox with no border possible?

  • Thread starter Thread starter AAaron123
  • Start date Start date
A

AAaron123

I want a textbox with a left scroll bar and the following produces it.

I'd also like it to have no border. The following produces a border.

Can I have one with no border?

Also, can I somehow use 25,25,112 for the color(i.e., not hex)?

thanks

<asp:TextBox ID="TextBox1" Runat="server" border="0" BackColor="0xff191970"
ForeColor="Yellow" width="95%" height="720px" TextMode="MultiLine"
Font-Size="Large" />
 
Yes, you can use 25, 25, 112. But you have to use hex in the correct way.
Your background color should be BackColor="#191970". I don't have any advice
on a not having a border though, haven't been able to come up with anything
like that myself.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - Expression.
 
It never occurred to me to just use ="25, 25, 112"
I figured I'd need something likd FromARGB(...

thanks
 
One way which seems to remove the border is : style="border: none"

So try :

<asp:TextBox ID="TextBox1" Runat="server" style="border: none"
BackColor="0xff191970"
ForeColor="Yellow" width="95%" height="720px" TextMode="MultiLine"
Font-Size="Large" />
 
That works

thanks

Moe Sisko said:
One way which seems to remove the border is : style="border: none"

So try :

<asp:TextBox ID="TextBox1" Runat="server" style="border: none"
BackColor="0xff191970"
ForeColor="Yellow" width="95%" height="720px" TextMode="MultiLine"
Font-Size="Large" />
 
Back
Top