web-development

What is the best way to serve small static images?

Right now I'm base 64 encoding them and using data uris. The idea was that this will somehow lower the number of requests the browser needs to make. Does this bucket hold any water? What is the best way of serving images in general? DB, from FS, S3? I am most interested in python and java based answers, but all are welcome! ...

how to use javascript to set css pseudo-selector's value?

suppose i want to use javascript to add the following css p:before{content:"Q: "} how can that be done? I tried the following but they don't work. myEle.style.:before='content: "Q: "'; myEle.style.content="Q: "; in general, how do change the value of css pseudo-selectors? such as a:visited, a:link. ...

Wrapping up ASP.net MVC

Hi All, Im currently in the final stages of testing on my first professional ASP.net MVC page (well really first real website). Just wanting to get advice on stuff i need to do before it is exposed to the web. This has been done a million times so Im hoping you can help this noob out. Thanks ...

Are there any good tools to generate a Google Sitemap?

Can you recommend any tools? Should we build our own? Should we create the sitemap manually? ...

What skills should I focus on improving so that I may be considered a good web designer/programmer?

I ask this question as I have a lot of free time coming up and want to further myself in web design and web programming. I want to know how I can MOST EFFECTIVELY achieve a high level of skill and expertise for designing, maintaining and creating websites. I believe in learning by doing, and that's how I have been progressing so far. I...

Is Google Chrome effectively buggy in its handling of desktop DPI?

They appear to assume that "web designers assume a fixed 72DPI" (or something specific anyway). But desktop DPI usually depends on screen physical size. When I visited this site, I noticed its fonts look tiny compared to other browsers. After some quick research, I stumbled into Development advisories from Google Chrome that pin point...

ASP.NET repeater control overlapping for some users

My whole websites makes use of the ASP.NET(2.0) repeater control and I have been getting some complains from people that they cant view my site as the controls are overlapping. This sounds like a browser issue to me as I never see it in IE8 or IE7 or Chrome or Firefox. Any idea why this is happening? What should I do to prevent this fr...

Recommend easy-to-use picture processing software for web designer?

I do not know how to use Photoshop, but right now I have a website to design. Could you recommend a software for web design? ...

JAAS redirection after login.

I would like to have main login page and depending which user has logged-in, to redirect to specific page. At the moment when I perform such action error appears: Invalid direct reference to form login page. Is there a way to redirect straight after login? ...

java application servers with php and exploded war support

i am looking for a java application server to install on my machine to deploy a project in an EXPLODED war way but i need this server to support php. i tried using tomcat 6 with apache 2.2 but i failed in doing this. ...

How much web layer input (ex. GridView DataKeys) should be validated in the business layer?

Back in the day when we were mostly submitting forms from one page to another we used to have to validate all post parameters to make sure that the ids somehow belonged to the user that was currently logged in. After all you didn't want a "hacker" to be able to pull someone else's information. In modern ASP.NET application in a situati...

Existing List of W3C complient html attribute

It's there a place i can see wich attribute are w3c on all HTML Element, div,p,a,li,hr etc ... I check on w3cshool but find nothing. I need a list where they said someting like ... id : (div, a , hr , etc ...), class (div, a , hr , etc) ... ...

How to Return to Previous page that was request by Post Form Submitting after Login?

I want to redirect to the previous page from Log In page after user logged in. The problem is the previous JSP page was requested by form submitting(with Post method) and the previous JSP need the data submitted to do some logic. What's the best way to return to previous page without missing the data that has submitted by Post method? Th...

Web Dev on MacOSX, how to check IE compatIbility?

How can I check IE compatibility when I'm developing a website on MacOSX, primarily using Chrome. ...

How to prevent search engines from indexing a single page of my website?

I don't want the search engines to index my imprint page. How could I do that? ...

Using Joomla or site for a Camera Monitoring for users, what are some extensions i could use?

Hi there i want to develop a website for camera monitoring. the user will register and setup a schedule for when they want us to monitor their camera then we will be able to see or other people that have access to the schedule maybe in a clean format. are there any extensions or extensions i can modify to make this work. maybe you guys k...

OpenLayers - dynamic POI example does not work on my machine

Hi, OpenLayers has a good example which I would like to reuse: http://openlayers.org/dev/examples/dynamic-text-layer.html But when I download it and run on my machine, it does not work. It also does not work when I download OpenLayers-2.10.zip from openlayers.org site, unpack it on my machine and run this example. When I say "does n...

Loading JS configuration from server?

I want my JS to load certain information that needs to come from the server. Examples would be URLs, language specific messages, etc. What is the best way to get this information from the server to the JS? Right now, I have such values stored in an actual JS file. I don't like this approach because information is duplicated on the serve...

How to warp the header of a website?

How to make the arc in the header possible in a website? with the shadow? without using an image? Link for the image : http://i54.tinypic.com/142fqfl.jpg ...

Adding a Copywrite message to images whatever size they are

i like help ways to add copy write footer on web page.aspx so that it always remains at the end no matter the size of image be. when my image increase in size, the copy write message appear on it ...