html

Form field names used by personal data auto-fill in browsers (Safari, Opera)

I'm looking for complete list of form field names (<input name="…">) that are recognized by auto-fill functions in major browsers. Here are some I've found to work in Safari using trial-and-error: email Ecom_ReceiptTo_Postal_Name_First Ecom_ReceiptTo_Postal_Name_Last first-name firstname last-name lastname full-name birthday company j...

how to make tabbed view in html?

When click on tab A,show content for tab A, click on tab B,show content for tab B,and so on. What's the most simple and compatible way of constructing this html snippet? Sorry to update late,but I don't mean to use any libs here,so none of jQuery or any other libs. ...

Test IDs for Test Automation in HTML Markup?

We use automated tests to verify functionality of our web application. In order to make assertions in test cases less complicated and more flexible, we are considering the introduction of 'TestIDs', i.e. IDs in the HTML markup that help testcases find and verify elements on the page. Additionally, these TestIDs would allow more specific ...

Why is this the extended ascii character (â, é, etc) getting replaced with <?> characters?

Why is this the extended ascii character (â, é, etc) getting replaced with <?> characters? I attached a pic... but I am using PHP to pull the data from MySQL, and some of these locations have extended characters... I am using the Font Arial. You can see the screen shot here: http://img269.imageshack.us/i/funnychar.png/ Still happening...

Hiding parent divs in Jquery

I am having a simple div structure ( see below ). All I am trying to do is when the div id "interviewer-Button" is clicked the following div's should appear and when the div id "elt" is clicked divs from id "parent0" till the end should hide. The display part works fine. However, when I try to hide, it just does NOT hide. When i click o...

How can I line up the two containers in view?

I am working on a web app. One of the views has been divided into different portions in order to display different information utilizing the whole view and make stuff more manageable. The problem is that the beginning of the information on placementContainerRight gets lined up with the last information from placementContainerLeft giving ...

Preventing XSS exploits using the type system as Joel suggested?

In Podcast 58 (about 20 minutes in), Jeff complains about the problems of HTML.Encode() and Joel talks about using the type system to have ordinary strings and HTMLStrings: A brief political rant about the evil of view engines that fail to HTML encode by default. The problem with this design choice is that it is not “safe by...

CSS Layout Question

I have a reasonably complex layout problem: I would like to have a main box that has 95% width and that has side margins all around (140px 2.5% 20px 2.5%). Within that box I would like to have two columns: The first should (left hand) should have a transparent background and will be mainly for links but also some other arbitrary block ...

how to make round-corner layout by pure css and html?

In a compatible and the most convenient way? ...

HTML table headers always visible at top of window when viewing a large table

I would like to be able to "tweak" an HTML table's presentation to add a single feature: when scrolling down through the page so that the table is on the screen but the header rows are off-screen, I would like the headers to remain visible at the top of the viewing area. This would be conceptually like the "freeze panes" feature in Exce...

specifing text as bullets in list

I know in HTML you can use <ol><li></li></ol> to get a nice ordered list but doing that with list-style-type: decimal always increments the number by 1. I'm looking for a way to set the value of the bullet text. I might end up with a list that looks something like 12 item 22 item  2 item I don't want to do any crazy use of images ...

How should I post/process 100 checkboxes? HTML+C#/ASP.NET

I have a list of msgs (it could be 24 or 100+). I would need to remove many of these messages. I was wondering, what is the best way? I dont like the idea of building names for 100+ elements and doing something like doRemove = Request["msgId" + i]; I prefer receive a array such as long[] and do something like long[] removeThese = Requ...

php http headers

Was wondering a couple of things. Does http headers cache everything on the page. And if i have some javascript files will it cache them as well for subsequent pages, or is it more complicated then that. Example: If I cache all javascript files on page1.php will the files still be cached on page2.php or does it cache files for page1.p...

HTML: remove a:hover for images?

For text links, I have: CSS: a:link {color: #3366a9; text-decoration: none} a:hover {border-bottom: 1px solid; color: black} But this also adds a black underline on linkable IMGs that I do not want. How do I remove the border-bottom on linkable IMGs when hovered using CSS? I've tried the following: a:hover img {border-bottom: 0px...

It works on my machine....

I have uploaded a website to the internet. Firebug claims that no file is missing and yet on both IE and FF it doesn't look good as expected and also the script doesn't work (no errors). However, on my own computer it works perfectly fine. Here are the files. Any thoughts on why this happens? What's missing? EDIT: Ok, it works on any of...

Simple PHP problem

<?php if (isset($_GET['action']) && (!$_GET['action'] == 'reply')) { ?> <div class="actions"> <input type="button" onclick="javascript: document.location='?threadID=<?=$threadID?>&action=reply';" value="Post reply" class="btn" /> </div> <?php } ?> What i wanna achive with this is to hide this when im callin reply. doesnt show at all. ...

input with display:block is not a block, why not?

Why does display:block;width:auto; on my text input not behave like a div and fill the container width? I was under the impression that a div is simply a block element with auto width. In the following code shouldn't the div and the input have identical dimensions? How do I get the input to fill the width. 100% width won't work because ...

browser fullscreen window.fullScreen=true not working

Hi, I would like to open my html page in fullscreen mode. I tried to execute this javascript in body's onload event handler. window.fullScreen = true; But unfortunately that doesn't seem to be working. Is there any other way with which we can achieve the same. Thanks, Shafi ...

Flash doesnt show up until mouse over on ie. How to fix that?

Hi, I developed something in flex. It works great on FF and Safari. But on IE the "swf area" remains blank until mouse moves over it. I am embedding it like that: <object height="100%" width="100%" id="myApp"> <param value="example.swf" name="movie"/> <param value="high" name="quality"/> <param value="opaque" name="wmode"/> <param value...

force google gadget rss tabber open link in new window

i'm using google gadget "rss tabber" http://www.gmodules.com/ig/creator?synd=open&amp;url=http%3A%2F%2Fclingman.org%2Fplatypus%2Fcustomized-rss-feeds.xml&amp;lang=en I tried to use jquery to force all the link to open in new window but failed. anyone got suggestion how to do this ? force all the link to be open in new windows? $('...