473,588 Members | 2,471 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 4598
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******** *****@TK2MSFTNG P09.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
5488
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 area allows one to overide the normal formatting of the entire page and truly customize it. But there is a span-style tag which gives an ugly blue background to certain text which I want to get rid of. This is the tag: <span...
4
1826
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 headings and hyperlinks. I need to make each site have a different color of those items. How do I make the changes to each page, but keep the same .CSS? Any feedback would be GREATLY appreciated!
1
1794
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 that it's on the new server it seems that IE6 is not pulling the style sheet, whereas all other browsers I tested this in are showing everything properly: http://tinyurl.com/ecfpq I know it must be something basic I'm missing... Thanks in...
8
6679
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 and also my first true attempt at using master pages. I tried setting up a style sheet with a simple setting to float an image to the right and it had no effect on the image. Then, I tried putting the style code in my ASPX file as such,
8
41504
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{ whatever } </style>
10
2673
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 ... ..menuItemStyle{ background:#ddeeff;border-width:1px;border-style:inset;font-family:Arial;font-size:11px
3
3128
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 class="c4"> <li class="P11 c3"> <p class="P11 c2">bar</p>
4
4203
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() + this.ResolveUrl("~") + "styles/styledefault.aspx"); %>" />
3
2931
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 fine............ body { font-family : Arial, Helvetica, Sans-Serif, Verdana ; margin : 0 ; padding : 0 ; }
0
7929
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
7862
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8357
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
6634
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
5729
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5398
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3847
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
3887
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1196
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.