Rank: Newbie
Joined: 8/20/2008 Posts: 3 Location: Arizona
|
Okay, I've searched through the forum and have not been able to locate the answer I'm looking for. I have found the location in the .css file where I can change the image text to be centered. The problem I have now is when the image is in portrait orientation the text is not centered. It seems as though the width of the cell/column/textarea . . . is based upon the longest side of the image and the text is centered accordingly. I figure if I can center the image horizontally within the cell/column. . . I will be able to have the text centered under the image. Any idea where I might be able to accomplish this?
I have been unable to get the project loaded so I can not see the code for the user control. The error I am receiving in the project load is: "It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. \Gallery Server Pro\source\gsweb\Web.config 59"
Any help on the image centering would be greatly appreciated. I think with a little time I should be able to resolve the project load piece.
|
Rank: Administration
Joined: 8/3/2007 Posts: 734 Location: Fort Atkinson, WI
|
I spent a few minutes on this and I don't know of a css-only way to do this. It sounds like you want the <div> tag that contains the caption to be the same width as the image. Currently the width is set to the widest image in the album.
Sorry.
Roger Martin Lead Developer for Gallery Server Pro
|