html

HTML editor - A free alternative to DreamWeaver

Hello, In the past, I used to work with DW4 and liked the way it allows you to visually write HTML pages. Can anyone suggest a free alternative for Windows? ...

What does appending "?v=1" to CSS and Javascript URLs in link and script tags do?

Hi all, I have been looking at a HTML 5 boilerplate template (from http://html5boilerplate.com/) and noticed the use of "?v=1" in URLs when referring to CSS and Javascript files. What does appending "?v=1" to CSS and Javascript URLs in link and script tags do? Not all Javascript URLs have the "?v=1" (example from the sample below: js/...

Sandbox Theme Center Menu Elements

The theme is here (the page is a live preview) http://www.plaintxt.org/themes/sandbox/ I've been trying with all mixtures of text-align: center; and margin: 0 auto; I just can't seem to move the elements of the menu into the center of the page. Any help would be great :) ...

Resize event not handled

I have a simple webpage that IIS is hosting. This page is being called via a window.openModalDialog() command. I am using IE8. The div/body are set to fill the browser window. This works everytime except the first time this page is loaded. The first time this page is loaded, the body does not fill the size of the browser window. For so...

RegEx to grab an entire div with a specific ID?

Hi There, I have some markup which contains the firebug hidden div. (long story short, the YUI RTE posts content back that includes the hidden firebug div is that is active) So, in my posted content I have the extra div which I will remove server side in PHP: <div firebugversion="1.5.4" style="display: none;" id="_firebugConsole"></di...

Mapping HTML5 elements to HTML classes and IDs, but what about header tags?

Hello, at work we're starting to follow this particular guide for slowly implementing HTML5 goodies: http://oli.jp/2008/html5-class-cheatsheet/ The basic idea of using HTML5 structure, but with HTML4 divs with classes and IDs instead. We're aware of Javascript scripts that can genearate the require HTML5 elements (so IE can actually st...

CSS Shadows all four sides of div

I want to achieve this in CSS - not CSS3 as I want it to be supported by all browsers ie a div containing content, with the shadows on every side. The top area will be used for navigation. I have searched for tutorials but so far to no avail. Help! ...

How to show <Select > in sorted order

How can I sort the <option> elements of a <select> tag using JavaScript? Here is the HTML I have: <form action="example.asp"> <div> <select size="3"> <option value="op2" >Option 2</option> <option value="op1">Option 1</option> <option value="op4">Option 4</option> <option value="op3">Option 3</option> </select> </div> </form> ...

Dashed border rendering bug in IE8

Hi, I've come across yet another problem in IE8 - dashed borders scramble and break when scrolling the page. Below are 2 w3-valid pages demonstrating the behavior: as HTML4 transitional and XHTML1 transitional. In the 1st example I've discovered an utterly weird fix for the problem by adding an <input> element. Whenever it's there, the...

html canvas shape blur filter

There must be a way to do this. I have drawn a shape with the html5 canvas and I would like to blur it. As far as I know there is no native method so I assume a js library is needed. The problem is most libraries only blur images like this one for example. Is this possible? ...

How to remove the inherited style on Text Box object from <td> that the text box is nested in..

How can I remove the inherited properties? ...

Annoyance with space after <span> tags in Internet Explorer.

<div onclick="alert(this.innerHTML);"> <p>Since you saw <span title=":P" class="emoticon tongue"></span> if <strong>you read</strong> the intro post <span title=":D" class="emoticon laugh"></span><span title=":D" class="emoticon laugh"></span> a</p> </div> I have this markup, its fine and behaves as expected in all other browsers (as...

Opening HTML link in new window

I've got a table that shows details about some products, which are stored in the database. These details are Item Name, Price and submit Date. Item Name Price Submitted on Laptop £30 12/04/10 guitar £5 12/05/10 If I click on Laptop I want to see all details such as Title, Price, Description, Picture, Contact n...

Margin Bottom Not Working

What is preventing margin bottom from working here? http://jsfiddle.net/cq8VC/1/ I just want the active one to be jumping up in the air about 10px. ...

Object tag auto hidden, why?

I am trying to place flash swf into my html through php but when the page loads the flash file is hidden. I can hear the sounds and music but it is not visible. Here is the code I am using: '<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"&gt;&lt;/script&gt; <script ty...

How to create a dropdown-menu that is wider than its title?

Here's the basic structure of my menu. I cannot change that. <ul> <li><span>Bedroom</span></li> <li><span>Kitchen</span> <ul> <li><span>Pot</span></li> <li><span>Panholder</span></li> </ul> </li> <li><span>Garden</span></li> </ul> Here's the layout I want to achieve: Bedroom | ...

To identify links regarding the Press Release pages alone

My task is to find the actual Press release links of a given link. Say http://www.apple.com/pr/ for example. My tool has to find the press release links alone from the above URL excluding other advertisement links, tab links(or whatever) that are found in that site. The program below is developed and the result t...

How to check if a html control exists?

How do I check if an HTML control exists? This is my code: var id = ... if(document.getElementById(id)!=null) { //do something } if the html control is radio doesn't work. How is this done? ...

SWFUpload alternatives

I've developed a system that uses SWFUpload to easily allow the user to upload multiple files with a progress bar showing them the upload progress. It all works fine in my development environment, but is failing for some users in the wild with the Flash movie not loading. I can see the Flash movie is there, if I right click it a window a...

Filter the HTML table and result should be in a HTML table

I am new to programming, i am having a html page with 5 columns and 20 rows and an input field above the table. When i search for a date from the table, the result should be in a table format. See the example below. chandru, chandu | george, john | ohn, chandu | james, jones | Gita, sham | _______________________________________...