473,385 Members | 1,973 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.

HTML Textarea

This is more of an HTML/CSS question, but I figure someone in here might
know.

I'm using in the stylesheet:
BORDER-RIGHT: none;
BORDER-TOP: none;
BORDER-LEFT: none;
BORDER-BOTTOM: none;
OVERFLOW: hidden;

to hide the borders and scrollbar, which works in windows browsers, but
in MAC safari the borders and scrollbar still show up and in MAC
explorer the scrollbar still shows up.

Any ideas?

Thanks

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 19 '05 #1
2 4085
It might just be that safari doesn't support those CSS attributes, or at
least not for certain elements like TEXTAREA. Have you tried also using
scrollbars=0/none/no/auto, scrolling=0/none/no/auto in the TEXTAREA tag as
opposed to relying solely on CSS?

You might try a Mac / web newsgroup. ASP doesn't have any control over
client-side style sheets.

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"Mike Labman" <ml*****@omnitecinc.com> wrote in message
news:#1**************@TK2MSFTNGP12.phx.gbl...
This is more of an HTML/CSS question, but I figure someone in here might
know.

I'm using in the stylesheet:
BORDER-RIGHT: none;
BORDER-TOP: none;
BORDER-LEFT: none;
BORDER-BOTTOM: none;
OVERFLOW: hidden;

to hide the borders and scrollbar, which works in windows browsers, but
in MAC safari the borders and scrollbar still show up and in MAC
explorer the scrollbar still shows up.

Any ideas?

Thanks

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Jul 19 '05 #2
Mike...

"Mike Labman" wrote:
: This is more of an HTML/CSS question, but I figure someone in here might
: know.
You're right, it is but more specifically which CSS attributes are supported
by which browsers. Someone in here might know how to fix your car too but
that doesn't make it the forum for auto mechanics. Jes' sayin'...

: I'm using in the stylesheet:
: BORDER-RIGHT: none;
: BORDER-TOP: none;
: BORDER-LEFT: none;
: BORDER-BOTTOM: none;
: OVERFLOW: hidden;

This is not a style block. You're not telling us what you're assigning it
to. BLOCKQUOTE, BODY, CENTER, DD, DIR, DIV, DL, DT, FIELDSET, FORM, H1, H2,
H3, H4, H5, H6, HR, LI, LISTING, MARQUEE, MENU, OL, P, PLAINTEXT, PRE,
TABLE, TD, TH, TR, UL, XMP, CAPTION, TEXTAREA, IFRAME, SPAN, IMG, EMBED,
OBJECT, INPUT??? Also, you do not have to set all sides of a border to
none. Borders are not set automatically. By default, they are not
assigned. However, if you did have to over-ride another style, you would do
it with scripting or inline, not as a style block which has the lowest
priority.

border: none would apply to border-style: none
border: 0px would apply to border-width: 0px

Either will work, depending on browser support.

And, if you want to set one or more, you can still do it in for all sides
but you need two statements:

border-width: 1px 2px thin thick;
border-style: solid inset dotted outset;

You could also add color:

border-color: red blue green black;

With 1 it sets all 4 sides.
With 2 it sets top/bottom, left-right.
With 3 it sets top, right-left, bottom.

However, with just border: you can only set all 4 sides the same.

{ border: border-width || border-style || border-color }

: to hide the borders and scrollbar, which works in windows browsers, but
: in MAC safari the borders and scrollbar still show up and in MAC
: explorer the scrollbar still shows up.

Which versions? All browsers are different even between versions. (he says
loosely)

Some areas of interest:
http://www.quirksmode.org/css/contents.html
http://arstechnica.com/reviews/003/s...rowsers-1.html
Jul 19 '05 #3

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

Similar topics

2
by: Mark | last post by:
I have found many examples of how to access an HTML text field from PHP, but cannot find the reverse - how to load an HTML form from a MySQL database. Specifically, I have an HTML form which...
12
by: Phil Powell | last post by:
The customer made a wild request: they want on their admin panel a textarea that will display an existing resume. This textarea, however, must have a dynamic width, one that "fills the screen...
4
by: google | last post by:
I would like to print a table, using a while loop to insert as many blank text fields as players specified by the user. How do I put html inside a php loop. This is what I have.... <body>...
4
by: megha | last post by:
Hi all I am adding signature in textarea which is stored as text in database now if i add html tags to it and later retrieve it in textarea it shows all tags of html but not their function. How...
5
by: Richard | last post by:
I am filling a TEXTAREA with text and links from a database. I need to display the <a href....> code in the TEXTAREA as a clickable link with _blank targetting. I realise I could simply use a TD...
4
by: Newbie | last post by:
How would I modify this form to encode *all* the characters in the 'source' textarea to the '%xx' format & place result code into the 'output' textarea? (cross browser compatable) Any help is...
4
by: Tauqir | last post by:
I am trying to do a simple thing: I have these two text fields in an HTML form. I want to assign the concatenated value to a TEXTAREA. Can someone help me with the syntax? <HTML> <SCRIPT...
6
by: SRafiq | last post by:
Hi I need help with a topic I have an html page and in it i have a textarea which can have a multiple of info, is there any possible way that i can out put a specific area of the textarea using...
5
by: Schraalhans Keukenmeester | last post by:
I want to build a very basic online text editor, to allow customers to modify their own sites' html content using a simple form with textarea element. I read the HTML file like so: <?PHP ...
7
by: Xh | last post by:
Hi All, I have problems with generating valid HTML output there are few HTML elements that i don't what to output as <tagname/> but as <tagname></tagnamebut Xalan keeps generating them as...
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: 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
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
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...

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.