html

Validate all ASPX, ASCX and HTML files when building

Visual Studio will show errors in an AS?X or HTML file in the Error List window when you have that file open. However once you close the file the error(s) are removed from the Error List. Is it possible to validate all AS?X and HTML files in one action (ideally as part of building) and show all errors at once? ...

How do you parse an HTML in vb.net

I would like to know if there is a simple way to parse HTML in vb.net. I know that HTML is not sctrict subset of XML, but it would be nice if it could be treated that way. Is there anything out there that would let me parse HTML in an XML-like way in VB.net? ...

Correct element.getElementsByTagName() implementation

//EDIT My issue was related to something else, I thought the implementation was incorrect but it actually works, thanks for the confirmation. Looked in jQuery and prototypejs, can't seem to find the way they implement getElementsByTagName on a element (not document.getElementsByTagName). Here's my test html: <div id="something" style=...

Force canvas element in html to take up the entire window?

Instead of <pre> <canvas id="theCanvas" width="500" height="500"></canvas> </pre> where I specify the size of the canvas is there a way to make the canvas take up the entire browser window? ...

Printer Friendly Pages With a Header on Every Page?

I'm working in a J2EE environment with a web app that displays large amounts of tabular data. We want to be able to print these tables with each page displaying the header and footer. I understand some browsers support this through the thead,tbody,tfooter tags, but the users are using IE6 only. A row is normally only one line but on o...

Utilitiy dynamic creation of static pages...(I'm not asking this because I want to, rather becasue I have to...)

Does anyone know of a utility for **ahem** stringing together static pages. For instance: Say I wrote a header and a footer of a page, and I only wanted to change the content without **sigh** dynamically generating the content of the page. (I.E. the page is dynamically generated, but the end result is just a static page to be dumped i...

Possible to do a glow/shadow using partial transparency in HTML/CSS?

Well I guess this is a two part question. Firstly how can I make an image have partial transparency (I think you can do this with PNGs but don't know how -- I have photoshop just need instructions?) Secondly how do I use that image in a layout using CSS? I think I need some kind of "PNG Hack" ...

What is the best solution for converting RichTextFormat info to HTML in C#?

What is the best solution for converting RichTextFormat info to HTML in C#? I know there are libraries out there that do this, and I was curious to see if you guys had any advice as to which ones are the better ones. Thanks, Jeff ...

Dynamically display a CSV file as an HTML table on a web page.

I'd like to take a CSV file living server-side and display it dynamically as an html table. E.g., this: Name, Age, Sex "Cantor, Georg", 163, M should become this: <html><body><table> <tr> <td>Name</td> <td>Age</td> <td>Sex</td> </tr> <tr> <td>Cantor, Georg</td> <td>163</td> <td>M</td> </td> </table></body></html> Solutions in any l...

How do I get the result of a checked checkbox?

I'm really new to HTML, but I can't find anywhere how to return the variable from a check box. I've figured out how to get variables from forms and inputs, but I don't know how to get them from check boxes. Basically, I want a check box that if checked, will return the value yes. If not checked, it doesn't have to return a value, but no ...

Data processing in HTML without server code (using just Javascript)

I was just wondering whether there is some way to do this: I have a form in a web page, after the user submits the form, the page is redirected to another static HTML page. Is there any way to manipulate the data in the second HTML page without the help of any server code? I mean can I display the form data that the user submitted in ...

How do I get a simple, Hello World Java applet to work in a browser in Mac OS X?

I'm using Java SE 1.6 on Mac OS X 10.5.6. The code for my applet is as follows: import java.awt.Graphics; import javax.swing.JApplet; public class HelloWorld extends JApplet { public void paint( Graphics g ) { super.paint( g ); g.drawString( "Hello World!", 25, 25 ); } } I compiled this to a .class ...

Why use definition lists (DL,DD,DT) tags for HTML forms instead of tables?

I've come across a few examples recently that do things like: <dl> <dt>Full Name:</dt> <dd><input type="text" name="fullname"></dd> <dt>Email Address:</dt> <dd><input type="text" name="email"></dd> </dl> for doing HTML forms. Why is that? What is the advantage over using tables? ...

What is the more efficient way to delete all of the children of an HTML element?

I know that accessing and manipulating the DOM can be very costly, so I want to do this as efficiently as possible. My situation is that a certain div will always contain a list of items, however sometimes I want to refresh that list with a completely different set of items. In this case, I can build the new list and append it to that ...

CSS: Adding Divs to a Div (rounded corner discussion)

I'm currently using a combination of CSS and Div tags to achieve rounded corners on a text element. This is the CSS I'm using: div#installerSearch { float: left; position: relative; color: #000055; width: 154px; border: 1px solid #2A5390; padding: 8px; background-image: url('images/background.png'); } div.ro...

What is SHTML

Recently I came to know about SHTML. And also I have look at site having extensions as .shtml. What is the purpose of SHTML in what ways it differ from HTML and DHTML ...

What is the best way to crop an image in HTML?

What is the best way to crop an image in HTML? It would be something like the following: <img src="something.gif" x1="10" y1="10" x2="20" y2="20"> If that doesn't work, then I'll just use GIMP. Any thoughts on how I can get this to work programmatically? ...

Should I still use html entities? Why?

Is html entities still useful or should I simply create UTF-8 encoded html documents? Please explain why. ...

Google's drop shadows in HTML -- how does it work?

Recently gmail added some custom button and menu widgets in html. They've already tipped their hand as to how the gradient effect within the button works without images. But there's also a subtle drop shadow behind the new menus, which doesn't appear to use images. There's also lots of crazy drop shadow effects in google maps. Does any...

Google's Imageless Buttons...

There have been a few articles recently about Google's new imageless buttons: http://stopdesign.com/archive/2009/02/04/recreating-the-button.html http://stopdesign.com/eg/buttons/3.0/code.html http://stopdesign.com/eg/buttons/3.1/code.html http://gmailblog.blogspot.com/2009/02/new-ways-to-label-with-move-to-and-auto.html I really lik...