html

jQuery Sortable linked lists spilling outside container as they expand?

This I'm assuming is a relatively trivial problem. I have two connected sortable lists, each inside a seperate fixed DIV. I have the DIVs set to overflow:scroll-y. As I add LI objects to a list, instead of the expected behaviour (expected by me) of a scroll bar appearing and the bottom of the list being neatly hidden, the list spills ...

css stretching the 2 column grail to meet a footer

Hello, I am sure this is a common frustration - but I am trying to just do a two column liquid with a footer in rails. The problem that I am having is that I can get the footer to stick on the bottom, or to the columns. I am using this for my basis for the columns, I just need them to stretch to the bottom of the page, filling with ...

Character case in HTML tags

What's the rule for character casing in html tags? I have a situation where I need to force no caching on a site of mine. I have been using all lower case for all html tags and attributes (being under the impression that it's case insensitive). I haven't had any issued from this, until now. I have found that the following works on IE7:...

How should I go about this?

I have a MySQL Database of more or less 100 teachers, their names, and their phone numbers, stored in tables based upon their department at the school. I'm creating an iPhone app, and I've found that UITableViews and all the work that comes with it is just too time consuming and too confusing. Instead, I've been trying to create a web pa...

Mobile web development book

I am looking for a mobile web development book(s). Possibly one book about design best practices and one or two about the actual implementation of the technologies for mobile, namely JavaScript, HTML, CSS, accessing device API such as location and messaging through browser. Any book suggestions and descriptions of said book would be ve...

defining a page id in javascript

Is there anyway of defining a pageID sort of thing to an html page, for using in javascript code... ...

jQuery Fancybox contact form not submitting

I've set up a Request for Callback form that pops-up when a use clicks a button link, using Fancy Box. However, when the form is filled out and 'Submit' is clicked nothing happens. The contact form is linked with a form action to /success.php. This page has a script that should send an email notification to the site owner and this scrip...

How to comment/uncomment in HTML code

Hello all Often while coding view templates in html, my habit of adding some helpful comments causes lots of time-consuming effort while testing. Consider this code... <!-- Here starts the sidebar --> <div id="sidebar"> .... </div> <!-- Here starts the main contents pane --> <div id="main-contents"> ... </div> <!-- Here starts the f...

How do I retrieve the HTML of a webpage in C#?

Possible Duplicate: How can I download HTML source in C# I want the source HTML of the webpage so I can parse it in my C# program. ...

How to pass javascript variables from one html page to other html page

I have the following code to pass variable from example1.html to example2.html , what will be the syntax in window.location.href to navigate to example2.html with username and keyword. example1.html <script type="text/javascript"> var username = ($("#username").val()); var keyword = ($("#keyword").val()); $("#button1").cli...

An html challenge

http://i.imgur.com/PqmVu.jpg A container that contains a box centered horizontally and it also contain a line centered vertically beside the left or the right side of the box. The width of the container may change dinamically so the line should also change its width (automatically). I hope the image explains that well. ...

How do I create an HTML table in Perl?

How do I create an HTML table in Perl? ...

Approaches for embedding script required data in markup

What approaches can be used to embed additional meta data in HTML markup, where that data is required by client side javascript. Some simple examples of what I mean: A list of contacts which when clicked shows their position in a map. ie: how to associate a lat/long with each contact. A set of images which when clicked pops up a drag...

Changing stylesheet for a partial

I have a Movie class in my Rails app, and I have a "_movie.html.erb" partial that displays the movie's title, its overall rating, and a brief summary. I want a stylesheet to apply to this particular partial, but nothing else in my app. How do I do this? In case it helps, I don't want to do some type of CSS classing on the partial inst...

I want to get the value of disabled text box in our next jsp but i am getting null value .

Hi I want to get the value of disabled text box in our next jsp the value comes null. any idea about this. thaks ...

accessibility - label attributes for radiobuttons

I have a form which contains a 'gender' label and two radio buttons'male' and 'female'. How can I put 'label for' in this particular scenario ? <label for="username">User Name</label> <input type ="text" id="username" /> <label for="?">Gender</label> <label for="male"><input type="radio" id="male" value="male" /> </label> <label...

How to use this square cursor in a HTML input field ?

How can I use this square cursor ( image below ) in the input tags ? ...

Auto Add Google Analytics Code to a HTML page each time the page is rendered

I have a web site hosted on an a Apache web server. Another person uploads static html files to a folder each week via an ftp generated from third party software. I am looking to insert Goggle Analytics code to each page as it is rendered while preserving the URL's, original HTML and process of uploading. I do not know when the files ar...

How to store dyanamic value into jquery cookie variable

How can we store dynamic variables into cookie . var username = ($("#username").val()); how to store the variable username into jquery cookie variable $.cookie('username', '+username +'); alert($.cookie('username')); ...

HTML to Word Doc in ASP.NET

How can I convert HTML to Word Document in ASP.NET? Please tell me a free tool. ...