473,387 Members | 1,812 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

textbox with no border possible?

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" />
Jul 19 '08 #1
4 18609
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.
"AAaron123" <aa*******@roadrunner.comwrote in message
news:Ov**************@TK2MSFTNGP05.phx.gbl...
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" />

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

thanks

"Mark Fitzpatrick" <ma******@fitzme.comwrote in message
news:eS**************@TK2MSFTNGP04.phx.gbl...
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.
"AAaron123" <aa*******@roadrunner.comwrote in message
news:Ov**************@TK2MSFTNGP05.phx.gbl...
>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" />


Jul 20 '08 #3
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" />
"AAaron123" <aa*******@roadrunner.comwrote in message
news:Ov**************@TK2MSFTNGP05.phx.gbl...
>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?

Jul 21 '08 #4
That works

thanks

"Moe Sisko" <nullwrote in message
news:e4**************@TK2MSFTNGP06.phx.gbl...
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" />
"AAaron123" <aa*******@roadrunner.comwrote in message
news:Ov**************@TK2MSFTNGP05.phx.gbl...
>>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?


Jul 21 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: rob | last post by:
Hi All, I have an asp script which updates upto 300000 records each time it is run. I would like to have a textbox which says records progressed : then in increments of 100 or 1000 whilst the...
4
by: Rodrigo DeJuana | last post by:
Howdy, I'm new to this .net stuff and really have little to no training. Im trying to create a new page for a web form, so i have been pretty much jsut coping code. I having some issue with...
2
by: moondaddy | last post by:
I want to change the border of a asp.net textbox to thin-solid-blue but when I set the cssclass property to a class in the stylesheet, the border properties in the stylesheet don't have any effect...
8
by: tshad | last post by:
I cannot seem to get the asp:textbox to use classes. Style works fine. I am trying to set the textbox to act like a label in some instance so it doesn't have a border, readonly and the background...
5
by: hanolo | last post by:
Does anyone ever see this happen. I build a form with couple of textbox server control. When user inputs character ` in there, after form post back, the textbox become a line of string such as...
8
by: Filipe Marcelino | last post by:
Hi, I'm trying to create a textbox inheriting from the standard textbox. I would like to: 1. repaint the textbox border; 2. define a color for that border; Till now I made this:
0
by: Jacob Donajkowski | last post by:
Once the user logs in I want to have the users switch from the Roster View to the Profile View and enter their profile infomation and save it. Then the next time they login and go to the Profile...
0
by: sjickells | last post by:
Hi I am having a problem using asp:TextBox's in a transparent table. I have a background image on the page and a table in the middle of the page. I have set the background colour of the table...
2
by: mrutyunjaya | last post by:
hello, i have two textbox column and one button control in gridvie when i click button it will ask plese enter price in first textbox . when enter values it is asking again. how to pass...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.