4images Forum & Community
Welcome, Guest. Please login or register.
Did you miss your activation email?
September 20, 2018, 08:26:36 AM

Login with username, password and session length
Search:     Advanced search
Check the new Tutorial subforum with helpfull guides and tutorials for modifications and tweaks.
Togle to toolbar
Translate this page with =>
Translate this page >
* Home Help Search Login Register
 
+  4images Forum & Community
|-+  4images Modifications / Modifikationen
| |-+  Mods & Plugins (Requests & Discussions) (Moderators: mawenzi, Rembrandt)
| | |-+  How to center the thumbnails?
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: How to center the thumbnails?  (Read 4957 times)
Ernesto Taseffa
Full Member
***
Offline Offline

Posts: 151

Thank You
-Given: 0
-Receive: 0


View Profile
« on: March 07, 2003, 02:49:18 AM »

.
« Last Edit: August 09, 2009, 12:53:06 AM by Ernesto Taseffa » Logged
SLL
Hero Member
*****
Offline Offline

Posts: 585

Thank You
-Given: 0
-Receive: 2


View Profile
« Reply #1 on: March 07, 2003, 08:06:12 AM »

check thumbnail_bit.html to remove some fields you don't want to show. centering is a bit more tricky - you can try to make it with stylesheet, look at .imagerow1 and .imagerow2 class there.
Logged
V@no
If you don't tell me what to do, I won't tell you where you should go :)
Administrator
4images Guru
*****
Offline Offline

Posts: 17849

Thank You
-Given: 47
-Receive: 577

mmm PHP...


View Profile WWW
« Reply #2 on: March 07, 2003, 10:23:50 AM »

Quote from: SLL   [Expand]
check thumbnail_bit.html centering is a bit more tricky - you can try to make it with stylesheet, look at .imagerow1 and .imagerow2 class there.

I didnt know u can do it from stylesheet...
here what I did:
1
<TD valign="middle" align="center" height="100" width="100">{thumbnail}</TD>
Logged

Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)
Chris
4images Moderator
4images Guru
*****
Offline Offline

Posts: 4487

Thank You
-Given: 0
-Receive: 31

Did u ever stop to think and then forget to start?


View Profile
« Reply #3 on: March 07, 2003, 07:15:59 PM »

You can also use this in thumbnail_bit.html
1
2
3
<div align="center">
{thumbnail}
</div>
Logged

Ernesto Taseffa
Full Member
***
Offline Offline

Posts: 151

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #4 on: March 08, 2003, 11:46:07 AM »

.
« Last Edit: August 09, 2009, 12:52:46 AM by Ernesto Taseffa » Logged
stevo
Pre-Newbie

Offline Offline

Posts: 1

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #5 on: April 05, 2003, 11:46:51 AM »

Quote  [Expand]
centering is a bit more tricky - you can try to make it with stylesheet, look at .imagerow1 and .imagerow2 class there.

For the benefit of those searching in the future, I just had this problem as well, and used SLL's CSS method (thanks SLL!), and it worked great, at least for the standard thumbnails. Just to expand, I added the following line to .imagerow1 and .imagerow2 in style.css:
1
text-align: center;
Logged
michi-w.
Hero Member
*****
Offline Offline

Posts: 505

Thank You
-Given: 0
-Receive: 2


View Profile
« Reply #6 on: May 09, 2005, 10:30:28 AM »

Damit geht es nicht:
1
<TD valign="middle" align="center" height="100" width="100">{thumbnail}</TD>
Damit geht es:
1
<center>{thumbnail_openwindow}</center>
Gruß
michi-w.
Logged
Chris
4images Moderator
4images Guru
*****
Offline Offline

Posts: 4487

Thank You
-Given: 0
-Receive: 31

Did u ever stop to think and then forget to start?


View Profile
« Reply #7 on: May 09, 2005, 06:52:56 PM »

Education people!  is a deprecated tag and should not be used, see

http://www.w3.org/TR/REC-html40/conform.html#deprecated
http://www.w3.org/TR/REC-html40/present/graphics.html#edef-CENTER
Quote  [Expand]
The CENTER element is exactly equivalent to specifying the DIV element with the align attribute set to "center". The CENTER element is deprecated.

Use
1
<div align="center">
instead
Logged

Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.085 seconds with 19 queries.