Center Galerys.

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

This thread is closed to new posts. You must sign in to post in the forums.
11/7/2011 7:46:18 AM
Gravatar
Total Posts 40

Center Galerys.

Hi, I like center a silverlight galery. Is it possible? Look at: http://oai.uppersoft.com.ar/home.aspx I wish the pictures were centered on the central panel. Any Idea? Thank in advance
11/7/2011 8:17:45 AM
Gravatar
Total Posts 19

Re: Center Galerys.

Can't you just set the text-align property of the parent element?

Setting this seems to work in chrome:

.art-layout-cell, .art-content-layout-row {

text-align: center

 

Matt

11/9/2011 4:17:09 PM
Gravatar
Total Posts 40

Re: Center Galerys.

Thanks, but that way is everything centered. I like center only the galery. Any idea?
11/9/2011 4:23:49 PM
Gravatar
Total Posts 18439

Re: Center Galerys.

.gallerymodule .modulecontent { text-align: center; }

Hope that helps,

Joe

11/10/2011 8:09:40 AM
Gravatar
Total Posts 40

Re: Center Galerys.

Thank Joe, this work with firefox but not with IE8. look at: http://oai.uppersoft.com.ar/home.aspx
11/10/2011 8:35:15 AM
Gravatar
Total Posts 18439

Re: Center Galerys.

Hi,

When I test with IE 9 using IE 8 mode it works fine, but when I try IE 7 mode it was not centered.

I was able to fix it by go to page settings and put a custom body class = gallerypage

Then in style.ie7.css I added this at the bottom:

.gallerypage  .art-content-layout .art-layout-cell,
.gallerypage .art-content-layout .art-layout-cell .art-content-layout .art-layout-cell
{ float:none; }

I'm testing locally using an Artisteer 3 skin. When I try your site in IE 9 it shows as centered no matter whether I set compatibility to IE 8 or IE 7

Try clearing the browser cache in IE, go away from your site like visit google then clear the browser cache because it wonn't clear the cache for pages that are open in the browser.

Hope that helps,

Joe

11/10/2011 8:51:06 AM
Gravatar
Total Posts 40

Re: Center Galerys.

Thank this work fine!!!!
You must sign in to post in the forums. This thread is closed to new posts.