473,769 Members | 6,203 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

horizontal rule visible and not visible

69 New Member
Hi Guys,

Can a horizontal rule be visible and not visible within the <td> tag of a row on a table?
Expand|Select|Wrap|Line Numbers
  1.  <tr>
  2.        <td colspan="4" style="height: 20px; text-align: left" valign="middle">
  3.                 <hr id ="hr" style="width: 75%" visible="false" >                 
  4.          </td>
  5. </tr>
  6.  
I tried the above code and it is not working, the horizontal rule is always visible.
i attached an id to it because i wanted to code when it should be visible or not in .Net
May 20 '08 #1
3 8270
ronverdonk
4,258 Recognized Expert Specialist
As far as I can test the following works in IE but not in FF, but I don't know the reason because in my opinion the visibility style tag is standard CSS.
Expand|Select|Wrap|Line Numbers
  1. <tr>
  2.     <td colspan="4" style="height: 20px; text-align: left" valign="middle">
  3.     <hr id ="hr" style="width: 75%" style="visibility:hidden;" />
  4.     </td>
  5. </tr>
Ronald
May 20 '08 #2
phpmel
69 New Member
thank you

it worked
May 20 '08 #3
ronverdonk
4,258 Recognized Expert Specialist
thank you

it worked
You are welcome. See you around next time.

Ronald
May 20 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

6
21233
by: Francesco Moi | last post by:
Hello I want to insert an horizontal rule into my HTML page, but without using <HR> or <HR size=1>, as I consider it oldfashioned. Does anybody know a good way? Thank you very much.
1
2707
by: Aamir | last post by:
I need to minimize the line gap horizontal rule <hr> causes with the top and bottom text. I want them all squeeze together. Can it be done ? thanks IA Aamir
3
4285
by: Frank Wheeler | last post by:
Why am I unable to attain proper vertical alignment between a DIV and a TABLE here: http://www.whbvillage.com/agenda-archives/agendex.html The DIV is coded: <DIV style="float: left; background: transparent; color: #000099;
3
12446
by: Christian Zenner | last post by:
Hi, how can I make a horizontal rule (<hr>) 1px thin? Border: 1px; doesn't work. Anybody has an idea? Thanks, Chris
2
4239
by: Griff | last post by:
What I'm trying to achieve is to have a title followed by a horizontal rule on the same line. For example: Living on Mars ---------------- Living on Mars would be at best impractical for the following reasons: blah blah blah Living on Earth --------------- Life has evolved on earth for
10
2957
by: lothar | last post by:
for the horizontal rule element, the w3c HTML 4.01 specification http://www.w3.org/TR/html4/cover.html states that the align, noshade, size and width attributes are deprecated. it gives an example using the deprecated attributes, but no indication as to how to avoid the deprecated attributes. what CSS properties can be used to replace the hr tag noshade and size
3
1707
by: phpmel | last post by:
Hi Guys, Can a horizontal rule be visible and not visible within the <td> tag of a row on a table? <tr> <td colspan="4" style="height: 20px; text-align: left" valign="middle"> <hr id ="hr" style="width: 75%" visible="false" > </td> </tr>
2
1627
by: silpa | last post by:
Hi, I have created a new web application in asp.net.I am using VS 2008. In the web form,I have placed a textbox and a button. In the button click event,I have written as follows: TextBox1.text="abc"+ Environment.NewLine + "<hr>"; I want to get the output as (abc and a horizontalrule in the textbox)
4
9751
by: tess1243 | last post by:
Is it possible to insert a Horizontal Rule using CSS? Please let me know if my idea of inserting HR using CSS is wrong. Thanks.
0
9589
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
10211
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10045
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...
1
9994
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9863
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7409
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
5447
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3959
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3562
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.