Uutiset:

Join the Facebook Fan Page.

Main Menu
Advertisement:

How to kill this gap ?

Aloittaja Surferbird, huhtikuu 15, 2006, 11:40:42 AP

« edellinen - seuraava »

Surferbird

I have a white gap below my toplogo as on this image added here, where is the place to kill the gap?



.:: Always something to ask - always grateful for assistance ::.

Dannii

What is the html and css code for that?
Is that the default SMF theme?
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

Surferbird

Yes, sorry for not mentioned it, it is deafult theme slightly modified for logopic as it show up, version is 1.1 rc2.


Lainaus käyttäjältä: eldacar - huhtikuu 16, 2006, 12:02:39 AP
What is the html and css code for that?
Is that the default SMF theme?
.:: Always something to ask - always grateful for assistance ::.

Dannii

<td class="catbg" align="right">
<img src="http://www.simplemachinesforum.net/ThemeImages/newsite/smflogo.gif" style="margin: 2px;" alt="">
</td>
Your code is probably similar. Remove the style="margin: 2px;"
This will be in index.template.php
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

Surferbird

#4
This is removed totally and changed!

I used this advice to modify index.template.php http://www.simplemachines.org/community/index.php?topic=81177.0
Look at this then you may get a better pic of the place where the gape come from

My index.template.php looks like this, i think this is the place where smf logo is removed from?
</head>
<body>
<div id="box" style="padding: 15px;">';


echo '
<div class="tborder" ', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' style="width: 100%;"' : '', '>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>';

if (empty($settings['header_logo_url']))
echo '
<span style="font-family: Verdana, sans-serif; font-size: 140%; ">', $context['forum_name'], '</span>';
else
echo '
<img src="', $settings['header_logo_url'], '" style="margin: 0px;" alt="', $context['forum_name'], '" />';

echo '
</td>
</tr>
</table>';

.:: Always something to ask - always grateful for assistance ::.

Wolfenrook

That looks to me like it is been caused by top padding on the titlebg area.
Thoughts are free, it's their consequences that often have a cost.

Surferbird

Any fix or advice for it? Do you want whole file upped?
.:: Always something to ask - always grateful for assistance ::.

Advertisement: