italia2005-04_219Kuortti.2010-06-26Helsinki2005-10-15_16_019norge5oslo_169Oslo.Norway.2002.summer.034Nanbudo_Norge2007-12_211Jodo-Milano.2008-09_035Saaristoleiri-Uto-2008_177Vesa-Rauttu-60v_1899South.Africa.Roadtrip.2007-08_353Pakkas03Pitkanen_076Shiga, Japan 2010-04-18Kobe, Japan 2010-05-01Kobe, Japan 2010-04-28Saaristoleiri-Uto-2008_180Zoo2006-10-07_043italia2005-05_131Kuortti.2010-06-26Naginata Helsinki 2010-02-07 09Osaka, Japan 2010-04-29Nanbudo_WCh2006_076Inujima, Japan 2010-04-30
A screen shot of the nanbudo.fi web site via Nokia E71

How does the web site look like through a mobile phone, here nanbudo.fi via Nokia E71.

Centering content with CSS

There are at least two ways to achieve centred content. Until today I had been using the first of them, but as my Nokia E71 displays only the second way correctly, now changed in to that.

Absolutely positioned way:

#way1 {
    position: absolute;
    left: 50%;
    width: 700px;
    margin-left: -350px;
}

Automatic margins way:

#way2 {
    width: 700px;
    margin-left: auto;
    margin-right: auto;
}

centering-content.htm

Time: 23/05/2009 14:28

QR code for paazio.nanbudo.fi