web-design

Quality of code improvements.

Hi, This is more of a improvement and suggestions question than one clear defined answer. I have been working on the website for Naked CSS Day 2011 for a bit and was wondering if anyone had any suggestions on my code quality/efficiency. In the spirit of the event I am attempting to bring everything into in the purest and cleanest form of...

designing web pages to look good in both IE6 and IE8 browsers

Hi, in ASP.NET application, how to design the pages in such a way that they are displayed properly in both IE6 and IE8 browsers? I would like to minimise the CSS work that I need to do if there are any general guidelines to follow which will work in both browsers. I may still need to tweak here and there, but I want to reduce bulk of the...

How to externalize web page elements to make it configurable?

I am looking for some design patterns or best practices for configuring web page fields. My web page has a table, which is dynamically created by my API (Wicket). Currently all the column names are hard coded in the java but I want to make it externalizable that way I can add/remove/modify fields without modifying java code. Also I ...

How do I create a PHP web form that validates an email address?

Hi, I was looking around and cannot seem to find a way to create a simple form with no submit button (enter only) that checks to make sure that the information typed in is really a email address. Any help would be appreciated. *Disclaimer I know almost nothing about PHP. I realize this is very easy, I just do not understand it. ...

Text vs Image for Website Title Banner?

The website I am creating has a fairly large title text for its banner. Using a plain font gives it a very jagged look, but it seems like an anti-aliased image would be a fairly large download. Which way would be the best choice, or is there a better method for large titles? Here is the banner with pure text. Scaled down it is not as no...

How do I overlay JAVA onto a static image?

I am re-designing a website for a major University, and they use java images on most of their pages. How do I place/inlay a Java slide show onto a static image (ie: background image). (I know it is a weird combination of JAVA, CSS, and XHTML.) ...

UI Usability book for developer

Hi, Being mostly a software developer I find that the hardest thing for me is to produce usable user-interface. I did read some books, including The Smashing Book and Web Design For Developers. But those are mostly concentrated on the Design rather than on building more complex interfaces (like allocating many-to-many items with search...

Adding Lightbox functionality to a JQueryUI Template in Visual Studio 2010

Hi all, I am trying to add lightbox functionality to my website but it just seems to be giving me problems. I am using a standard JQueryUI template. I have read on the net that the scripts might be clashing, but have also been advised that I am getting problems because I am using Prototype and JQuery together. Please could you advise? ...

Fixed width website the only real possibility?

When creating a web-site design, is the only real option to provide a fixed content width? I notice most major websites (this one included) center all the content into a fixed width, which ensures all elements look correct on all screen sizes. I think I already know the answer to this, but a colleague seems to think that there should n...

Control Version System for webSites

hi, I work as a webmaster with another guy, who is gonna moving away from our city. We're thinking of using a control version system to keep on working but we 're looking for help choosing one. We do not develop big heavily-coded sites, but small presentation sites (you can have an example here ) The most important things are: we have...

Best way to save status of dynamic web interface

Basically in my website I have a sidebar with a stack of boxes; each box can be collapsed or expanded by the user. I need to save the status of each box for the currently logged in user. I don't want to use cookies because if an user changes browser or computer, all the boxes will go to the default status. Should I save this informatio...

Radio button on/off trigger works only one way

So this is the dumbest thing I've struggled with in awhile. I cannot get the state of a simple radio button set to toggle something on the page. <label for="completeSw"><span>Completed?</span></label> <input type="radio" id="completeSw" name="completeSw" value="1"/>Yes <input type="radio" id="completeSw" name="completeSw" value="0" chec...

Does a favicon have to be 32x32 or 16x16?

Hello all, I'd like to use a single image as both a regular favicon and iPhone/iPad friendly favicon. Is this possible? Would an iPad-friendly 72x72 PNG scale if linked to as a regular browser favicon? Or do I have to use a separate 16x16 or 32x32 image? Much obliged for any help. ...

combo box issue in jsp

i have combo box in jsp using Struts2: select the value of combo box, page is refreshing but after refreshing it display the default value in combo box (first value), not the selected value. how i show the selected value in combox after refreshing. here is my code on jsp. Combo box: <select name="ItemName" id="ItemName" onchange="...

CSS sprites and gradients

Is it possible to put multiple repeating gradients on a single sprite master image? I've got about 5 1px X 400 px gradients that could be combined to reduce the page requests. It's pretty much my last place to go for reducing object requests. I haven't seen any techniques for this while searching. My own experimentation hasn't had good r...

Animation in Web Sites - Studies?

In the field of Web Dev, I've heard plenty of blogs and people say that users tend to ignore (or be irritated by) content which is flashy/unnecessarily animated, adversely affecting usability, but are there any studies to support that statement? ...

How to use CSS in ASP.NET application

I want to know to use CSS in ASP.NET. If I have set of CSS files and I link my master page to them, how to utilize them to make my application look good. I'm not talking about CSS itself but about how to use its elements in the source of any ASP.NET page. I'm looking for suggestions, resources, sites, or opinions. ...

HTML/CSS: how to put text both right and left aligned in a paragraph

What would be the best code to have two bits of text in a single paragraph, one left aligned, the other right aligned, that also is: the least code as possible the easiest for clients to render (i.e. using least resources) I add this last one to be sure <table><tr><td></td><td align=right></td></tr></table> would get ruled out. Not o...

How to pass the JQuery "this" selector as a parameter

For a class, I have to make a Drag and Drop interface using only CSS, HTML 4.01, and Javascript with the JQuery library; no plugins allowed. I figure the best way to do this was aler the CSS position of the div I'm supposed to drag on mousedown and then on mouseup $(document).ready(function(){ $(".draggable").mousedown(Dragging(thi...

CDN of Common Web Site Icons

I am trying to distribute my image HTTP requests across multiple domains for faster performance. Is there a CDN (Content Delivery Network) out there hosting common web site icons (or sprites of icons)? Example: Like carrots, arrows, icons for file types, or 50% opacity of black png. FYI - I am NOT talking about hot linking. Yes, I u...