Documentation : very small css fix

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
TsT
Party member
Posts: 161
Joined: Thu Sep 25, 2008 7:04 pm
Location: France
Contact:

Documentation : very small css fix

Post by TsT »

For 0.5.0 Documentation

Just to force white background of body. Usefull when you don't use a default white background in your favorite browser.

Before :

Code: Select all

body
{
        background: url("../gfx/bar-bg.png") repeat-y;
        margin: 0px;
        padding: 0px;
}
After :

Code: Select all

body
{
        background: url("../gfx/bar-bg.png") repeat-y;
        background-color: white;
        margin: 0px;
        padding: 0px;
}
Best Regards,
My projects current projects : dragoon-framework (includes lua-newmodule, lua-provide, lovemodular, , classcommons2, and more ...)
User avatar
rude
Administrator
Posts: 1052
Joined: Mon Feb 04, 2008 3:58 pm
Location: Oslo, Norway

Re: Documentation : very small css fix

Post by rude »

Thanks.
User avatar
qubodup
Inner party member
Posts: 775
Joined: Sat Jun 21, 2008 9:21 pm
Location: Berlin, Germany
Contact:

Re: Documentation : very small css fix

Post by qubodup »

In case some elements don't have a color configured,

body {color: black;}

might be a good idea too.
lg.newImage("cat.png") -- made possible by lg = love.graphics
-- Don't force fullscreen (it frustrates those who want to try your game real quick) -- Develop for 1280x720 (so people can make HD videos)
User avatar
rude
Administrator
Posts: 1052
Joined: Mon Feb 04, 2008 3:58 pm
Location: Oslo, Norway

Re: Documentation : very small css fix

Post by rude »

Everything is inside div-tags, so that shouldn't be a problem.

But yeah, might be good practice anyway.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 5 guests