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

Html - Simple Question

Hi

At the moment, I have part of my web page set up using
Labels but for efficiency (i.e. saving time going back to
the server each time I open up the page) I want to use
static text HTML for some of my labels. I've had a go at
this but I'm finding that the text can be altered on the
web page so how do I stop this?

At the moment I have,
<INPUT style="BORDER-RIGHT: silver thin solid; BORDER-TOP:
silver thin solid; FONT-WEIGHT: bold; FONT-SIZE: x-large;
Z-INDEX: 104; LEFT: 236px; MARGIN: 1px; BORDER-LEFT:
silver thin solid; WIDTH: 590px; COLOR: gray; BORDER-
BOTTOM: silver thin solid; FONT-FAMILY: 'Palatino
Linotype'; POSITION: absolute; TOP: 20px; HEIGHT: 48px;
BACKGROUND-COLOR: transparent"
type=text size=93 value="The text part" Width="
Height="runat="server" 595px? 49px?>

I know how to put just basic text in but I need to include
the style features - can anyone help?
Nov 18 '05 #1
1 878
Found it - there's a readonly option.
Hope that's of use to someone else.
-----Original Message-----
Hi

At the moment, I have part of my web page set up using
Labels but for efficiency (i.e. saving time going back to
the server each time I open up the page) I want to use
static text HTML for some of my labels. I've had a go at
this but I'm finding that the text can be altered on the
web page so how do I stop this?

At the moment I have,
<INPUT style="BORDER-RIGHT: silver thin solid; BORDER- TOP:silver thin solid; FONT-WEIGHT: bold; FONT-SIZE: x-large;
Z-INDEX: 104; LEFT: 236px; MARGIN: 1px; BORDER-LEFT:
silver thin solid; WIDTH: 590px; COLOR: gray; BORDER-
BOTTOM: silver thin solid; FONT-FAMILY: 'Palatino
Linotype'; POSITION: absolute; TOP: 20px; HEIGHT: 48px;
BACKGROUND-COLOR: transparent"
type=text size=93 value="The text part" Width="
Height="runat="server" 595px? 49px?>

I know how to put just basic text in but I need to includethe style features - can anyone help?
.

Nov 18 '05 #2

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

Similar topics

7
by: gene.ellis | last post by:
Good morning. I am racking my brains over what seems like should be a simple question. I have a string that contains text and html. Basically, I would like to grab the HTML tags from the string and...
5
by: Donald Firesmith | last post by:
Are html tags allowed within meta tags? Specifically, if I have html tags within a <definition> tag within XML, can I use the definition as the content within the <meta content="description> tag? ...
4
by: VK | last post by:
09/30/03 Phil Powell posted his "Radio buttons do not appear checked" question. This question led to a long discussion about the naming rules applying to variables, objects, methods and properties...
16
by: Terry | last post by:
Hi, This is a newbie's question. I want to preload 4 images and only when all 4 images has been loaded into browser's cache, I want to start a slideshow() function. If images are not completed...
21
by: BT | last post by:
I inherited a simple page that needs to be Strict HTML and I'm not very familiar with this standard. What I'm trying to do _should be_ pretty simple so I hope someone can point me in the right...
2
by: Hazzard | last post by:
I just realized that the code I inherited is using all asp.net server controls (ie. webform controls) and when I try to update textboxes on the client side, I lose the new value of the textbox when...
5
by: serge calderara | last post by:
Dear all, I am new in asp.net and prepare myself for exam I still have dificulties to understand the difference between server control and HTML control. Okey things whcih are clear are the fact...
9
by: Jason Gogela | last post by:
Does anyone out there know why I should care whether a <span> is nested in a <p> or vice versa? What is the bennafit of adhering to this standard? It seems to me that regardless of which way you...
7
by: pamelafluente | last post by:
The precious input given by Laurent, Martin, Benjamin about XMLHttpRequest in Javascript, has made me think that perhaps I could improve what I am currently doing by using Ajax. Let's make it...
9
by: Tony Girgenti | last post by:
Hello. I'm developing and testing a web application using VS.NET 2003, VB, .NET Framework 1.1.4322, ASP.NET 1.1.4322 and IIS5.1 on a WIN XP Pro, SP2 computer. I'm using a web form. For a...
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?
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.