The browser on the iPhone is capable of using advanced web technologies introduced in HTML5. One of these is the app cache that allows web pages to run on the client, from the cache, without a connection to the internet. Together with Local Storage you can also save data permanently "in" the page.
My question is, would it then be possib...
I'm writing a page where I need to get the value attribute for the selected option within a select tag.
The way I usually do it like this:
onchange="changeCurrentWebsite(this.options[this.selectedIndex].value)
However every time I use ".value" in Javascript my IDE(Intellij) complains that that symbol is deprecated... Does anybody know ...
IE 7 and IE 8 do not render 2 consequent divs with float:left on the same line if there is a table in one of the DIVs which is 100% width + non-zero margin:
<html>
<head>
<title>IE float left bug</title>
<style type="text/css">
.inttable
{
width: 100%;
margin: 9px;
}
.multicolumn
{
margin: 0px;
border: 0px;
padding...
Hi,
I found by browsing some pages source code that they resize a box using either CSS or Jquery. The code and files are very long so I thought if someone knows how to do this.
What's it?
On images files, I find a box (designed with an editor), this box has a size of xxx X yyy. A way to use it on a division, is to use it as a backgroun...
<img src="images/logo.gif" />
is equivalent to
<img src="./images/logo.gif" />
But
<img src="/images/logo.gif" />
is different.
Where is the third item looking for logo.gif?
...
Hi,
Im trying to get away from using the html TABLE tag, but cant figure out how to build, what I want it to look like. I have made a screenshot of me using the table tag,
How would I do this with divs or/and spans etc, and still retain the vertical alignment of the labels (firstname, lastname in this example)?
(font size and color etc...
I know there are a quite a few WYSIWYG HTML editors written in JavaScript, but most of them aren't written to take advantage of jQuery. I'm looking to use one in a project I'm working on, and I would like to know which of ones are the best.
I'd prefer it to make use of jQuery for compatibility reasons, but it isn't required to be a jQue...
Why HTML/JavaScript/CSS are not becoming compiled languages (or maybe even merge into a single compiled language)? What if browsers were running "Browser Virtual Machine" and html/javascript/css sources could by compiled to a "browser bytecode". Wouldn't it help developers and users a lot?
I can see a few challenges:
What to do with z...
html {
width:100%;
}
How to change the css of above mentioned html dynamically on clicking the button using javascript... ? I mean i want to make the above html css as written below.. But i have to change this dynamically using script....Can we do this?
html {
width:100%;
overflow-y: hidden;
}
...
I am doing an MVC with C# application. I was trying to access the entire row in a table and change the values in each cell using jquery.
I need to do change the value in each td once a json call is succeeded.
Please advice for this
...
What is the best way to provide a caption for an HTML list? E.g
Fuit
Apple
Pear
Orange
How should the word "fruit" be handled, particularly if I want it to be semantically associated with the list itself?
...
I have many SWF file those I have included in my web page using the HTML Object tag. Its working fine but, I am not able to maintain the size of my SWF files. I have following code for SWF files.
<object id="example_flashGame" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/c...
how to hide a bullet points? example like this website
http://www.grainge.org/pages/various_rh_projects/alt_dropdowns/showhide_3/showhide3.htm
you can see the example
first Hotspot
second hotspot
if we click 'first' it appears but if not it's not appear. how to do that
...
As the title says, is there any difference ?
Explanations, please.
...
Hi All,
We have designed an application which has two frames. First frame have displays available menu list in it and second frame have the menu content displayed in it. We have designed our pages and style sheets so that the page text content is re sizable using View > Text Size feature of IE.
Is there any re size controlling factor w...
Background
I was creating a secondary navigation menu using embedded unordered lists with anchors and headers. Using a CSS reset sheet all headers and anchors are set to "display: block". When list-style-position: inside is set Firefox and Camino render the headers and anchors below the bullet while Safari, Camino, and IE render it inli...
Is there is any way to write html and css with out using css hacks which will work in all the browsers including ie6? Only using with div and not with table? I want to have the page both html and css with w3c compatible.
...
I have a html form that I process with a aspx page. I want to be able to go back to my html form if the validation on the aspx page returns false (I cannot use javascript to validate the html form). I can't use Response.Redirect as I will lose the data initially entered on the html form.
The set-up is:
form.html (set action attribute ...
Is there any way to control the order of which the GridView control renders it's thead, tbody and tfoot child elements?
According to W3C, the correct order is:
thead
tfoot
tbody
The GridView control renders out:
thead
tbody
tfoot
I am extending the GridView control, and I'm using the "first column controls the width of all col...
I've got a div needs to show the first three items in a list, if that list is bigger than three items, I'd like a button to trigger to expand to reveal all the items. It's possible for me to find out how many items will be in the list via PHP, but this number could be from 0 to 30.
<style type="text/css">
.box {
height: 80px;
overf...