html

Extra white space underneath last DIV Tag

Hi, I have unwanted space here between the last DIV tag and the BODY tag for some reason. I can't work out why. I don't want this extra space at all. I'd prefer if my DIV#footer was flush against the edge of the bottom of the browser. I've applied a bright highlight background-colour to the body tag so it's easier to see the issue. T...

Why Ajax Jquery form click not working vs div that works?

Hi, Ajax Jquery form not working vs div why its happen and how can i fix my error? view.html-Code with form not working <html> <head> <script type="text/javascript" src="http://code.jquery.com/jquery-1.4.2.min.js"&gt;&lt;/script&gt; </head> <body> <form id="parse-form" action="#" method="post"> <butt...

What's the difference between using "http://" and just "//" in src or href?

I've seen some sites use //somedomain.com/images/img.jpg vs using http://somedomain.com/images/img.jpg which includes the http: as well. Is there a difference between the two? Is the browser just correcting the missing http: and these people are being lazy? Im curious behind the reasoning. ...

PHP - Remove <span> tag from string

I have a string with this html: <div> <span> 1 </span> <a href="#"> <span> 2 </span> </a> <a href="#"> <span> 3 </span> </a> <a href="#"> <span> 4 </span> </a> .... </div> how do I remove the <span> tags from inside the links (<a>) ? ...

Can you force an HTML form to use HTTPS for relative URLs?

I have a website in which every page is served via HTTPS. On one of the pages I have a form whose action attribute is set to a relative URL. The page with the form can only be accessed via HTTPS and the page the form posts to can only be hit via HTTPS, yet in IE I get a security warning telling me I'm about to switch to an insecure con...

How to mimic Powerpoint presentation feel using HTML/CSS and javascript

Hello, I was looking at an HTML5 presentation and was wondering if anybody knew how the actual presentation was created. You can zoom in and out and view all the slides. You can also navigate with your keyboard. Here's the site with the slideshow: http://slides.html5rocks.com/#slide5 ...

How to use hotkey in notepad++ webedit plugin?

How to use hotkey in notepad++ webedit plugin? what are the keyboard shortcuts to press to insert html tags?? ...

HTML page to PDF in Python?

Is there a library available to convert a HTML page (text, images, layout elements etc. ) to a PDF file. I have an HTML page with figures, text and tables with numbers etc. which I want my clients to be able to download as PDF. How do I do this with Python? ...

Not show disabled option elements?

Hello, I am wondering if there is a way to NOT show the disabled elements? And if they we're re-enabled (by javascript/jquery) show them? ...

Menu System Requirement

Hi, menu sample I was wondering if anybody knows of any menu systems (jquery if possible but doesn't have to be) that looks similar to menu sample. It's not really the 2D button look that I am after but more how the sub-menu off the parent menu block is positioned off to the right of the menu. Any help with getting this menu struct...

Learning php. Hello world won't display using easyphp and writing in notepad++

<html> <!--HTML--> <head><title>a quick test</title></head> <body>a quick test</body> <p>javascript</p> <!--javascript--> <p><script> document.write("hello world") </script></p> <p>php</p> <!--php--> <?php Echo "hello world"; ?> </html> The Hello world works for javascript but not in php, what gives? Any suggestions or obvious e...

link style scheme not working

a.mO {color: white; cursor:pointer; margin-left:10px; font-weight:400; font-size:12px; display:block; border-top:1px solid #300;} a.mO:link { color: white; cursor:pointer; margin-left:10px; font-weight:400; font-size:12px; display:block; border-top:1px solid #300; } a.mO:visited { color: white; cursor:pointer; margin-left:10px; font-...

How to get the maximum possible width of a div?

Hello folks, I need to know how one can get the maximum possible width of a div. Generally, a <div>'s width is limited by it's parent, meaning that it can not be larger than a certain amount. How that certain amount can be calculated? I need this to calculate if the text inside the current <div> has overflown, (since the only way to de...

How to transfer asp.net grid view data in HTML table

Hello I am working in asp.net and in that i am using grid view and now i want to convert grid view data which is dynamic to the html table so i can send an email. if any one know it please tell me. Thank You ...

How to display weather inside an iframe in HTML?

Requesting this http://www.google.com/ig/api?weather=Delhi I got an xml file... How to get only the <temp_c data="35"/> and display it inside an iframe or some other html as 35° C... How to do this? Any suggestion.. EDIT: It is just a static HTML page and is it possible to parse the XML using jquery or javascript? ...

how to get flash's url, height, width in a HTML web page?

I am new to Web C++ programming. I am trying to use IE8's IWebBrowser2 interface to obtain a webpage's embedded flash's url, height, width information. This flash can be generated by javascript. So I did like this: from IWebBrowser2 I got IHTMLElementCollection,then I iterated through the collection to get IHTMLObjectElement2,and finally...

IE 6 7 style="overflow:auto;

So, I've got a problem using style="overflow:auto; on IE6 / 7 browsers. It just doesn't work there. I've tried some jquery, but it was fail plaguins ... I can't get them work properly. So what will you recommend to me to make overflow working for IE6,7 ? thank you. ...

File uploads not working.

Hi, I've made a contact form with an option to upload image. It's in WordPress(my form is a part of a custom plugin I'm making). Everytime I upload a file, I find $_FILE to be empty. Here's code of my form. <table> <tr> <td valign="top"> <form action="" method="post" enctype="multipart/form-data"> <tab...

How do i get emacs syntax highlighting to recognize double quoted strings?

Emacs in html and php modes don't seem to recognize double quoted strings, or at least don't color them correctly. How can i get them to be visible? ...

Why usually <form> used to aggregate elements and not <div> in case when form working with ajax submit event?

Hi, Why usually <form> used to aggregate elements and not <div> in case when form working with ajax submit event? Ajax jquery function: $('#parse-form').submit(function() { $.ajax({ url: 'controller.php', type: 'POST', dataType:'json', success: function(data) { a...