float: center; -- HOW???

Makc666
Makc666's picture

Joined: 2003-12-26
Posts: 78
Posted: Sun, 2005-03-06 04:22

There is file:
/themes/veloria/styles/theme.css

There is code block:

#gsAlbumContents, #gsAdminContents {

        float: left
        border-left: 4px solid #FF0000;
        width: 78%;
        padding: 0;
  background-color: #eee;

I removed side bar by adding in config.php
GalleryCapabilities::set('showSidebar', false);

A very simple question for now.
How to make so that #gsAlbumContents and #gsAdminContents
where in the middle/center of the screen??

In other words how to make right this one:

#gsAlbumContents, #gsAdminContents {

        float: center
        border-left: 2px solid #FF0000;
        border-right: 2px solid #FF0000;
        width: 80%;
        padding: 0;
  background-color: #eee;

Thanks!

 
t3ase

Joined: 2005-03-07
Posts: 1
Posted: Mon, 2005-03-07 06:29

there is no "center" definition for the 'float' attibute. try doing:

margin-left: auto;
margin-right: auto;