html

Big Renaming Project

I'm about to start a renaming project on a major data driven website USING VISUAL STUDIO and WINDOWS XP. I've got a script to change the company name in the data/tempates thousands of times. Does anyone have any ideas how I can verify that all of the names have been changed? Is there a way to pull the generated files down to my disk s...

display all ie versions under one application

I had an application/browser that would show me the website under different versions of IE I would select which version and it would display the page through the lenses of that version Not able to find the program, can you please point it to me ...

Link/Import HTML Document in Javascript's "string"

Hey everyone, I have this javascript function getsomethingelse() { //erzeugt den HTML-Code var string; string = "<b>This is a site</b>" //beschafft eine referenz auf das <div> element auf der seite myDiv = document.getElementById("container"); //lädt Inhalt in das <div> element myDiv.innerHTML = string; } ...

Alternate means to get image src using JavaScript

So I know that it is easy enough to swap images of named img tags <img name="image1" src="" /> <script>document["image1"].src="candybar.jpg";</script> The problem is that I am being forced to use content server, and I can't name the image tag. So If I name a Div tag that wraps the image can I use that to specify the image tag in ques...

rich web text-editor with autocomplete

Is there a web (i.e. html) text editor with autocomplete? Let's say I want to do a web based mini IDE. I want to add it an autocomplete feature, so if you write Str and hit a key combination a javascript method would be invoked that returned possible completions, such as String, StringBuffer, StringBuilder, StreamParser, etc ...

Preventing nested DIVs to wrap (without specifying parent width)

In the code below I have 2 divs, each having two nested divs. When the browser window is re-sized under Firefox/IE8 it all works well - The rightmost parent div falls down under the first one. Under IE6, however (or IE8 with compatibility mode) the child divs in the second div wrap. To make things worse, it happens DESPITE the fact I've...

SEO implications of including style and script tags inside body?

I was wondering if there are any SEO side effects if I put my <script> and <style> tags anywhere other than in HEAD. Or is it just due to the XHTML rules that this is bad? ...

HTML/CSS - Check for Missing File References

Are there any plugins or tools that can examine HTML and related CSS files for missing references such as images? I have a very complex page that something is displaying incorrectly on, but I'm having trouble tracking down what exactly is missing or where it is referenced. ...

Can't browse/open .aspx pages

I'm having this problem on a new cruisecontrol.net install running on Windows Server 2003 where I cannot browse to http://localhost/ccnet/default.aspx. I can, however, browse/open .html files, just not .aspx pages. The errors I get when trying to access .aspx pages are: In IE: "Internet Explorer cannot display the web page". ...

How can I check if an element has any children element using jquery?

I have a div that is floating left and the other floating right. I want to check if the div that is floating right has children element; if the it don't have any visible element, I want applied and new class to the left div. See below: <div id="leftContent" class="left "> <table></table> </div> <div id="rightContent" class="conte...

How do I change the text of a span element in javascript

If I have a span, say: <span id="myspan"> hereismytext </span> How do I use javascript to change "hereismytext" to "newtext" ...

Is 'width' applicable to a textarea?

Is the CSS 'width' property applicable to a <textarea>? In practice, people say that they use it successfully, for example using a rule like this: textarea { width:100%; } What's confusing me is that the CSS 2.1 specification for width says, This property specifies the content width of boxes generated by block-level and r...

is an html form handler possible or currently exist, if so how would I use it?

So, what I want is basically to attach a javascript handler to a form, that whenever one of the form input boxes / select boxes is changed or clicked on, this handler would be called with the id of the element that was changed. The reason I was wondering about this is because I already have this form that has about 50 input boxes, and I...

html basic standards document for peer review.

Where can I find the most basic html "coding standard document". This is for an individual unfamiliar with html to peer review the document. Looked around w3c but validators and detailed information is not what I'm looking for. Also looking for JavaScript and CSS documents. Thanks. ...

What are the implications to redirecting images behind the <image> tag?

Some setup: We have some static images, publicly available. However, we want to be able to reference these images with alternative URLs in the image tag. So, for example, we have an image with a URL like: http://server.com/images/2/1/account_number/public/assets/images/my_cool_image.jpg And, we want to insert that into our front htm...

Using <html><u> tags to make button text underlined, caused button to take up entire JToolBar

I need to have a button whose text is underlined and the only way I could find to do this in Java was to use and tags but when I do this, it causes the button to take up as much room as is left in the JToolBar even though the text is short and it should only take up a small amount of space. Here is how I create the the Button. ...

Loading Html page and modifying a section

I need to load an external web (not local) page into my site (some link), but only a part of it. What are the options for doing so? ...

mass change link in html website

I took over an old HTML based site with all hard coded links, no frames etc. Theres who knows how many pages that have a link to abc.html (<--example). I've been asked to go through the pages and change the abc.html link to 123.html (<--another example). I could download the entire site from via FTP then use find and replace to go...

Display HTML Code in JSP (Don't "render" HTML)

Hey everyone, I have a JSP page which accepts SQL queries, performs them then returns the results in a table. A few of the results occasionally have HTML tags in them i.e. - a result will return: This is the returned result! I have <br> and <hr> tags! When this gets put through the code to handle the return and place it into a tabl...

Layout with divs works if I float it to the left or right, not otherwise.

In the HTML below, the layout works when the actionBar class has a float (left or right only), however, if I remove it, the enclosing div stretches across the whole page and messes up the layout. I'd really like this "structure" to be centered on my page. Currently with the "float" specified in the actionBar class, it's either left align...