Wget offline copy of a website

Wget is a fantasitc tool. You need to create an offline copy of a site. No probem. Wget can help you make such copy easily: wget –mirror –convert-links –adjust-extension –page-requisites –no-parent http://example.com Shorthands: wget -mkEpnp http://example.com Clarification: -m, –mirror shortcut for -N -r -l inf –no-remove-listing -k, –convert-links make links in downloaded HTML or CSS…

Tagged , , ,

Ways for achieving responsive layout

How to make a website look more friendly for multiple devices with different resolutions? Some ideas already being practiced: fluid layouts, media queries and scripts that can reformat Web pages and mark-up effortlessly (or automatically). Flexible (responsible) Images and video (fluid image technique) It is very complicated to hold separate images for different resolution. A…

Tagged

css selectors

  Selector Example Example description CSS .class .intro Selects all elements with 1 #id #firstname Selects the element with id=”firstname” 1 * * Selects all elements 2 element p Selects all <p> elements 1 element,element div,p Selects all <div> elements and all <p> elements 1 element element div p Selects all <p> elements inside <div>…

Tagged