html

GridView Vs. HTML Table (ASP.net 2.0)

For full control of your application, do you prefer a GridView or a HTML table? And why? For instance, I need to create on-the-fly hyperlinks-per-row in a GridView/HTML table. What object would be more easy to add that feature (or others like this one)? Note: I'm creating programmatically my datasets ...

Common Header / Footer with static HTML

Is there a decent way with static HTML/XHTML to create common header/footer files to be displayed on each page of a site? I know you can obviously do this with PHP or server side directives, but is there any way of doing this with absolutely no dependencies on the server stitching everything together for you? Edit: All very good answers...

HTML apostrophe

Seemingly simple, but I cannot find anything relevant on the web. What is the correct html code for an apostrophe? Is it a ’ ? ...

Getting selected value from drop down box in a html form without submit

How to get the text of selected item from a drop down box element in html forms? (using python) How can I store the value to a variable, when I select one item from the drop down box using mouse? (ie. without using a submit button) This is for a application which I am doing in app engine which only supports Python. ...

Is there a way to detect the start of a download in JavaScript?

In our current project we are providing a PDF download that can be customized by the user through an HTML form he submits. It takes several seconds to dynamically generate the PDF and I'd like to visualize this, e.g. by disabling the submit button until the download starts. Unfortunately, I couldn't find a way to detect when the download...

Superscript underline in IE

I'm going to be brief because I'm short on time, so I apologize if this isn't as detailed as I'd like it to be. I have some code: print("<a href='#'>Some text<sup>&reg;</sup> some more text</a>"); In FF, this works like I would like, the link as a whole is underlined. However in IE, the link is underlined except under the where it l...

Why does IE7 when clearing a float result in a margin bug?

I have a very simple HTML page (validates as XHTML 1.0 Strict): <div class="news-result"> <h2><a href="#">Title</a></h2><span class="date">(1-1-2009)</span> <p>Some text...</p> </div> with the following CSS: .news-result { overflow: hidden; padding: 30px 0 20px; } .news-result h2 { float: left; margin: 0 10px...

What's your favorite JS/CSS drop down menu?

Looking to implement one on a website, just curious what everyone else has used and what kind of experiences they've had EDIT I'm also not a huge fan, but the client is insistant and for this case they can click on the "hoverable" part and then get to the same pages in the dropdown from there so basically this will just be a way to get ...

What is the best menu for an ASP.Net application?

What do you find to provide the best menu for an ASP.Net 2.0 - 3.5 web application? Suggestions do not have to particularly be ASP.Net controls, but could be other menu's that work well within an ASP.Net web application. I would like for the suggestions to be options that do not require purchasing or royalty fees. OpenSource suggestions...

column expands with "textbox width given in percentage" within table

I am using the following code --- EDIT @annakata : Adding the complete code <HTML> <HEAD> <TITLE> New Document </TITLE> </HEAD> <BODY> <table id="additionalContactsTable" name="additionalContactsTable" width="100%" > ...

How can I properly display German characters in HTML?

My pages contain German characters and I have typed the text in between the HTML tag, but the browser views some characters differently. Do I need to include anything in HTML to properly display German characters? <label> ausgefüllt </label> ...

How to "HTML encode" Em Dash in Visual Basic.NET

Hi all, I am generating some text to be shown on a web-site, and use HttpUtility.HtmlEncode to ensure it will look correct. However, this method does not appear to encode the Em Dash (it should convert it to ""). I have come up with a solution, but I'm sure there is a better way of doing it - some library function or something. sWebs...

missing file or assembly tinymcetextbox

Hi There I have a project I am doing some maintenance work on and have got the solution files etc and attempted to build it and have got the following error:- Error 4 Could not load file or assembly 'TinyMCETextBox' or one of its dependencies. The system cannot find the file specified. This is a .net 2.0 project. Can anyone give me ...

Grouping Regular expression BackReferences

I have the following RegEx id=(.*?) | id="(.*?)" The reason for this is I am trying to replace Ids from the browsers DOM using JavaScript. IE, however strips quotes from element atributes as it appears not to require them in the DOM The problem I have is that the backrefererences from each alternate statement are in separate groups (...

HTML Textarea horizontal scroll

I would like to provide a horizontal scroll to a textarea in my HTML page. The scroll should appear without wrapping, if I type a long line without a line break. A few friends suggested using overflow-y CSS attribute, which did not work for me. The browsers that I use are IE 6+ and Mozilla 3+. ...

Impossible? HTML <TD> mouseover border-color change with border-collapse?

Hello I have wish to have a table where all borders (internal/external) are a single pixel in width, I achieve this by setting the border-collapse style on the table. Then I wish to onmouseover each TD cell, changing the border-color to a different color. This works fine if the table border has not been collapsed. But if you collapse t...

How to use HTML in LifeRay ShoppingItem description?

How can I embed HTML into the ShoppingItem database table "description" field in such a way that it will display on screen? It used to work in older versions, but in the current version it mangles/safes it to display the HTML tags, rather than passing them through to be processed. Is there an alternate method to achieve the desired eff...

What were the main disadvantages of CGI-BIN based web development?

I was fortunate enough to not do any cgi-bin .cgi based web development. But generally those who have do not seem to 'miss' those days. A project I recently joined has a performance issue when dealing with the pages that need to communicate to a legacy system that has a CGI-BIN based API. That system is COGNOS 7. The feedback I re...

Returned AJAX html breaks IE click events

I have a table of paged data, along with a dynamically created pager (server-side AJAX call, apply returned HTML to the innerHTML of a div). When I click next page on my pager, an AJAX call is sent to the server to retrieve the next set of data, which is returned as a string of HTML. I parse the HTML and render the new table rows. I als...

Validating action attributes on thousands of forms.

I've inherited a Courseware CD with thousands of <form action="page.html" method="get"><input type="submit" value="Go"></form> buttons. Some of those forms are pointing to pages that don't exist and I'd really like to use an automated testing tool/crawler to test them out. Any suggestions? ...