HTML img scaling

Only set the width or height, and it will scale the other automatically. And yes you can use a percentage. The first part can be done, but requires JavaScript, so might not work for all users.

How to set Helvetica font?

If you want all browsers to use Arial whenever Helvetica is not available, you can always specify Arial as a second choice font. because font-family can use any number or arguments, and it will use the first one in the list that is available

How to download HTTP directory with all files and sub-directories as they appear on the online files/folders list?

Solution: Explanation: It will download all files and subfolders in ddd directory -r : recursively -np : not going to upper directories, like ccc/… -nH : not saving files to hostname folder –cut-dirs=3 : but saving it to ddd by omitting first 3 folders aaa, bbb, ccc -R index.html : excluding index.html files Reference: http://bmwieczorek.wordpress.com/2008/10/01/wget-recursively-download-all-files-from-certain-directory-listed-by-apache/

How to display and hide a div with CSS?

You need Updated demo at http://jsfiddle.net/gaby/n5fzB/2/ The problem in your original CSS was that the , in css selectors starts a completely new selector. it is not combined.. so #f:hover ~ .abc,.a means #f:hover ~ .abc and .a. You set that to display:none so it was always set to be hidden for all .a elements.

Change background image opacity

There is nothing called background opacity. Opacity is applied to the element, its contents and all its child elements. And this behavior cannot be changed just by overriding the opacity in child elements. Child vs parent opacity has been a long standing issue and the most common fix for it is using rgba(r,g,b,alpha) background colors. But in … Read more

How to apply CSS to iframe?

I have a simple page that has some iframe sections (to display RSS links). How can I apply the same CSS format from the main page to the page displayed in the iframe?