6,562 Topics
![]() | |
I've had a nightmare over the past couple of weeks wondering why my code wasn't working in ie. I've finally realised that it was because I was using textcontent which works fine in firefox. I tried using innertext and it worked fine in ie but stopped working with firefox. Chrome … | |
first, think to have this simple table: [CODE] <!DOCTYPE HTML> <html> <head> <title>Table with DIV and CSS</title> <style type="text/css"> /*<![CDATA[*/ #table { display: table; } .row { display: table-row; } .cell { display: table-cell; padding: 0.5em; border: 1px solid; } /*]]>*/ </style> </head> <body> <div id="table"> <div class="row"> <div class="cell">table … | |
I'm trying to get a form to work with php. When I click submit a submit button nothing happens. [CODE] <?php if(isset($_POST['imageSelectButton'])) { echo "Test: "; } ?> <form id="setImages" action="index.php" method="POST" enctype="multipart/form-data"> <?php $files = new RecursiveIteratorIterator(new RecursiveDirectoryIterator('../Home')); $images = new RegexIterator($files, '/\.(?:jpg|png|gif)$/i'); foreach($images as $file) { echo "<div … | |
Hey guys, so I am trying to do an animation rollover image for this gallery and I did make one of the design but the image is absolute and the positioning changes when I change the screen size. Is there a way I can fix that? I know about enclosing … | |
I have a problem while creating an xml file in php.I am not getting th root element.But all other elements are been outputted in the result.What might be the reason????Any help would be appreciated.The code is depicted below.order is my root element. <?php $url='success.xml'; //$xml = simplexml_load_file($url); $name = htmlentities($_POST['name']); … | |
Hi, [CODE] <table class="info"> <thead> <tr> <th>Mailing Address</th> <th>Location Address</th> </tr> </thead> <tbody> <tr> <td><address>123 Somewhere ST.<br/>Somewhere, CA 123456</address></td> <td><address>123 Anotherplace Ln.<br/>Somewhere Else, CA 123434</address><br/></td> </tr> </tbody> </table> </div> <h3>Information</h3> <div class="blockContent borderedContent"> <table class="entryForm"> <tbody> <tr> <th>Website:</th> <td>http://somewebsitehere.com</td> </tr> <tr> <th>Segment 1:</th> <td>SomeInfo Here</td> </tr> <tr> <th>Email:</th> <td><a class="mailLink" … | |
I'm working with an existing shopping cart template - their html, their css - and I'm trying to make it work for our application. The problem I have is trying to get nested divs to extend to 100% height of its parent div. I've read other posts on this and … | |
Looking To learn how to send data from a program to a webservers webpage. More specificly sending the data to <form> tag within a html file. Trying To Find out how to do this, code examples would be prime. Also Any Guides on connecting proxies -- who then connect to … | |
I'm getting an error Notice: Undefined variable: temp. Event though my variable temp is declared; [CODE] if(isset($_POST['saveHomePageDescription'])) $temp = 'hello'; writef("./homePageDescription.txt",$temp); [/CODE] ![]() | |
Hi guys. Does anyone know the counterpart of Javascript's .pasteHTML method in Firefox and other browsers? It works fine only in IE. I'm using an FCK Editor as my WYSIWYG control. Here is my code snippet: [CODE]var oFCKeditor = FCKeditorAPI.GetInstance(objname); var selection = (oFCKeditor.EditorWindow.getSelection ? oFCKeditor.EditorWindow.getSelection() : oFCKeditor.EditorDocument.selection); var sRange; … | |
Hi. I'm fairly new to HTML and CSS, but I'm currently studying IT. For a project we've been asked to create a website on a topic of our choice. Anyway, my issue is that I have followed a tutorial on how to create a drop down navigation menu with only … | |
Hi, I am in need of parsing some html code. Here is an example of what I am trying to do, but not quite sure how to do it. [CODE] <tbody><tr> <td>1.</td> <td><a href="something.php?y=US&id=197003">Some Name Here</a></td> <td>City, STATE</td> <td class="noWrap"></td> <td class="noWrap">123-456-7890</td></tr><tr class="altRow"> <td>2.</td> <td><a href="something.php?y=US&id=113762">Another Name</a></td> <td>City, STATE</td> <td … | |
Hello, I have a question, I am using the following jQuery code to get some data from a database [CODE] $('#CountryA1').keyup(function(){ var country = $('#CountryA1').val(); $.get('test.php',{name: country},function(data){ $('#test').html(data); }) });[/CODE] Now, the <p> HTML tag with id test shows me these data [CODE][{"id":"4","Description":"Bosnia-Hercegovina"},{"id":"9","Description":"Cyprus"},{"id":"10","Description":"Czech Republic"},{"id":"17","Description":"France"},{"id":"20","Description":"Greece"},{"id":"21","Description":"Croatia"},{"id":"25","Description":"Iceland"},{"id":"28","Description":"Liechtenstein"},{"id":"32","Description":"Monaco"},{"id":"34","Description":"Macedonia"},{"id":"49","Description":"Vatican City State"}][/CODE] But using Chrome Inspect … | |
[CODE]info = '''<table> <tr align = "center"> <h1> Lachlan Osborn </h1> <p> Address: 5 Smith Street, Manly <br> Date of Birth: 26th April 1993 </p> <a href="semester.html"><b>My Semester Units</b></a> <p><b>Check out my <a href="hobbies.html">hobbies.</a></b></p> </tr> </center>''' def remove_html(text, info): import re text = re.sub(r'<.*?>', '', info) return text remove_html(text.strip())[/CODE] | |
I want this program to read a text file then target and replace anything start with < and end with > for example it finds <html>, replace that into **** but somehow i tested it and it didn't work than i expected. any suggestions? [CODE]def remove_html(text): txtLIST = list(text) i … | |
Hi all... I'm trying to create a simple HTML table generated by php from mySQL table. This table simply displays the First Name and Last Name of all Employees in the database table. The trick is, I would also like to generate an HTML FORM, so beside each first and … | |
Hello, ths is one thing that is really shaking my heade O_o, I have got a Html and Javascript code, that contains about 1000 lines and I need to put it to php variable. Sure I was thinking about the [B]EOT[/B] method, But thare is one problem with it, if … | |
ok so im tryen to use css in my website everything works fine for ie but things are missing from firefox ie link: dcsoffice.ca/index.html firefox:dcsoffice.ca you can clearly see my problem i ran in too CSS file let me know what i am doing wrong here the parts thats missing … | |
What is the difference between skin file and css file?? | |
I'm having a problem with the images taking the opacity from the wrapper div. Could someone bale me out of this one? You can view the site here:jltjr(dot)com/studiocarvel/ My wrapper css follows ~Thanks, JT [CODE] .wrapper{ width:960px; margin:0 auto; background-color:#000033; line-height:1.5em ; padding:15px 3px 15px 15px; left:50%; right:50%; -moz-opacity:0.90; -khtml-opacity:0.90; … | |
Hi! Guys i have small problem i have set multi-language to my site, but its don't work! I have tryed many charset codes, but nothing. So in my editor every thing looks nice, in index file too, but in other files its have problems. When i press view page info … | |
Hello everyone, I've a links/menu in bottom of html page. For 1 link I've 4 sub menus. When I mousehover that, link then, it should open in upward direction. Kindly, show me how to achieve that. Thanks in advance... Regards, Javed Sai | |
Hi, I am building a room availability form that contains a foreign key 'roomNumber' that references the multiple dropdown list that contains the data time starting from 07:00 AM to 09:00 PM from monday to saturday, i can already store the data into the database but my problem now is … | |
HI Now i'm upgrading my application from icefaces to HTML 5. So i need to know the alternate tag for the following 1. ice:outputConnectionStatus 2. ice: inputFile 3. ice: SelectInputDate 4. ice: PanelPopup Please help me out to fix this error.......... | |
Hi there, I found a website called: [url]https://www.aupeo.com[/url] What interested me on this site is when you click the links (eg This is AUPEO!; My Profile; International and so on) , you are still at the same site. Music is streaming non-stop. I would like to know how to make … | |
For my code below i use getElementsByTagName('p') to get the values of the paragraphs that the user enters. but for some reason it when i use textNum[0].value it returns undefined. i tested it with textNum.length and the length keeps increasing which means values are being added to the array. not … | |
unnecessary width and height is shows in my html page............ experts plz solved out Thanks in advance | |
Hey I am developing a responsive web site and one of the requirements is to have elements that are only 'clickable' on mobile devices, especially iPhones and iPads (not on PC browsers). Say for example, displaying phone numbers which can only be clicked on an iPad or iPhone ... not … | |
hi hope someone can help me with this problem. I have a form on a website but need to add a box so that people can attach a file to it like a resume. this is the coding I have on there now: <form name="contact" method="post" ENCTYPE="text/plain" action="mailto:enquiries@ipswichrslservices.com.au?" subject="TJS - … | |
Hi Guys, Sorry its been a while since iv posted been busy. ok so im working on this website That I`m trying to code in plain HTML or atleast try and get as far as i can using plain HTML. so i`ve created the main page where i can navigate … |
The End.