In an effort to tell a browser's cache how to treat my site, I wanted to write some cache control rules in the header. There is a great resource here, but I cant seem to find the correct cache control code for my situation.
Because my website is static, I want the browser to always keep the data in its cache. BUT, the pages that do chan...
Hi I have a function to increase the No. of rows of a textarea when the user types on it, so it works fine. But when the form brings the text into the textarea as the user is not typing in, it does not increase the number of rows, but it shows only the number of rows defined at the beginning (rows="1"), as I need it to be the smallest nu...
Hi,
I own a Domain name e.g. www.mydomain.com
I also own a webserver e.g. www.myserver.com
After navigating to my webserver via www.myserver.com clicking on links to different pages within my servers file structure will result in a change in URL...
For example
Clicking on a link to main.html will result in www.myserver.com/main.htm...
Hello Everybody,
We are working on a page with multiple tabs which has all static information like labels and textboxes to retrieve registration information. We use Jquery UI Tabs so we have all the tab details as Divs in the same page. My colleague feels that it is difficult to manage the page since it has close to 800 lines of html co...
Hi,
I have three li tags and each has a unique Id and I am trying to associate each with a different image. On hover, on a given li the image for that li will be shown by appending the image to a div. Let us say there was no unique id .... is it possible to associate a different images with each li tag ?
Any ideas ?
<script type="...
Below is my code:
<form id="productForm" method="post" action="test.html">
</form>
...
Hello,
I want to embed videos from different video sites like YouTube, Vimeo and so on...
But I have a problem:
The Skins of the players are all different
and I want a consistent video skin.
Is there any possiblity to get this work?
I can't host the videos on my server because I have to pay for the traffic
and that would make me poor ...
Hi all,
I am working on a clients website and want the background images on the "cruise_offers" div to change, possibly only 3 - 4 images in rotation.
My jquery knowledge is quite basic so any help would be great.
I would prefer it to work with jQuery as I am using it elsewhere on the site.
My markup:
<div class="cruise_offers">
...
I have a dynamic string from PHP that I encoded using htmlentities() so I can pass it on AJAX using jQuery and JSON. Now I got something like
{ "error": "false", "html": "<div id="user_add_title">Adding New User<div class="showhide-div"><a class="hideShowToggle" href="#" onclick=&qu...
I am designing an html web page that mimics inline panes by defining this css class:
.paneSection{
display: block;
border-width: 1px;
border-style: solid;
margin: 2px;
padding:0px;
height:200px;
width:200px;
overflow: auto
}
and applying to a span tag. The resulting code is something like this:
<table>
<tr valign=...
I'd like to make it so the background image stays stagnant/put while the website scrolls up and down. How do I go about doing this?
...
Assume that I have some HTML code, like this (generated from Markdown or Textile or something):
<h1>A header</h1>
<p>Foo</p>
<h2>Another header</h2>
<p>More content</p>
<h2>Different header</h2>
<h1>Another toplevel header
<!-- and so on -->
How could I generate a table of contents for it using Python?
...
Are single quotes valid in HTML? And more specifically: XHTML strict.
<table width="100%">
<table width='100%'>
...
Please view the following HTML/CSS as a webpage. It displays an outline with borders around the various elements. The containing list intentionally allows for horizontal scrolling within a fixed width. The trouble is that when you scroll to the far right of the outline, you can see that the borders (all hot colors) of the inner elemen...
Hi ,
I'm developing an advertisement portal for a newspaper and I want to add an astonishing feature to my website.
here is my idea :
I want to add a capability to let user to write his own advertisement's text withing an area then let him to tailor it as the way he/she wants it then at the end , the program calculate the inches high o...
I have a HTML Ajax website which consists only of one HTML file. How can I create an iPhone App out of it? The HTML file should be stored locally on the iPhone so it functions offline.
...
I don't know the rendered width of DIV or any of the buttons. How do I change the markup such that the buttons are rendered with a uniform (or as close as can be) distance between each of them?
EDIT: Also, the buttons should consume the full width of the DIV.
<div>
<asp:Button ID="Button1" runat="server" Text="Action1" />
<!--...
Hey guys! I feel like I have gotten a good grasp on IE6 and 7 recently, but today I was working on a site and I just seem unable to fix this problem.
http://arboroaks.bythepixel.com/tyrone/
Check it out in Firefox and Chrome and IE8. All looks good! But then, go into IE7 and some extra padding gets added, as well as the links have...
I have a multi selection combo box and a checkbox in a form.
I'd like the checkbox to be enabled only when user selects a particular value from the multi selection combo box.
Is this possible to do ...either by javascript or jQuery. I am already using jquery elsewhere.
Example: http://jsbin.com/ipomu
to begin with checkbox will be...
My friend sent me a link to this little page which shows a simple HTML+CSS layed out page. However, if you look at the source code, you'll notice there's no link to the css file.
If you're using ff with firebug, you can see that under NET, the css file is linked through a sent header (just wanted to show y'all that).
My question is, do...