textbox with no border possible?

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" />
 
M

Mark Fitzpatrick

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.
 
A

AAaron123

It never occurred to me to just use ="25, 25, 112"
I figured I'd need something likd FromARGB(...

thanks
 
M

Moe Sisko

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" />
 
A

AAaron123

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" />
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top