Alingning the gallery

google21

Joined: 2007-04-20
Posts: 19
Posted: Fri, 2007-04-20 23:08

Got a website www.oneframecinema.com but I cannot find a fragment of code responsible for aligning the whole gallery. What i want to achieve is to align the gallery in the middle so that it would fit to the flash animation that has been already centered. I woukld really appreciate if you could help me.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Fri, 2007-04-20 23:25

theme.css

body.gallery {
    margin: auto;
    padding: auto;
width: 500px;
}

Adjust to fit.

I have found 2 tools that are invaluable the firefox browser and the web development tool that allows you to Make live edits to the CSS of a web page..
Once you have them both installed....
select edit css and under the 'information' dropdown check display ID & class details.
Edit your CSS and you will see the results. Once you have this the way you want, upload your edited css to the server.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
google21

Joined: 2007-04-20
Posts: 19
Posted: Sat, 2007-04-21 11:04

Many thanks for the solution you suggested- it worked but I don't know why the flash animation isn't now as close to the top of the page as it was previously. Checked theme.tpl but everything is ok there, there aren't any "<br>'s" or "<p>'s" between the top of the page and the flash animation. Check the address once again so that you'll get the better picture of the problem. Do you know what to do to make the animation be as close to the top as it is possible?

Regards

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sat, 2007-04-21 16:39
body.gallery {

    margin: 10%;
    padding: 0;
margin-top:0px;
}

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
jasperguy

Joined: 2003-05-04
Posts: 10
Posted: Sun, 2007-05-06 09:15

Needed this thanks.