Rounded Corners on Images using the DOM

Archives

Heading

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam sit amet justo. Ut ultricies purus vel dolor. Maecenas venenatis commodo pede. Aenean ut risus id ipsum porta lobortis. Fusce nibh dui, semper nec, tempus ac, molestie non, quam. Sed tempor rhoncus nibh. Nunc ornare. Integer sit amet sem. Vestibulum consectetuer aliquam quam.

 

'div#content'

All images contained within this DIV with the ID of content are 'treated' with the rounding function. Disable JavaScript and the images are have plain old square edges again.

Here comes the night Swim Sunset Vases

'div#outside'

Images outside div#content are untouched.

Lock Stock and two smoking guitarists

Credits/links