473,327 Members | 2,081 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,327 software developers and data experts.

horizontal rule visible and not visible

69
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 8243
ronverdonk
4,258 Expert 4TB
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
thank you

it worked
May 20 '08 #3
ronverdonk
4,258 Expert 4TB
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
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
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
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;...
3
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
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...
10
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...
3
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"> ...
2
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: ...
4
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
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.