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

TEXTAREA Formatting

I need a little HTML/CSS help for cross-browser/cross-platform issues.

I'm using a few stylesheet properties to hide the borders and
scrollbar on a TEXTAREA object as follows:

BORDER-RIGHT: none;
BORDER-TOP: none;
BORDER-LEFT: none;
BORDER-BOTTOM: none;
OVERFLOW: hidden;

This works perfectly in windows browsers, but the MAC's safari browser
displays both the borders and the scrollbar and MAC's explorer still
shows the scrollbar. Any ideas?

Thanks
Jul 20 '05 #1
2 9456
Mike wrote:
I need a little HTML/CSS help for cross-browser/cross-platform issues.

I'm using a few stylesheet properties to hide the borders and
scrollbar on a TEXTAREA object as follows:

BORDER-RIGHT: none;
BORDER-TOP: none;
BORDER-LEFT: none;
BORDER-BOTTOM: none;
OVERFLOW: hidden;

This works perfectly in windows browsers, but the MAC's safari browser
displays both the borders and the scrollbar and MAC's explorer still
shows the scrollbar. Any ideas?

Thanks


How did you do it?

textarea{
border:0;
overflow:auto; /* never use hidden,
unless you have a very good reason! */
}

Now I think about it, I think Mac browsers don't let you style form
elements, since that is part of the UI.

--
Anne van Kesteren
<http://www.annevankesteren.nl/>
Jul 20 '05 #2
In article <bt**********@reader11.wxs.nl>,
Anne van Kesteren <ma**@annevankesteren.nl> wrote:
Now I think about it, I think Mac browsers don't let you style form
elements, since that is part of the UI.


It is not a property of Mac browsers in general, but your observation is
correct; current browsers for the Mac use GUI interface elements for
form widgets. Not a bad move. Mac applications are known for their
consistency in GUI elements, it is a usability cornerstone of the Mac OS.

--
Kris
kr*******@xs4all.netherlands (nl)
Jul 20 '05 #3

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

Similar topics

5
by: bonehead | last post by:
I am using a php html form with data which is loaded from a mysql database. Three of the fields are textareas. The data loads into these fields fine, except that the loaded text starts at what...
5
by: Piotr Wolski | last post by:
how can i format textarea? f.e.: <textarea><b>i wqant this text to be bold</b></textarea>
6
by: Matt | last post by:
I have a textarea that is populated from a blob within a database. Everytime the data is pulled, however, there is always a lot of leading space characters before the actual text. It is not in the...
6
by: TomT | last post by:
Hi, I've created a form that has a 3 fields. 2 textboxes (username & password) 1 TextArea (notes) I have linked this to an access DB. This is working well, the user enters thier Username...
3
by: Kent | last post by:
Hi all, Thank you in advance. Here is the issue: I need to create a page that allows users to copy the contents of a MS Word document and paste them into a textarea. All fine and dandy...but the...
10
by: Perry van Kuppeveld | last post by:
Hi, I have a problem with formatting a table including text fields wich can contain up to 255 chars. I need a table with 3 columns: - First column 50 % over the with a rowspan of the total...
2
by: Michael | last post by:
Question 1 ---------------- I am writing an advanced BBCode system for my forums and I would like to be able to find where the cursor was positioned last in the text so I could insert the BBCode...
6
by: Tony | last post by:
The w3schools HTML tag reference for <textarea> http://www.w3schools.com/tags/tag_textarea.asp says that the attributes 'cols' and 'rows' are REQUIRED attributes for the textarea tag. Looking at...
3
by: LoliPopas | last post by:
I'm stupid in Javascripting, but i making php forum with BBcode. and i need help with this: <head> <script> function formatSelected(from_obj, formatting, format2) { from_obj.focus (); ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: 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
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
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.