html

Emulate/Simulate iPhone Sprinboard behavior in a JS Webpage

Hey, I am looking for a smart way to emulate the iPhone Springboard behavior of changing icon possition. I just want to change few icons on ONE screen. It should be run in JS on a webpage. Any suggestions to start? Thank you very much ...

Selling Monthly Online Services

Hi Everyone: I am wondering if anyone knows of a system (open source or otherwise) that will allow my clients to sell their online services per month/year/etc. In other words, the user buys a month subscription, can log in, and access anything that my clients choose for them to see. Thanks for any help. ...

special signs as a 'value' in an HTML input field

Hello guys, I have actually this input field : <input type="text" name="author" id="author" value="name* <?php echo $comment_author; ?>" size="22" tabindex="1" /> I'm using an asterisk inside 'value' in order to indicate it's a required field, because the designer needs it like that. But alas, the asterisk is not showing. Do you kno...

Getting started with HTML 5

I'd like to make a simple HTML 5 "hello world" app. What tools do I need to get started and what's a good resource to read? I'm working in a Windows environment. ...

How have you implemented a Cover Flow ui in the web browser?

Something that is similar to the Cover Flow in iTunes. I can use Adobe Flash, Flex, or pure html/javascript. HOWEVER, I need a pointed to production ready code. I've looked at plenty of examples in both Flex and HTML that aren't ready for prime time. No demo code needed. Here's my requirements for production ready: 1) Memory leaks...

Remove padding beneath H3 tag

This is, no doubt, an easy question but I can't seem to type it correctly into Google to find the answer... currently I have a list that has an H3 heading above it (which I can't really remove easily, it's auto generated by a cms) and looks something like this Headline | | List stuff and I want to get rid of the pipes. They seem to ...

How to display ipv6 address on a web page?

I'd like to display an IPv6 address on a web page, as done on http://ipv6.whatismyv6.com/ What's the best way to do this? A code sample would be most awesome. ...

What HTML element should I use for when a user must select multiple items out of a large list in ASP.NET MVC?

I have a form for lawyers where they need to be able to select which states they are licensed in. So, they need a clean way to be able to select a few states from all 50 states. What I'm not sure is, how to handle this in HTML. Is there some possible way to have a drop down of checkboxes or something similar? I'm using ASP.NET MVC. ...

What is the HTML concept called that links 2 select boxes together?

This is an odd question, and I think it belongs on Stack Overflow since it has to do with HTML/Javascript - if it doesn't belong, let me know and I'll ask it elsewhere. I am trying to implement a component in my web application, but I do not know what it is called, so I don't know how to search for help on it! It is where you have a li...

Testing a stylesheet with resources on a different server

I have a stylesheet that has stuff inside like background: url(/images/foo.gif) that I copied from live to test. It works fine on live, but not on test. This is because test does not have the /images contents. Other than doing a find/replace from "url(/" to "url(http://live/" or copying /images to test, is there a good way to fix this...

ASP.NET DropdownList autopostback and Browser Back Button

I have an asp.net Dropdownlist with autopostback enabled. It is not populated dynamically, its values are fixed in the HTML code : <asp:dropdownlist id="ddlReportView" runat="server" autopostback="True" onselectedindexchanged="ddlReportView_SelectedIndexChanged" enableviewstate="true"> <asp:listitem text="Snapshot" value="SNAPSHOT"...

Attach a body onload event with JS

How do I attach a body onload event with JS in a cross browser way? As simple as this? document.body.onload = function(){ alert("LOADED!"); } ...

Why do Google and Twitter use table layout?

Possible Duplicate: Does it make sense to use the <table> tag on a modern website? Everywhere I go I see don't use table layout, it's evil, even Google says that, so why one of the most visited websites, Google and Twitter, use it for their homepage? I don't think it is any kind of mistake, or any other stupid problem. The on...

HTML CSS How to stop a table cell from expanding

Hi, I have a table which is built with the contents coming from a returned dataset. What I want to do is stop a 'description' cell from expanding over 280px wide, no matter what the content length (its s string). I have tried: <td align="left" valign="top" style="overflow:hidden;" nowrap="nowrap" width="280px" > But this doesn't se...

Weird IE7 Bug/Error

Hi all, I'm having some problems with a certain piece of code which sits in my site; this error only occurs in Internet Explorer 7. Rather than post all my HTML/CSS markup here I have put up a version of the site here. As you can see I have "Widgets" in columns, for some reason IE7 adds an extra space under the Widget Header while FF ...

How to display code on iPhone using HTML/CSS

The iPhone is admittedly not the best platform for viewing code, but I'd like to optimize the mobile portion of my web site for the device as best I can. I'm having trouble getting code (Java code, in this case) to display properly. I'm using <pre> tags, along with some CSS to render a nice little background for the code. This looks...

table cell width won't change in IE7 if select element content is changed via JavaScript

I have a table in my web site, with a select element in one of the cells. If I try to change the content of the element, everything works fine in most of the browsers that I've tried (including IE6, surprisingly enough), but in IE7, the table cell does not adjust its width to fit the select element. Is there any way to make the table cel...

Are there any standards for markup like the one that SO site uses?

I will like to design/develop a formatting markup for an application that we are developing. Is there any standard on this like what StackOverflow uses when writing each question description. ...

Displaying Logged in Content on a Website

Hi Everyone: I'm not quite sure how to describe this in words without making it overly complex, so here is basically what I want to happen: The user goes to my website, let's say: www.example.com/ The server goes to another website, example2.com, which has a field where their users should enter their username and password The server i...

How would you code this: Grid-breaking shapes

I'm a person that learns best from example. Currently, I'm diving into the field of Web Development after fifteen years of developing desktop apps. I'm still getting used to all the web technologies used for developing modern web sites and everywhere I look, I see cool little UI elements and question how they're implemented. So I thought...