Solved

Hiding field border

Posted on 2004-08-29
5
272 Views
Last Modified: 2013-12-18
Is there any way i can hide the rectangular field border (of a field) when opened in a browser? I just want to display the text without any field border when the form is opened in a browser.

thanks,
J



0
Comment
Question by:jaggernat
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 15

Accepted Solution

by:
Bozzie4 earned 250 total points
ID: 11928866
Yes, you need to use a 'style' attribute in your field tag , or use a Cascading style sheet to do this :

1. in the properties for the field, in the HTML section, in the Style field, enter :
border: 0px;

2. create a style section (or a stylesheet)
<style>
input {
border: 0px;
}
</style>
0
 
LVL 24

Expert Comment

by:HemanthaKumar
ID: 11930657
That sounds like you want to show it as computed field but not really a computed but editable field !! Then I would say it is not the way to go..If you make the field computed then the field borders are not displayed. But you are refering the field in javascript then use the form property "generate html for all fields" option. So your computed field gets a html container.

TOM, 1st method you mentioned is enough.. I don't know why you need to duplicate the same style again on the form !

~Hemanth
0
 
LVL 10

Author Comment

by:jaggernat
ID: 11931631
yes,,,tom's first method was perfect.

thanks both of you for your comments.
J

0
 
LVL 15

Expert Comment

by:Bozzie4
ID: 11931950
It's OR of course.

Since you didn't mention what version, the Style field for HTML section could not be available.  Using a global style has the added advantage that you don't have to set the style for every field (could be a lot of work, depending on number of fields).

cheers,

Tom
0
 
LVL 10

Author Comment

by:jaggernat
ID: 11932000
yes,u right
thanks,
J
0

Featured Post

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This is an old article, please see an updated version of this article, located here: http://www.experts-exchange.com/articles/23619/Notes-8-5x-Windows-7-Notes-info-and-tips.html
  In today’s Arena we can’t imagine our lives without Internet as we are highly used to of it. If we consider our life style just for only 2 min we found that face to face communication is swapped by e-communication.  Every Where from Works place to…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question