html

HTML <p> and <span> questions

Hi, How can I force the following HTML code: <p><span></span></p> .. to use vertical space? if the span has a character, or a space, the vertical space is occupied. Any way to do it with CSS? ...

Img in h2 not lining up in Internet Explorer

I'm designing my personal website at the moment and want to have images inside h2 headlines in the same line. The markup I'm currently using validates, so does the css and the desired effect shows up on Firefox, Chrome, Safari and IE8 in standards mode. IE8 in compatibility mode and IE6+7 however put the image into the next line which l...

canot replace a form to the center of the page

I have a form within the body. And I'm trying to replace the form at the middle/center of the screen. Is there a proper way to do that in CSS? ----------------------- - - - - - - - M - - - - - - - ---...

Why does IE submit a POST request when I click <a><button/></a>?

I've got a form that looks like this: <form method="post"> {% csrf_token %} <table> {% for field in form %} {% partial "partials/field.html" field=field %} {% endfor %} <tr> <td></td> <td> <input name="save" type="submit" value="{% if is_new_entry %}Save...

Is there a better way to do this?

This is the basic idea: http://i51.tinypic.com/1zwcbgn.jpg So I made it like this (notice it is fluid): http://twomuchwork.com/test Is there a better way to do this than the way I did? ...

JavaScript will not run a second time

I am running a script using $(document).ready() it is performing the way I want it to on load up, however, the same script needs to be ran when an html select control is changed. What I need ultimately is for the filter and sort to run on initial load with sorting on Low to High, and then after the page is loading the user should be abl...

FieldSet element in ASP.net

Hello, I am using FieldSet element in my web application. Now I need to apply style to it so that the border color is blue and the legend is bold in color. How do i do that? Thanks in advance ...

HTML: Update page vs. Redirecting to a New Page After User Input

I'm trying to write some HTML code so that a table will be created on the current page after the user submits inputs into a form. That is, instead of entering in values into a form, clicking submit, and being redirected to a new page with the computed output values, I'd like for the output values to appear at the bottom of the current pa...

Trigger Google Maps from Android browser

I have a website designed for the android browser using jquery/jqtouch. As a part of it, i have a map page that loads. In the process of displaying my data, I found that some of my customer's addresses, when clicked kick of the google app map, with the data sent to it. It also seems to load and run a ton faster (as well as having all ...

HTML Radiobutton form not POSTing

I have written a small HTML form and added it to the page. My goal is for it to POST the value of the Checked button to a PHP page which I have also written. The PHP page is not getting the value for some reason. I am also not getting any PHP errors. The codes are below. form.php <form action="http://www.zbrowntechnology.com/InsaneBr...

Detect iPhone Browser

is there a script to detect, if the visitor use iphone (whatever it's browser, may iphone Safari, iPhone for Opera or etc.)? Then will shutdown some some of my JavaScript. Thanks... ...

Problems with form and POST

Hello, i am facing problems with my form, i wrote a app in Python3.1 and when i make a GET or a POST via AJAX works pefectly but when i' ve try to do the same thing with the form-way the environ['wsgi.input'] give me this: -----------------------------4974611941277794205934495116--\r in the first time i think this was because the file...

What's wrong with jQuery, .css and z-index - i.e. find the error in the following code?

What's wrong with this? $("#tag_square").appendTo('#edit-area img').css({ position: "relative", left: "100px", top: "10px", z-index: "2"}); Everything up to the z-index works perfectly. Once I include the Z-index though, I get an 'uncaught SyntaxError - Unexpected Token' in the Javascript console. What gives? Any ideas on what ...

Align some links with CSS

Hi, I'm trying to make a website, but can't quite figure our some of the CSS needed to align my text correctly. I would like to have the three links aligned directly underneath my name one at the end, one in the middle and one at the other end. Here is my HTML followed by my CSS: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict...

Create HTML file with JavaScript

Hi, I'm looking for a way to use a JavaScript function to create a new HTML file in the local directory. Is this possible? Thanks ...

position: fixed without using doctype in IE

How can we fix an element in HTML page without using <!doctype>? Thanks in advance ...

IE6 input box doesn't work. How to fix?

OK, Little background information here: I have narrowed down the problem, but can't determine what the fix is. In IE6 the input box won't allow me to use my mouse to select it. Please go here to see the problem: http://www.malahatautoparts.com/business-application/ The problems stems from an IE6 fix for the css background. #main{ ba...

How to allow input type=file to accept only image files

I need to upload file which is an image.I am using .But it will accept all types of files.I need only files with extensions such as .jpg,.jif etc.How can I make the upload dialogue to select only image files . Thanks in advance ...

disable css classes using jquery just like with firebug, is it possible ?

I get the effect that I want using firebug; I disable this: .ui-state-highlight a, .ui-widget-content .ui-state-highlight a { color:#030303; } (actually I only need to disable .ui-state-highlight a {color:#030303}) how could I do this using jquery ? ...

td size does not increase when i increase the size of image

hi i want to know how to increase the size of td in table when i increase the image size. i have image in table td. i have some option for increase the image size, in that time, the image will increase but the td size does not increase, so i cant see the image full size the left side will not show. thanks in advance ...