web-development

Adding padding to HTML elements - IE, FF, Chrome etc.

Hello I've a doubt. Lets consider that we have a div of width 200px. If i add the following the style style="padding-left:10px; padding-right:10px" to the element what happens actually? Will the total width of the div increases to 220px with 10px at the left (for left padding), original width 200px at the middle and 10px at the righ...

Pharo/Squeak and GemStone?

May I ask who has used this combination and how good that has worked? What about ease of deployment also? Especially interesting would be in conjunction with either Seaside or Aida/Web... It's a pitty that no-one else has commented. Thanks anyway ...

ASP.NET FileUpload - How to change the language of the "Browse..." button description?

I know the very similar question was posted here already (http://stackoverflow.com/questions/94316/how-to-change-the-text-of-the-browse-button-in-the-fileupload-control-system-web) and I understand it's not possible to change the description to some custom text, but isn't it at least possible to change it to a different language (e.g. to...

'@' symbol in php, e.g. '@$name[1]' ?

All, What is the signification of the '@' symbol in PHP? For example, what does it mean in this statement: $sd = (@$argv[1]) ? getdate(strtotime($argv[1])) : getdate(); I understand the ternary operator '?', but I have no idea what the '@' means... The code is sample code from the (very good!) cs75.net Harvard extension course. Th...

advance/basic and smartphone views in Rails

In a new Rail app I have to consider 2 differents user's type: basic and Advanced and I have to create smartphone views( unique view for both user's type). Then I have 3 view/layout: web advance web basic smartphone I already have the adv/basic flag for the user, and I followed the RBates tutorial http://asciicasts.com/episodes/19...

Replace a DIV with another using effect and set cookie

Hi. I've got some complicated requirements and wondered if there's a way to accomplish this via jQuery: User comes to a web page for the first time today and we show DIV_1. After 30 seconds, we dissolve DIV_1 to DIV_2. We set a cookie on the user's machine that expires when s/he returns tomorrow. If the same user returns today, we only...

Scriptaculous problem in IE

Hi there. We've got this very annoying problem with Scriptaculous and Internet Explorer 7/8. We have two Effect.toggles on the same page, but only one of them is ever working (the first one). I hope it's some simple mistake in my implementation, but I can't seem to find any decent documentation. Hopefully somebody here can help. The HTM...

Is there an API available that, given text, returns a list of companies with their ticker symbols?

Ideally I would love to extract exactly what Google Finance's Get Quote functionality does with the predictive search. That's really all that I'm looking for. I don't want to store the data, I just want to be able to search company names/ticker symbols so that I can get the correct symbol. I already have specialized quote functionality i...

BareMessage="Cannot create an abstract class."

Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: Cannot create an abstract class. Source Error: Line 150: <providers> Line 151...

using thin for long-polling connection

since it's threadless, would the ruby-based thin be okay? ...

Which PHP framework is the most used and best supported

Possible Duplicate: Which PHP framework would you recommend? I'm looking to learn a PHP framework. Which one is the most popular? Which one would have the most users? Which one has the most support? I want to build applications that can be built with the help of others. Is there a lingua franca of PHP frameworks? Thanks ...

Error writing content through Apache.

I am streaming out data (sometimes png, sometimes json, sometimes xml) and I get the following error in Chrome: Error 321 (net::ERR_INVALID_CHUNKED_ENCODING): Unknown error. I do not get this error when apache is not in front of my Tomcat web application (servlet), only when I deploy it to our test environment which has apache running....

Fluid arrangment of dynamic tables

Hi all, I had a question with regards to fluid arrangement of tables. I have attached a screen-shot below to try and explain what I am trying to achieve. Basically, I have a number of dynamically created tables. Their widths are fixed but their heights can vary. What I am trying to achieve is, the maximum utilization of space when t...

Guide to SVN for Web Development

Hello, I'm looking for some help in using svn with web development. Here are my questions. I setup SVN on my webserver, but keep my project files on my PC untill I'm ready to "commit" them correct? How do I get the "pushed" files I've sent to the server in my directory such as /home/site/public_html/ .. basically I'd like to "commit ...

How do I make the whole area of a list item in my navigation bar, clickable as a link?

I've got a horizontal navigation bar made from an unordered list, and each list item has a lot of padding to make it look nice, but the only area that works as a link is the text itself. How can I enable the user to click anywhere in the list item to active the link? html: <html> <head> <link type="text/css" rel="stylesheet" hre...

Putting a floating image in the bottom-right corner for example

Basically I want to put a transparent image in the bottom-right corner. I read the questions about top-right, right, and so on. However, I can only apply margin-top: 100%; which will put it where I want BUT it shows the scroll bar then and the picture will be really at the bottom, I can't even see it. Any ideas are welcome. To se...

developing location/map based web site

Hi, I wanna start developing a map-based web site. At first I ordered a regulat Gps device just to test the site, later on I would like to use Iphone's gps and other cell devices. So I need something pretty generic. I searched the web for map-based development framework and come up with too many of them : Geo server, Map server, Open l...

Which website I should develop for learning asp.net ?

I have worked with window based application in .net. But I want to learn asp.net. So I want to develop one website such that developing that website I can get best and better knowledge of asp.net. And developing that website all most important concepts and controls are covered in that website. And in that website all the concept should b...

Tree like view for xml in web browser

I have xml data(file or text) sent to client from web server. The xml has tags only (no attributes). Actually I am using it to represent a tree. On client side I need to render it as a tree and let client select multiple nodes in tree and submit it back to web server. Are there any useful resources out there I can use ? ...

What are practical pros to have Doctype DTD as a first element in our (X)HTML file?

What are benefits to have Doctype DTD as a first element in our (X)HTML file? What is their role in web development and browser (Desktop and Mobile both) compatibility? What are cons to not to use any Doctype? Are all browser does affected from Doctype? ...