HTML - Displaying Large Amounts Of Data In A Textbox
Hi all,
Just wondering if someone could help me with the following. I'm exporting large amounts of MySQL data onto a web page and basically what I would like to do is insert that data into a large textbox. I would have put the data into a table; however, if I have a tabel for say "NAME" I'm soon going to run out of space on the web page as I may return 100 of records for that one column. I thought I could simply have a large display window and this would have scroll bars on the side and at the bottom and I can dump my data into that. Can anyone tell me how I could creat such a table which would span the web pages length? I would also like to control this via CSS and make the colour within the text box grey. Many thanks Similar TutorialsHi all, I'm trying to set up a website for a campus journal that features longish essays as its primary content. I'm struggling to find a way to format large checks of text without too much work. I essentially want to be able to copy and paste 6-10 page essays from word and have them keep the formatting. Is this possible? Do you have any other suggestions for working with text? I consider myself more of an artist and less of a coder so your help is much appreciated. Thanks, Nick Okay, so I've got this problem I need to work out... How would I go about posting a part of a book (a Mayan/Japanese/Spanish/English dictionary, actually) on a website? I'm sure the easiest thing to do would be to turn it into a .pdf and post it that way. The real kicker is this... How would I post it without allowing the viewer to save/download the file but still be able to print it? The reason for this is that I don't want people to be able to save it and publish it for themselves. While only posting about a quarter to a half of the dictionary helps this problem, it's still something I'd like to take into consideration. Any ideas? I certainly hope so, hah! Hi, I'm new to this forum and this is my first post. I have a large GIF image (2000x1000px approx) which is an interactive map. Since most screen resolutions will be less than this, is there any way to get the image to display centred rather than the bottom right-hand corner? Hi, I have a form designed to take details of a customer; I want to have the details of a form display in it's own textbox so i can use some javascript to 'Ctrl+A' and 'Ctrl+C' it. This code I have already, but getting the info from the 'form' into the text box is the issue. Another thing I should mention, this will be stored locally on a machine, there's no web servers. It's purely a web-based app for someone to put into while they're taking a call for a problem. any idea's, here's the code on my page thus far: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML> <HEAD> <link rel="stylesheet" type="text/css" href="main.css" /> </HEAD> <BODY> <script type="text/javascript" language="JavaScript"> function HidePart(d) { document.getElementById(d).style.display = "none"; } function ShowPart(d) { document.getElementById(d).style.display = "block"; } function CheckboxChecked(b,d) { if(b) { ShowPart(d); } else { HidePart(d); } } </script> <Table class="one" name="main_Body" align ="left" border="0" width 100%> <FORM name="MNTA" action="data.html" method="post"> <tr> <td height="26"> First Name </td> <td> <input type="text" name="firstname"> </td> </tr> <tr> <td height="26"> Last Name </td> <td> <input type="text" name="lastname"> </td> </tr> <tr> <td height="26"> Company </td> <td> <input type="text" name="company"> </td> </tr> <tr> <td height="26"> Contact Number </td> <td> <input type="text" name="contact"> </td> </tr> <tr> <td height="26"> eMail Address </td> <td> <input type="text" name="email"> </td> </tr> <tr> <td height="26"> Does User have a Maximo ID? <input type="checkbox" name="MAXID" value="yes" onclick="CheckboxChecked(this.checked,'MaxIDdiv')"> Yes <br> </td> <td> <div id="MaxIDdiv" style="display:none"> Users Maximo ID <input type="text"> </div> </td> </tr> <tr> <td height="26"> Is this an existing request? <input type="checkbox" name="MN_No" value="yes" onclick="CheckboxChecked(this.checked,'MN_Nodiv')"> Yes <br> </td> <td> <div id="MN_Nodiv" style="display:none"> ManageNow Incident Number <input type="text"> </div> </td> <tr> <td height="26"> Has a Local SME advised to raise this request? </td> <td> <input type="radio" name="LSME" value="Yes"> Yes <input type="radio" name="LSME" value="No"> No <input type="radio" name="LSME" value="NA"> Not Applicable </td> </tr> <tr> <td height="26"> Are other users experiencing the same problem? </td> <td> <input type="radio" name="OUse" value="Yes"> Yes <input type="radio" name="OUse" value="No"> No <input type="radio" name="OUse" value="NA"> Not Applicable </td> </tr> <tr> <td height="26"> Can the user log into Maximo? </td> <td> <input type="radio" name="LMAX" value="Yes"> Yes <input type="radio" name="LMAX" value="No"> No <input type="radio" name="LMAX" value="NA"> Cannot access site </td> </tr> <tr> <td height="26">Does the user have the same issue on another machine? </td> <td> <input type="radio" name="NLMI" value="Yes"> Yes <input type="radio" name="NLMI" value="No"> No <input type="radio" name="NLMI" value="NA"> Not Applicable </td> <tr> <td> <input type="submit" value="Submit" /> </td> </tr> </table> </FORM> </H1> </body> </html> I won't bother to link my CSS it's very basic. my main.html (<FORM name="MNTA" action="data.html" method="post">) page exists but doesn't have any code. I don't mind if I have to have the data populated on another page that's fine. I also don't mind using JS and the site will only be viewed in IE 6. Thanks in advance, I can't find anything and beleive me I've spent hours trying. Hi i'm retrieving data from a field in database table.the data is stored in corresponding format 1.sdsdsad 2.sadsad 3.asdsaddf .so when i display it in html it is displayed like 1.sdsdsad 2.sadsad 3.asdsaddf i want tat to be displayed in separate lines.is tat possible.can anyone help me out. Thnx in advance Regards mat i want to display wave height data from a noaa buoy that is available and updated via a txt file. how can display this data graphically on a web site instead of just displaying the raw data from the text file? I have three user input text boxes called; "name", "email" and "phone" and one text field to display that information called; "feedback". When a "Submit" button is clicked, the three text boxes are validated to check that what was typed inside them was OK. I then want to display the Users' name, email and phone number on individual lines in the text field, for example, name on line 1, email on line 2 and phone number on line 3. At the minute when I submit the information only the phone number displays on the first line of the text box. In the text field "feedback"; I know the HTML probably interprets my code as; the name is being replaced by the email and then the email is being replaced by the phone number. Here is the relevant section of my code. function validate(){ if (validateName () && validateEmail() && validateformatNumber()){ var myName=document.survey.visitor.value; document.survey.feedback.value=myName; var myEmail=document.survey.email.value; document.survey.feedback.value=myEmail; var myPhone=document.survey.phone.value; document.survey.feedback.value=myPhone; return true; }else{ return false; }} I think the solution could be something simple but I haven't much of an idea of how to do it. Thanks in advance. Hi guys, I'm new to this forum and fairly new to html I've been asked to create a webpage for work that is pretty much an on-line diary for where plant & equipment has been. I have done all the easy stuff, but I don't know if it's possible to display and save input in a cronological order as a list. Is it possible to simply use html code and get this task done? To be more specific, the user can enter the arrival and deparature date of equipment, which i need to be displayed and saved. Any help will be greatly appreciated, and please keep in mind that I have limited knowledge with html code and JS. Regards, Daniel. Hi, thank you in advance for reading and offering advice. I hope I'm using the correct forum. I am returning data from a MySQL database. I want to be able to display this data, without writing out each and every HTML element. I figure if I transform it into XML, I can write something in CSS that formats it in the same way. Does anyone know how good this is, or if I'll simply have an easier time of creating HTML templates for each table that I return? Thank you! Hello, I am getting huge breaks in IE after writing down <br>. This problem only occurs in IE. It doesnt occur in Google Chrome. I removed all the other code and only left the text and one picture there and it still does the same. Heres the link: http://www.jkdolniprim.cz/invalid/ I want the margin and padding to be 0px. Thank you for your help. I'm looking for the coding to make a small (ex:100x100) picture to its NORMAL size i've found others that like when you click it it doubles it. not really what i want I want it so when you click on an image, a popup will appear with the regular size of an image. I'll even pic the sizes in manually if i have to (was suposed to be HOW to..not hot to lol my bad) I want 50 text fields for a form on a webpage. Is there a way to do this using a loop instead of manually writting the html code for all 50. I have tried this but it does not work. Code: <script type="text/javascript"> var i; for(i=0;i<50;i++) { document.write("<tr>"); document.write("<td>~address(i)~ </td>"); document.write("<td>~name(i)~</td>"); document.write("<td><input type="text" name="name[i]" maxlength="16" value="~name(i)~" size="20"></td>"); document.write("</tr>"); } </script> Thanks Hi All, We have images which are displayed in panel series. We have images if all sizes and width, we have tried using width=100% which makes all the images to fit the width allotted, which makes the image BLUR if the image is very small. Is there a way by which we can have width=100% for only the oversize images and leave the others as it is. Regards, Nagesh Hi, I have a pretty general question but i'm posting it here since it pertains to xhtml and content. As far as I understand the big deal about css is that it makes your sites flexible and lets you edit the layout and look of every page just by changing the stylesheet/s they are linked to. Is there a way to do this with content? What if I have hundreds of pages and want to add a link to the navigation bar? Is there a way to link templates and content to script the same way I link css? Thank you in advance and feel free to move this if this isn't the appropriate board. so I have been working on this site trying to make it look like the image below how do I get the large portrait to the right of all the smaller images without messing them up? thanks in advance. http://i46.tinypic.com/64gxew.jpg I am trying to get my site off the ground and am having some kind of issue with a huge white space on the front page. You can see it he http://www.ripeforlearning.com There are two grey boxes - one is a search box and the other is an about us section. Below that, there is a red bar that is supposed to line up with the bottom of the boxes and then, it's followed by the newsfeed. For some reason, between the boxes and the red bar is a huge white space and I can't figure out what's causing it. Any help would be greatly appreciated. Thanks in advance Comments on this post dawnblue2 agrees: Hi I have a small PHP page, where I would like som VERY large text but I cant seem to get it above 7 Code: echo "<p><font size=7 color=red> $row[0] </font></p>" ; I would like it VERY big - like 40 Can anyone tell how to achive this? Thanks Lhg Hi, Please can someone have a look at the photo's page on my site here http://www.leeds-cityscape.co.uk/. The page is made up of a frame, so that I can have an advert at the top of the page that scrolls down as the visitor scrolls down. The problem is that when you go to the page there is a large gap at the top of the page. I have checked the code, but I cannot see what could be causing this. Any help would be appreciated. Hey all, I'm developing a site that is supposed to display a large table (something like 1500 rows x 50 columns). Firefox renders it just fine, but IE takes ~3:00 minutes to render it. I can't even display a timer during this time since the browser is frozen while rendering the table. I have tried a couple of solutions so far: 1. Using the "table-layout:fixed" style property. ( http://blogs.msdn.com/ie/archive/2005/02/10/370721.aspx ). This doesn't work (I mean it works, but it still takes the same time to load). 2. Using javascript to build the table dynamically (using insertRow() and insertCell()). I gave up after 10 minutes. I'm trying to avoid splitting it up to several pages with 20 rows each, as the client (and my boss) requested this will be the last resort. Any ideas? Hi there. I'm just starting off in web design, and I am learning as I go along. I have been working on my site all day using Dreamweaver, but there is still one thing I am trying to do without success. Basically I have one Large image on a page, and I want to stack four smaller images vertically next to it on the right hand side. (shown in the attached image) I tried using a table, but all the boxes had the same dimensions. If I use margin to align the pictures, I cannot move the third picture underneath the small one. I realize I am going about this all wrong, but I have no clue as to how to achieve what I am trying to do. All I seem to find on the net is how to wrap text around an image. For example, here's what I did: Quote: <img src="images/Main Window Gallery1.png" width="517" height="395" border="0"><img src="images/small window1 gallery1.png" style="margin: 0px 0px 303px 25px;” width="132" height="92" border="0"><img src="images/small window1 gallery1.png"" height="92" border="0" align="absmiddle" style="margin: 0px 0px 180px 0px;” width=" valign="center"132> Any help is appreciated. Thank you. |