html

List all links in web site

I have all the web pages of a website. My task is to change all HTML files to .asp files and change the links... I have about 280 HTML files.. is there any software or web service which can read a website and show me all the link structures (to make my job easier)... similar to a site map. ...

Make html validation part of build cycle

Currently when I build my site I have to manually open validate it at the 3wbc site (means when opera pops up, press ctr+alt+shft+u) for every page. Is it possible to automatically validate every page whenever I build my pages? P.s.: This page doesn't validate ;) ...

Flash inside a scrolling div - IE6 bug

I have div containing a list of flash objects. The list is long so I've set the div height to 400 and overflow to auto. This works fine on FF but on IE6 only the first 5 flash objects that are visible work. The rest of the flash objects that are initially outside the viewable area are empty when I scroll down. The swfs are loaded ok be...

Width of an element accounting for quirks mode in javascript?

I've been scanning through all the popular js libraries, but I can't find one that has a width function for a DOM element that actually accounts for quirks mode in Internet Explorer. The issue is that padding and borders don't get counted in the the width when quirks mode is engaged. As far as I can tell this happens when the doctype is ...

How to get the new value of an HTML input after a keypress has modified it?

I have an HTML input box <input type="text" id="foo" value="bar"> I've attached a handler for the 'keyup' event, but if I retrieve the current value of the input box during the event handler, I get the value as it was, and not as it will be! I've tried picking up 'keypress' and 'change' events, same problem. I'm sure this is simple...

Div Positioning Problem

I am working on a site laid out with divs. I am having trouble with one in particular: the training photo div. If you go to http://php.wmsgroup.com/eofd6.org/education.html you'll see a photo underneath the left nav that has dropped down. I want it to snap right under that nav box. I have tried several different things with its position...

How do I keep Numbered Lists indented in html/css?

How do you keep numbered lists indented using HTML/CSS? I have a page where the digits are not indented and it does not look good. Here is a sample page: http://php.wmsgroup.com/eofd6.org/volunteer.html CSS is at: http://php.wmsgroup.com/eofd6.org/in.css Thanks! ...

Website Layout: DIV Positioning and Placement

Here is the html code to a home page I am working on: Freese Custom Homes homes under construction homes completed development information contact us Floorplans A list of our current floorplans, both rambler and 2-story. You can download a pdf of each ...

Creating a client editable events calendar in html or php

A prospective client wants to have a calendar feature on their website. They want the option to go edit this calendar to update the events. Does Word Press offer something like this? ...

Does noscript content load in bg

Does the html tag noscript load the content in the background, even when javascript is enabled? I have a random image that is called by JS each time the pageloads, but I would like all of the links (not just the current random one) to be crawled. At the same time, I don't want the pageload to slow down because images are loading in t...

How do you get the text from an HTML 'datacell' using BeautifulSoup

I have been trying to strip out some data from HTML files. I have the logic coded to get the right cells. Now I am struggling to get the actual contents of the 'cell': here is my htm snip headerRows[0][10].contents [<font size="+0"><font face="serif" size="1"><b>Apples Produced</b><font size="3"> </font></font></font>] ...

HTML encode user input when storing or when displaying

Simple question that keeps bugging me. Should I HTML encode user input right away and store the encoded contents in the database, or should I store the raw values and HTML encode when displaying? Storing encoded data greatly reduces the risk of a developer forgetting to encode the data when it's being displayed. However, storing the en...

Why does a floated <input> control in a floated element slide over too far to the right in IE7, but not in Firefox?

Hopefully a picture is worth a thousand lines of code because I don't want to have to strip down all of the ASP.Net code, HTML, JavaScript, and CSS to provide an example (but I'll supply what I can upon request if someone doesn't say "Oh, I've seen that before! Try this...") [Actually, I did post some code and CSS - see bottom of questio...

Unlinked web pages on a server - security hole?

On my website, I have several html files I do not link off the main portal page. Without other people linking to them, is it possible for Jimmy Evil Hacker to find them? ...

How do you make <div>s display inline?

Given this HTML: <div>foo</div><div>bar</div><div>baz</div> How do you make them display inline like this: foo bar baz not like this: foo bar baz ...

Tooltip for a line of text

<td title="this is a really long line that I'm going to truncate">this is a really long line that I'm going to trunc ...</td> Is this the correct way to do it? ...

Javascipt library for syntax highlighting for code, then diffs, in HTML, at the line level?

Anyone know of a JS library that will allow me to syntax highlight a code block, then highlight line-level diffs? For example, in a subversion diff, I'd like to highlight the characters on the line that have changed (as well as highlighting the fact that there are change(s) on the line). Edit: I'm after something that will let me synta...

create HTML menubar

Hi, I'm looking for some help with creating a horizontal menubar in HTML. The menubar will have menus such as File, Edit, View and when you mouseover or click on the File menu (for example), the menu will be displayed showing menu items such as New, Open, etc. Ideally, I'd like to create the menubar and menus using pure HTML and CSS, b...

Is it good to include title="" within your links?

I am developing a website and for the main navigation, I was thinking it would be a good idea to include the title attribute. <a href="/results/" title="Results">Results</a> Is this a good thing to do? Also, is it good for SEO and accessibility? ...

can I put a <style>...</style> tag within the body of an HTML file?

Since a lot of email clients ignore the HEAD tag, can I embed an inline stylesheet in the body? ...