Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
5 registered (Stan, Dunny, driv, SteveS, id242), 34 Guests and 15 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 12/25/03
Posts: 125
Top Posters (30 Days)
Ruben 51
Gizmo 24
DennyP 24
Dunny 15
SteveS 14
AllenAyres 12
SD 10
dbremer 10
drkknght00 9
doug 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Topic Options
#199973 - 10/26/07 07:58 AM 7.2.2 Post title alignment
ScriptKeeper Offline

veteran
Registered: 12/09/06
Posts: 1420
Loc: UK
In the post header table the post title is aligned at the bottom and the date is aligned middle. Not too much of an issue until you use a table background image that has a center line.

Can you ID which script this is in. It's probably a simple image align=absmiddle tag than needs adding.


Attachments
align.gif


Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#199999 - 10/26/07 07:45 PM Re: 7.2.2 Post title alignment [Re: ScriptKeeper]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
looks like it's on a post, so that'd be showflat.tpl (add showthreaded.tpl if you're using pre7.2.2)
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#200025 - 10/27/07 12:34 PM Re: 7.2.2 Post title alignment [Re: Gizmo]
ScriptKeeper Offline

veteran
Registered: 12/09/06
Posts: 1420
Loc: UK
It's in post_top.tpl

When I post without an icon it aligns perfectly. With an icon it displays as pictured above. \:\(
Top
#200026 - 10/27/07 02:01 PM Re: 7.2.2 Post title alignment [Re: ScriptKeeper]
Yarp™ Offline
Registered: 08/30/06
Posts: 1513
Loc: Breda, NL
If it's in post_top.tpl it's also in post_side.tpl probably!
_________________________
Top
#200027 - 10/27/07 02:04 PM Re: 7.2.2 Post title alignment [Re: Yarp™]
SD Offline
Registered: 04/19/07
Posts: 4056
Loc: SoCal, USA
you may want to look at the box model for each span you have. ie: the icon is 15px x 15px.

now if you have margins + padding + font-size, it maybe that you are rendering the only way the browser can.

you might have to allow for the container to be large enough to verically center or reduce the margin/padding to do it.

\:\)
_________________________

Threads tutorials . Threads & Wordpress experts . UBB resume

If I you, click this link as to why
Top
#200032 - 10/27/07 03:04 PM Re: 7.2.2 Post title alignment [Re: SD]
ScriptKeeper Offline

veteran
Registered: 12/09/06
Posts: 1420
Loc: UK
@ blaaskaak: That's it, I needed to add it to both and it's now working.

post_side.tpl line 23 add:

<img border="0" src="{$config.BASE_URL}/images/{$style_array.icons}/{$postrow[post].Icon}" {$images.icons} alt="" align="absmiddle" />

post_top.pl line 22 add:

<img border="0" src="{$config.BASE_URL}/images/{$style_array.icons}/{$postrow[post].Icon}" {$images.icons} alt="" align="absmiddle" />


Attachments
wabar.gif


Top
#200071 - 10/28/07 12:14 PM Re: 7.2.2 Post title alignment [Re: ScriptKeeper]
ScriptKeeper Offline

veteran
Registered: 12/09/06
Posts: 1420
Loc: UK
Update: You also have to add it to the locked topic icon:

post_side.tpl line 21 add:

<img src="{$config.BASE_URL}/images/{$style_array.general}/lock.gif" alt="" align="absmiddle" />

post_top.tpl line 20 add:

<img src="{$config.BASE_URL}/images/{$style_array.general}/lock.gif" alt="" align="absmiddle" />
Top
#200086 - 10/28/07 05:36 PM Re: 7.2.2 Post title alignment [Re: ScriptKeeper]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
absmiddle is not xhtml valid; and since we're on a quest for validity it's not a proper fix.

Instead, you should use css as say "vertical-align: middle"; it wouldn't be *exact* center, but it would be valid, and it would be close
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Due Date Calculator-Calculate When Your Baby is Due
by StewartMyduedate
12:54 AM
Temporary Password email not being received
by
05/24/12 10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
Forum Stats
10491 Members
36 Forums
33842 Topics
181709 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image