html

strange problem with WriteBeginTag

i use such code, but it renders with error <li class="dd0"><div id="dt1"<a href="http://localhost:1675/Category/29-books.aspx"&gt;Books&lt;/a&gt;&lt;/div&gt;&lt;/li&gt; there is no > in opening tag div. what the problem? writer.WriteBeginTag("li"); //writer.WriteAttribute("class", this.CssClass); writer....

jQuery: Open File Upload window by pressing a link or image.?

Is this possible to open a File Upload window when clicking on a image or link. (like what exactly in the <input type="file" name="upload" />). ...

Can you have multiple clipping regions in an HTML Canvas?

I have code that loads a bunch of images into hidden img elements and then a Javascript loop which places each image onto the canvas. However, I want to clip each image so that it is a circle when placed on the canvas. My loop looks like this: $$('#avatars img').each(function(avatar) { var canvas = $('canvas'); var ...

Search for contents inside a website

Anybody please give some useful links on this topic.i need to create a content search for my website.. i have tried google but not get useful materials on this topic...please help me ...

Java library for CSS cleanup

For a rich text editor that has to handle pasted HTML code from MS Office applications, I'm looking for a Java library that cleans up the content of all "style" attributes in HTML elements, so that only some CSS attributes are left: background-color border color font-family font-weight font-style list-style-type text-align text-decorat...

Photo gallery in javascript

Hai, I am in search of a photo gallery in jquery like the one in the following link http://www.epson.co.in Could you guess tell me where i can get a plugin like this. thanks ...

HTML Markup To Use For Video Transcripts

Any idea what the proper containing markup would be to indicate a transcript for a video? Thinking accessibility for folks with disabilities but also perhaps search engine recognition of the association between the text and the video. ...

HTML 5 video or audio playlist

Can I use a <video> or <audio> tag to play a playlist, and to control them? My goal is to know when a video/song has finished to play and take the next and change its volume. ...

How to assign ID to TR generated by datalist/datagrid in asp.net

Please help me.. how can i set ID to tabelrows generated by datagrid/datalist.. i mean.. i want to assign a row id by myself to every row of datalist ...

Create div with title header

How would i create the below using pure CSS (no images, no tables, no javascript)? ...

How can I create a web based administration interface.

Hi all, I'm planning to create a simple web based interface that stores administration input in json format (for use later by an applicaiton running on the same host) example json output is here: http://www.json.org/example.html The content would be user contacts (email, name, phone number, photo etc..) There would need to be a conf ...

CSS: Aligning problem with rounded corners in IE 6/7 but ok in IE8/ Firefox etc

Hi there, can anyone help? I have a problem aligning rounded corners in IE6/7. Basically everything seems to work in Firefox / IE8 but in IE6/7 the left / center / and right divs get misaligned. This basically shows exactly what i am refering to. here is the example in IE8 and everything works ok http://es.drop.io/ern0fye/asset/ie8-j...

Body Margin:0, Div Width:100% problem in FF and Chrome, fine in IE

Hey People, I'm starting to pull my hair out of my head... I have the following: <html> <head> <style> body { margin:0 auto; } </style> </head> <body> <div style="border: solid 1px red; width: 100%;">test</div> </body> </html> This works in IE producing a nice div, 100% width, no H scrollbar... Now in Chrome and FF, it is 1...

Is it possible to remember the filename from a fileupload field and then later launch that file via javascript?

I have a HTML file upload field from which I'm reading the file name of the file that the user specifies. The actual contents of the file is never uploaded. At a later stage, is it possible to construct a link using this file name information so that if the user clicks on this link, the original file is launched into a new browser windo...

Add inner-marging to a 4 columns CSS

I am not a CSS expert (mainly because I haven’t had the need to use much HTML/CSS stuff lately), so I came up with the following style/divs to create a 4 column layout: <style type="text/css"> <!-- .columns:after { content: "."; display: block; height: 0; clear: both; ...

IE8 ignores margin-top any idea why ?

i have two divs one floated to the left and the other to the right and after them i have added a div with style clear:both after that i have an other div with a margin-top : 35px the margin is shown as expected in IE7 FF Chrome and opera but can't see it on IE8 any ideas ? ...

Problems with html forms.

My form views fine in IE7 and IE8 but FireFox does not display the form correctly: The problem is it does not display the form inside my "mainContent1" Note my code below: <div id="mainContent1"> <form action="forms.php" target="_self"> <fieldset> <legend>Postal Address</legend> <label for="street">Street address:</label> <input id=...

Using regular expressions to remove relative path slashes

Hey Guys I am trying to remove all the relative image path slashes from a chunk of HTML that contains several other elements. For example <img src="../../../../images/upload/1/test.jpg /> would need to become <img src="http://s3.amazonaws.com/website/images/upload/1/test.jpg" /> I was thinking of writing this as a rails helper, a...

Problems rendering pages in FF and IE

I am having a constant trouble with pages not rendering correctly between FF and IE. not my code below. "Select an Account" should be next to the drop down such as: Select an Account Type: "then my form" however my form goes to the next line when I want it next to "Select an Account". In IE it renders correctly in FF it does not. <p...

get textNode of a elementNode of a web page via javascript

In a web page,i want to get every visible text in a textnode.I don't want to put all the result into one array.I mean, when i meet a visible text, i will do something else. How could i achieve it? ...