Facebook Twitter

Perfect Full Page Background Image

This post was originally published on August 21, 2009 and is now being being republished as it has been entirely revised. Both original methods are removed and now replaced by four new methods. The goal here is a background image on a website that covers the entire browser window at all times. Let's put some specifics on it: Fills entire page with image, no white spaceScales image as neededRetains image proportions (aspect ratio)Image is centered on pageDoes not cause scrollbarsAs cross-browser compatible as possibleIsn't some fancy shenanigans like Flash Image above credited to this site. Perfect Full Page Background Image



Classes & Courses Timetable — Yorkshire Dance Classes & Courses Timetable — Yorkshire Dance Spring Term 2014 Mon 6 Jan – Sat 5 Apr Please note: Kim Glassby’s Jazz & Tap classes for adults will now take place at The Dance Studio Leeds, on Mondays from 11am – 2pm. Details here. For descriptions of all classes & courses, go here SATURDAY – for adults SATURDAY SUPERSTARS – for ages 0-14
While...End While Statement (Visual Basic) While...End While Statement (Visual Basic) Runs a series of statements as long as a given condition is True. While condition [ statements ] [ Continue While ] [ statements ] [ Exit While ] [ statements ] End While Use a While...End While structure when you want to repeat a set of statements an indefinite number of times, as long as a condition remains True. If you want more flexibility with where you test the condition or what result you test it for, you might prefer the Do...Loop Statement (Visual Basic).

Learn CSS Positioning in Ten Steps: position static relative abs

1. position:static The default positioning for all elements is position:static, which means the element is not positioned and occurs where it normally would in the document. Normally you wouldn't specify this unless you needed to override a positioning that had been previously set. 2. position:relative Learn CSS Positioning in Ten Steps: position static relative abs