php forum
php mysql forum
php mysql smarty
 
Topic Options
#115928 - 06/27/05 07:42 PM title image alignment
Wendy Anderson Offline
Junior Member

Registered: 06/27/05
Posts: 17

   title image alignment to Del.icio.us Add to del.icio.us
  Digg title image alignment Digg it
It's position in public_common.pl is to the left. I want it to go to the right (in order to get rid of white space).

My code doesn't change it:

$standard_title_table = qq~
<table border="0" width="$vars_style{TableWidth}">
<tr><td align="right" valign="top"><img src="http://housechurch.org/cgi-bin/rand_image.pl" border="0" align="right" alt="$vars_config{BBName}" />
</td><td align="center">
<b>

I have cleared the cache, btw, in the control panel and have emptied the browser cache.

Thanks in advance!

Top
#115929 - 06/27/05 09:29 PM Re: title image alignment
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25432
Loc: Texas
Which version ubb are you running? I don't believe standard title table is even used after version 6.6 or so smile
_________________________
- Allen wavey
- What Drives You?

Top
#115930 - 06/27/05 10:33 PM Re: title image alignment
Wendy Anderson Offline
Junior Member

Registered: 06/27/05
Posts: 17
Hi Allen,

6.7.2 - The latest and greatest.

I've had earlier versions. Surely, I am not updating old documents...

Top
#115931 - 06/28/05 11:19 AM Re: title image alignment
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25432
Loc: Texas
ok, then you might want to look for "BBTitle" in public_common.pl, there's a section in there for the header/footer and the title graphic has settings within.
_________________________
- Allen wavey
- What Drives You?

Top
#115932 - 06/28/05 12:52 PM Re: title image alignment
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
You're going to want to be editing around line 1346, it should be obvious what to do (do essentially the same you did above)
_________________________
Code monkey like Fritos

Top
#115933 - 06/28/05 01:57 PM Re: title image alignment
Wendy Anderson Offline
Junior Member

Registered: 06/27/05
Posts: 17
Very, very interesting, Ian. I suspected I was missing something substantial and will work from there, asap. I was limiting my search to sections with "bbtitle."

May I ask you for a brief interpretation of this line:

$args{before_image}$image_cell$args{after_image}

Particularly: args

Much thanks to you and to Allen. I'm on the road again!

Top
#115934 - 06/28/05 02:05 PM Re: title image alignment
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
those are just variables that aren't important for what you're doing. adding the align="right" and the align="left" for the 2 cells should be all you need

You actually get to edit an $args variable in the other topic I replied to (for the image url)
_________________________
Code monkey like Fritos

Top


Moderator:  Gizmo, tackaberry 
Who's Online
0 Registered (), 26 Guests and 4 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Blogs, love em or hate em?
by AllenAyres
10/07/08 02:05 PM
What do you use to edit the files
by Ian_W
10/05/08 03:33 PM
BeyondCompare v3.00
by Ian_W
10/05/08 03:32 PM
Glossy Black Theme with Image Reflection
by Gizmo
10/05/08 02:17 PM
ShareThis
by Gizmo
09/28/08 05:06 AM
[7.3] Viewing MySQL logfiles made easier
by AllenAyres
09/27/08 09:57 PM
Looking for a simple upload script
by Murphdog
09/26/08 08:45 PM
New Mods
[7.3] Viewing MySQL logfiles made easier
by blaaskaak
09/24/08 05:39 PM
[7.3.1] add search to showmembers page
by blaaskaak
09/07/08 04:50 AM
Multiple Identity Detector
by
12/30/06 06:39 PM
Newest Members
pisa666, ghengis317, NitroX, Dogan, EliYah-
13345 Registered Users
Top Posters Last 30 Days
AllenAyres 12
blaaskaak 7
tackaberry 7
FREAK1 5
Mike L_dup1 4
Chris Bale 4
Ian_W 4

 

 

 
fusionbb message board php hacks