Am I missing a style definition somewhere?

brdoco

Joined: 2005-02-11
Posts: 1
Posted: Fri, 2005-02-11 22:07

http://brdoco.com/gallery2

I'm trying to integrate gallery2 into my site... and have got everything except for one little thing. I want the gbTopFlag and gbBottomFlag div's to be 100% width. I've modified the borders for gbTopFlag/gbBottomFlag (red) and gsFooter (gray) to make it easier to see.

In /gallery2/templates/local/layout.css.php I added the width attribute to

.gbTopFlag, .gbBottomFlag {
	margin: 0;
	padding: 4px 0 4px 0;
	width: 100%;
}

but nothing happens. The gbTopFlag/gbBottomFlag width's still aren't 100%. Am I missing a style somewhere?

Thanks!
brian

 
lvthunder

Joined: 2003-09-12
Posts: 808
Posted: Sun, 2005-02-13 05:04

I bet it's a nested <div> issue. The easy fix would be to give the width value a pixel value instead of a percent.

 
Mattias

Joined: 2004-08-09
Posts: 3
Posted: Wed, 2005-03-02 15:10

In the file /gallery2/templates/layout.css.php i made changes to the following two sections to remove the sidebar in my layout based on the MatrixLayout!

#gsSidebar, #gsAdminSidebar {
float: left;
width: 20%;
}

#gsAlbumContents, #gsAdminContents, #gsOtherContents {
float: left;
width: 78%;
}

//Mattias