HTML - Can Someone Help Me With My Floating Table Visibility Link?
HI All,
i got the table to float that was easy, it is making a link to hide the table anyone know how i can do that plz <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-… <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> </head> <body> <table width="400" border="0"> <tr> <td><a href="">click here</a></td> </tr> <tr> <td> </td> </tr> </table> <table width="400" border="4" id="floatingtable" style="position:absolute; left:181px; top:193px;z index:2; visibility:visible;" name="floatingtable"> <tr> <td> </td> </tr> <tr> <td> </td> </tr> </table> </body> </html> ------------------------------------------- Diamond Engagement Rings Loose Diamonds Wedding Rings - DreamStone Similar TutorialsEDIT: Problem Solved. Thank You. hi, i am working on <div> i have to hide some part of the table. I am not able to hide that table part can anybady tell me where is the error. Code: <html> <head> <script type="text/javascript"> function callme(){ document.getElementById("hid").style.visibility="visible"; } function hideme(){ document.getElementById("hid").style.visibility="hidden"; } </script> </head> <body> <form name="myform"> <table width="100%" border="4" cellpadding="2" cellspacing="2"> <tr> <td class="tableheader" colspan="9">TS </td> </tr> <div style="visibility:hidden" id="hid"> <tr> <td width="17%" class="labeltext">Tran Code</td> <td width="1%" class="blanktext">:</td> <td colspan="4" class="blanktext">Name</td> </tr> <tr> <td width="17%" class="labeltext">Product Type</td> <td width="1%" class="blanktext">:</td> <td colspan="4" class="blanktext"> </td> </tr> </div> <tr> <td> </td> </tr> </table> <input type="button" onclick="callme()" value="show"> <input type="button" onclick="hideme()" value="hide"> </form> </body> </html> thx in Adv, Hanm. Hi Guys Been getting some great help on here recently so I thought I would try again. I have a problem with a PNG which sits at the bottom left of this page. http://www.horizonwebsites.co.uk/sim...tock/index.asp. You can see it perfectly in FireFox but it is not visible in IE. Any ideas? here's the css http://www.horizonwebsites.co.uk/sim...ock/screen.css Cheers Kev Hi there, I have a shopping cart website that i have almost completed apart from the search box function which I am told by the software authors is not working because somehow I have coded up one of my div tags (e_page) to show as hidden. Now I am not an expert on html and only self taught. I have tried many different things but I cannot get the generated source code to show the "e_page" div tag as visible at the following address: http://client.erolhosting.co.uk/bohemian/ Can anyone advise how I can do this? Many thanks I don't know if this thread belongs here, so move it if need be, Hi, I would like to make a square div (being about 100px - 150px width & height), which has the usual 'X' in the corner which is an <a> tag which makes the div dissapear. I have tried this with onclick functions but it doesn't work. Here's what I've tried: HTML Code: <a style="margin:5px;color:#FFFFFF;" onmouseclick="document.getElementById('banner1').style.visibility:hidden;" href="javascript:void()">Click</a> <div id="banner1" style="margin:10px;color:#FFFFFF;background-color:#DDDDDD;">DIV</div> I have changed the href of the <a> tag to different things, but they don't work. This is a prototype so it will be put into CSS later. I would like to have the box slide in about a second after the page has loaded, and then slide back down when the 'X' is clicked, I hope this doesn't require too much code! I will check back so I can answer any questions. Thanks, ToshNeox I was curious if anyone knew how to set up a link/button that copies a table to the clipboard??? So you could set up a table like: <table> <tr> <td>Hello</td> <td>World</td> </tr> <tr> <td>Copy table link</td> </tr> <table Hi all, I am a beginner. I'm using frames and I'm putting a 1 by 1 table inside a link so that the whole cell is a link: <a href="./home.html" target="rt" style="text-decoration: none"> <table style="text-align: left; width: 100%;" border="0" cellpadding="2" cellspacing="2"> <tbody> <tr style="font-weight: bold; color: rgb(255, 255, 255);"> <td style="vertical-align: top; background-color: rgb(0, 102, 0);">   Home </tr> </td> </tbody> </table> </a> Everything works fine in Firefox but the links don't work in Explorer. Any tips? Thank you! The entire .html files are below. The main file (1) index.html <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> <html> <head> <title> Homepage of David Titley-Peloquin </title> </head> <noframes> You need a frames-enabled browser to view this website!!! <meta http-equiv="refresh" content="3;URL=http://www.cs.mcgill.ca/~dtitle/indexold.html"> </noframes> <frameset frameborder="100" framespacing="0" border="0" rows="100,*"> <frame marginheight="20" marginwidth="20" noresize="yes" border="0" scrolling="off" src="./logo.jpg"> <frameset frameborder="100" framespacing="0" border="0" cols="180,*"> <frame marginheight="0" marginwidth="10" noresize="yes" border="0" scrolling="auto" src="./menu.html"> <frame marginheight="0" marginwidth="10" noresize="yes" border="0" scrolling="auto" src="./home.html" name="rt"> </frameset> </frameset> </html> and the menu in the left frame (2) menu.html <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"> <title>menu</title> </head> <body> <a href="./home.html" target="rt" style="text-decoration: none"> <table style="text-align: left; width: 100%;" border="0" cellpadding="2" cellspacing="2"> <tbody> <tr style="font-weight: bold; color: rgb(255, 255, 255);"> <td style="vertical-align: top; background-color: rgb(0, 102, 0);">   Home </tr> </td> </tbody> </table> </a> </body> </html> Is it possible to make each row in a table a link to a website? (regardless of how many columns there are). I recently made a rollover menu, and though the text does highlight when I roll over the cell, the link only works if I rollover the word is the cell. Is there a way to make the cell itself link? I've got a small problem, i want to make a table cell that works as a button. I tried it this way: Code: <table border='1' width='100%' height='10%'> <tr> <a href='page.htm'> <td width='20%' height='100%'> </td> </a> But this won't work, does anybody know how I can solve this problem? Hi On my site, I have a menu on the left hand side. When the mouse is over each option, the inner part of the table turns blue. Once you click on the text inside the mini table-button, it takes you to where you want to go. I would like it so that when you click on any part of the table-button it takes you to where you want to go, instead of having to pin-point the cursor to the text. If you try on my site, I'm sure you will see what I mean. It isn't a major problem, it is just somthing I feel would enhance the user-bility. www.vivalefrench.com Hope you can help, thanks i want the entire table cell to be the link, not just the text inside any ideas? I don't know whether it's possible with HTML code or whether I'd have to use JavaScript. Basically I have a simple HTML Email form prompt: *** <center> <form method=post action="mailto:@" enctype="text/plain"> <br> Name: <br><input type="text" name="username"> <br> Email: <br><input type="text" name="email"> <br> Comments: <br> <textarea name="comments" rows="10" wrap="hard"> </textarea> <br> <input type="submit" value="Send"> </form> </center> *** I basically want to put text into the textbox, but when somebody then goes to use it the text disappears so it is a blank space, not sure if anybody understands what I mean but, help? Hi, I would like to create a website with header,footer and left menu,main body and right menu. And I choose Html tables for this as my domain is not supporting PHP, so I thought of doing this by using HTML Layout tables. And my question is in the left menu If I click the hyperlink I want to display some other page only in the center body, how to do this If I use normal hyperlink it is occupying the total page but I want it to be display only on the Center of the table. How to do this. Here is my code: <html> <head> <meta http-equiv="Content-Language" content="en-us"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>Title</title> </head> <body> <table border="1" cellpadding="0" cellspacing="0" width="934" height="808"> <!-- MSTableType="layout" --> <tr> <td valign="top" colspan="4" height="110"> <!-- MSCellType="ContentHead" --> <p align="center"><b>Title</b></td> </tr> <tr> <td valign="top" width="179"> <!-- MSCellType="NavBody" --> Left Links<p> </p> <p><a href="../test_link.htm">Link1</a></p> <p>Link2</p> <p>Link3</p> <p> </td> <td valign="top" width="606"> <!-- MSCellType="ContentBody" --> </td> <td valign="top" height="625" width="128"> <!-- MSCellType="NavBody2" --> Right space</td> </tr> <tr> <td valign="top" colspan="4" height="73"> <!-- MSCellType="ContentFoot" --> <p align="center">footer</td> </tr> </table> </body> </html> Can some body pls help on this. I appreciate your efforts, Thanks in Advance. Im having an issue in some browsers with making a whole cell in a table a link. I have simplified my code to that below for ease of troubleshooting here. Using the code below, and assuming you have two image files named AlphaThumb.jpg (approx 80x100 px) and Alpha.jpg (A larger version of AlphaThumb.jpg) in a folder with the html and css files I achieve the desired result in IE7, IE8 & in Lunascape6 (Ver 6.3.4). However Firefox (Ver 3.6.13), Safari (Ver 5.0.3) & Opera (Ver 11.00) all have the same issue, in that the link doesn't work. If anyone has any ideas I'd be grateful for some input. Regards, Stoney ------------- The Html code ------------- <html> <link rel="stylesheet" type="text/css" href="Stylesheet1.css" /> <body> <table border="1" class="aggregatestable"> <tr> <a href="Alpha.jpg" target=_blank> <td class="productalpha"> </td> </a> <td class="productname">Alpha</td> <td>Some random text about our product Alpha.</td> </tr> </table> </body> </html> ------------ The css code ------------ td.productname { width: 100px; height: 80px; } td.productalpha { background-image: url(AlphaThumb.jpg); background-repeat: no-repeat; background-position: center; width: 100px; height: 80px; cursor: pointer; } I have several links on my site, all in the form of <a href="http://www.mywebsite.com">mywebsite</a> How do I need to change it such that a new instance of the browser is used in which the linked site is displayed. Hi all, Sure glad I found this site!, I would like to ask for some advice please guys I have a portal that uses a portal stylesheet, the header is a .png image and needs to be 100% width, this loads from a Content Web File Manager, it carries a logo on the left and some corperate colour bands, it appears on every page of the portal, the right side is blank apart from the picture of a search box ( it shipped with the png I will be getting rid of this using PSP) I have created a <div> content </div> and I want this to appear to the right and in front of the header in place of this search box The <div> loads fine on templates (the dynamic content of the portal these are templates that the site use) so I know this works fine, now i want to make it appear on the header itself in place of the picture of the search box that I have erased This is where I am getting stuck - I do want it to be a permanent feature on the header and to the right, what do I need to use in the html code before and after the <div> content </div> ? All help will be greatly appreciated John Prevous title: (div in div top:0; left:0; = top corner of first div, not page...) Ok, here's the code: HTML Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>DIV DIV</title> <style type="text/css"> <!-- #apDiv1 {position:absolute;top:0;left:0;width:150px;height:150px;z-index:0;background-color:#00F;} #apDiv2 {position:absolute;top:100px;left:100px;width:200px;height:200px;z-index:1;background-color:#F00;} --> </style> </head> <body> <div id="apDiv1"></div> <div id="apDiv2"> </div> </body> </html> Which produces: However, the "problem" is that i would like that result with this variation on the code: HTML Code: <div id="apDiv2"> <div id="apDiv1"></div> </div> But that "unfortunately" returns this result: Which was great when I first did it, (i always thought top:0; left:0; would put a div in the top corner of the page regardless of where it is within the code... so when i tried it in my last project and it used the top corner of the containing div as 0,0 that was exactly what i needed) but in my current project, I really need div1 to go to the top corner of the page, not div2, but still reside inside of div2... is this possible? Hi everyone, Me again I'm afraid. Hope you had a good Christmas and New Year. I have a question regarding the following page: http://www.dynamic-xchange.com/resources.php I am trying to update it as I have done with the others (http://www.dynamic-xchange.com/index.php) and implement XHTML and CSS but I am having problems floating the divs correctly to get the desired effect as in the page given above. Any help of advice would be very welcome as I am tearing my hair out. Warm regards, Simon |