Uutiset:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu
Advertisement:

Help aligning index images

Aloittaja dbrown, heinäkuu 28, 2006, 12:47:14 AP

« edellinen - seuraava »

dbrown

Hi. I need some help aligning the images that notify whether or not a board has new posts or not. I use these little footballs, and although not a big deal, it bothers me that they're not vertically centered in the table. Does anyone know how I can fix this? I would imagine in CSS, but I don't know where. If someone could give me some direction, I'd appreciate it. Regards...

Please do not PM me with support questions.  You will get better and faster responses by contacting someone who has a clue. Thank you.

Deaks

#1
there not in the style.css there in boardindex.template


1.0.7
look for
<td class="windowbg" width="6%" align="center" valign="top">';
around line 91 and replace it with
<td class="windowbg" width="6%" align="center" valign="middle">';

RC2
look for
<td ' , !empty($board['children']) ? 'rowspan="2"' : '' , ' class="windowbg" width="6%" align="center" valign="top"><a href="', $scripturl, '?action=unread;board=', $board['id'], '.0">';


and replace it with

<td ' , !empty($board['children']) ? 'rowspan="2"' : '' , ' class="windowbg" width="6%" align="center" valign="middle"><a href="', $scripturl, '?action=unread;board=', $board['id'], '.0">';

~~~~
Former SMF Project Manager
Former SMF Customizer

"For as lang as hunner o us is in life, in nae wey
will we thole the Soothron tae owergang us. In truth it isna for glory, or wealth, or
honours that we fecht, but for freedom alane, that nae honest cheil gies up but wi life
itsel."

dbrown

Please do not PM me with support questions.  You will get better and faster responses by contacting someone who has a clue. Thank you.

Advertisement: