473,395 Members | 1,790 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.

Style sheet formatting not working with Multiline text box.

Hi

We are using style sheets to set the font of our labels and text boxes.
This has been working great until we required a text box with a textmode of
Multiline.

The control picks up the correct font/size until the text mode is changed
from single line to multiline.

We're currently using the H1, H2, H3 and Body tags for the page.
Should we be using something else for multiline text boxes or have i missed
something else.

Cheers

Chris


Nov 18 '05 #1
2 4587
Chris wrote:
Hi

We are using style sheets to set the font of our labels and text
boxes. This has been working great until we required a text box with
a textmode of Multiline.

The control picks up the correct font/size until the text mode is
changed from single line to multiline.

We're currently using the H1, H2, H3 and Body tags for the page.
Should we be using something else for multiline text boxes or have i
missed something else.

Cheers

Chris


A single-line textbox renders as a <input type=text>,
a multiline textbox as <textarea>.
Why it doesn't work for you when you use only H1..H3 and body,
I don't know.

Hans Kesting
Nov 18 '05 #2
Hi Hans

Cheers for the post.
I created a TextArea tag in the style.css and now its working great.
Cheers for your time

Chris
"Hans Kesting" <ne***********@spamgourmet.com> wrote in message
news:ec*************@TK2MSFTNGP09.phx.gbl...
Chris wrote:
Hi

We are using style sheets to set the font of our labels and text
boxes. This has been working great until we required a text box with
a textmode of Multiline.

The control picks up the correct font/size until the text mode is
changed from single line to multiline.

We're currently using the H1, H2, H3 and Body tags for the page.
Should we be using something else for multiline text boxes or have i
missed something else.

Cheers

Chris


A single-line textbox renders as a <input type=text>,
a multiline textbox as <textarea>.
Why it doesn't work for you when you use only H1..H3 and body,
I don't know.

Hans Kesting

Nov 18 '05 #3

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

Similar topics

3
by: macgyver | last post by:
This is a strange question, and I think the answer is NO, but I am asking anyway. I am a member of a website which allows us to alter our member profiles. Using css in the middle of the profile...
4
by: Wintersrush | last post by:
I am working on a website that is using a Cascading Style Sheet. I've created the primary webpages and .css page. The format is the same throughout the entire website EXCEPT the color of the...
1
by: mfurey | last post by:
Can someone look at the following page and tell me what I did wrong with the style sheet linkage, or perhaps the document type declaration? I had this working properly off of one server, but now...
8
by: JT | last post by:
Hi, I have done a fair amount of style editing inline in ASP. I'm now using VS 2005 with a standard web project (not Web Application Project). This is my first foray into CSS in a style sheet...
8
by: pamelafluente | last post by:
Hi guys, Is it possible to add "onload" (via Javascript) a new class to the <styleheader section? If yes, how would that be done ? <style type="text/css" media="screen"> .NewStyleClass{...
10
by: pamelafluente | last post by:
Hi, this time I am trying to add a style on the fly.I wish equivalency with this one (only the menuItemStyle line): <head> <style type="text/css" media="screen"> ... some static styles ......
3
by: Martin Bretschneider | last post by:
Hi, ms word should output xhtml without any css style. Tidy (http://tidy.sourceforge.net/) helps quite a lot but leaves the css styles like the following: <p class="P11 c2">foo</p> <ul...
4
by: coconet | last post by:
Server is Win2K3/IIS6. I have an ASPX page with this in the <headtag: <link rel="stylesheet" type="text/css" href="<% Response.Write( "http://" + Request.ServerVariables.ToString() +...
3
by: =?Utf-8?B?U3ViYQ==?= | last post by:
I am using a asp page to dynamically create a stylesheet my asp page creates the following css element when i call the asp page my typing the url in the browser. My asp page works...
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
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
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
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,...
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.