473,385 Members | 1,661 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,385 software developers and data experts.

Label without <span>

Is there some way to make the label not add a <span> tag?
For example I don't need any styles applied or position set so I could as
well get rid of <span>.
Or is there some other type of control that I could use instead of label
that doesn't add a tag like span or div?

Thank you.
Nov 18 '05 #1
2 3643
WebControls.Literal

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/
"Andrei Pociu" <an**********@geekpedia.com> wrote in message
news:ey**************@TK2MSFTNGP15.phx.gbl...
Is there some way to make the label not add a <span> tag?
For example I don't need any styles applied or position set so I could as
well get rid of <span>.
Or is there some other type of control that I could use instead of label
that doesn't add a tag like span or div?

Thank you.

Nov 18 '05 #2
Thanks Karl!

I knew about the literal control but I had the false impression that it uses
span too.
It's exactly what I wanted, thanks again.

"Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net>
wrote in message news:eS****************@TK2MSFTNGP12.phx.gbl...
WebControls.Literal

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/
"Andrei Pociu" <an**********@geekpedia.com> wrote in message
news:ey**************@TK2MSFTNGP15.phx.gbl...
Is there some way to make the label not add a <span> tag?
For example I don't need any styles applied or position set so I could as
well get rid of <span>.
Or is there some other type of control that I could use instead of label
that doesn't add a tag like span or div?

Thank you.


Nov 18 '05 #3

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

Similar topics

3
by: Alexander Ross | last post by:
I have an html snippet, and I want to remove any <span> tags that have a specific attribute (class=none) ex. The quick brown <span class="animal">fox</span> jumped <span...
1
by: CLS | last post by:
Howdy, How do you write pure text out from a label? I don't want the <span> tags. For example: <script> Owner_FullName.Text = "Lynn Solomon" </script>
3
by: Andrew Tang | last post by:
Hi. I'm having problems with the following code. The last line seems to be in the wrong place, its been moved down slightly by about 3 pixels in IE6. <html> <head> <title>Lorem Ipsum</title>...
18
by: Timothy Casey | last post by:
Thanks in advance... =~= Timothy Casey South Australia worloq@iprimus.com.au Formerly: casey@smart.net.au
9
by: Wang, Jay | last post by:
Hello, all, I would like to enable some text between <SPAN url="http://www.testserver.com/">WORD TO BE DRAGGED </SPAN>. I put some javascript and it will extract http://www.testserver.com/ from...
0
by: Darren Li | last post by:
Hi, I use .net Label web control in my web app., which will generate <Span> tag WITH style attributes (width;height) on client side browser. I have 2 questions: 1. If the client side browser...
5
by: garthb | last post by:
Hello, I have a site which I've been developing locally with VS2k3 Pro. I have some browsercap information in my web.config to help identify Firefox as an upscale browser. It works great...
2
by: xhe | last post by:
I met a very headache problem in javascript, I think this might be difference between IE and NS / Safari. I have a text area <form> <textarea name='tex1' onkeyup='displayit();'></textarea>...
1
by: shivani anand | last post by:
Hi.. I have a doubt. I have some code.. <span class="test1"> my screeen </span> I simply changed it to. <h2 class = "test1"> my screen </h2>
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: 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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.