Board index PBase HTML and Style Sheets thumbs aligning on the right side

HTML and Style Sheets

thumbs aligning on the right side

Customize your galleries.
geri
 
Posts: 86

thumbs aligning on the right side

Post Wed Aug 29, 2007 5:54 am


Hi there!

I noticed, that the thumbnails are always centered in a gallery.
Is there a chance to align them on the right side?

Thx

Greets
Geri

geri
 
Posts: 86


Post Wed Aug 29, 2007 10:06 am


Maybe more details are helpful:

I modified once a css, can't tell which one it was...
The result you can see here: http://www.pbase.com/geri/candid_on_the_phone

What I want is to leave a gap between the left border and the first thumb.

Any help?

Greets
Geri

andrys
 
Posts: 2701


Post Wed Aug 29, 2007 10:54 pm


geri,
In both my Firefox 2.xxx and my IE 6.xxxx these are centered...

geri
 
Posts: 86


Post Thu Aug 30, 2007 3:27 am


andrys wrote:geri,
In both my Firefox 2.xxx and my IE 6.xxxx these are centered...


Yes I know, but is there a way to change it?

Greets
Geri

pinemikey
 
Posts: 3065
Location: Cypress, Texas


Post Thu Aug 30, 2007 4:30 am


Well, I'm not sure why you want the gallery right justified but all you need do is add

.thumbnails{ margin-left:200px;} after the td. thumbnail entry.

Like this:

Code: Select all

td.thumbnail
{
   height: 220px;
}

.thumbnails{ margin-left:200px;}



Hope this helps

andrys
 
Posts: 2701


Post Thu Aug 30, 2007 4:31 am


geri wrote:
andrys wrote:geri,
In both my Firefox 2.xxx and my IE 6.xxxx these are centered...


Yes I know, but is there a way to change it?

Greets
Geri


Your note said you once modified a CSS sheet
and that "the results" were seeable.

So I thought you were giving us an example of what you wanted.

The CSS experts should be able to help you re the '.thumbnail'
sections being re-worked to give you the uncentered look. If you
look at Arjun's pages there's a lot that can be done, but it tends to
take an understanding of CSS.

geri
 
Posts: 86


Post Thu Aug 30, 2007 4:38 am


The behaviour now is like the thumbnails are on a table - centered,
BUT the table is aligned left with a gap of 200px.

This works for me!

Thank you very much!

Greets
Geri
Clickable images!

Greets
Geri


Board index PBase HTML and Style Sheets thumbs aligning on the right side

Who is online

Users browsing this forum: ClaudeBot and 0 guests