Posts Tagged ‘design’

A GDM theme based on a wallpaper I made!

dissabte, octubre 17th, 2009

We all know the famous sentence “A real designer doesn’t make wallpapers”. In December 2005 I made a wallpaper for Ubuntu users called Ubuntu in blue flames and I uploaded it to gnome-look.org. You can see a low-resolution version below:

ubuntu in blue flames - background - eduard gamonal

A few years later, another user (neonboy) in gnome-look has reused my wallpaper to make a cool GDM theme called the same way, Ubuntu in blue flames GDM theme.

Now you can have the whole set: GDM and wallpaper. Isn’t it great? ;D

Anyway, I’ve always been a Debian user/fan.

css: center content

dilluns, març 30th, 2009

When I began playing with CSS, centering a page was rather difficult. CSS allowed it, but try a search «center content» or «center css». It throws lots of results, and most of them, when I needed it, were not relevant. The trick is margin: 0 auto;

captura-la-serra.jpeg

Create a <div> where you’ll put all contents, with id=”content”, for example.

<html>
<body>
    <div id="content">
        <p>Today's a good day to code.</p>
    </div>
</body>
</html>

Now, in a style sheet create a rule:

#content {
    width: 1024px;
    margin: 0 auto 0 auto;
}

And enjoy your centered content :)


Entra