Solved

make text invisiable

Posted on 2011-03-01
5
262 Views
Last Modified: 2012-05-11
Hello experts I keep having text populate the first 200 lines of my webpage. I keep deleting it but when I build it it reapears. I found it in my other section of my page and replaced the text with a lable control, but that did not fix the text populating the first part. I have put the text into a div and want to make sure it never is seen. How do I make a div invisiable on C# asp.net using visual studio.

This is rather urgent as this bug showed up last night at 3am and the site is LIVE.

HELP!!!!
0
Comment
Question by:HawaiiDragon
[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
  • 3
5 Comments
 
LVL 18

Accepted Solution

by:
ChetOS82 earned 250 total points
ID: 35008385
<div style="display:none;">your text</div>
0
 
LVL 9

Expert Comment

by:CCSOFlag
ID: 35010836
Depends on what exactly you are after.

display:none; will remove the element completely from the flow of text.

visibility: hidden; will keep the space it occupies but will not show what is in the element.
0
 
LVL 9

Assisted Solution

by:CCSOFlag
CCSOFlag earned 250 total points
ID: 35010856
also in C# you can make it invisible with this code:

<element id>.visible = false;
0
 

Author Comment

by:HawaiiDragon
ID: 35070500
VS 2010 would not work with any of the solutions provided, what I had to do was open it in notepade and then delete the text.... found VS2010's first major bug!!!
0
 
LVL 9

Expert Comment

by:CCSOFlag
ID: 35070614
I'm curious.  What is this text that it was displaying?
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses

632 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