Little Bug in coding can't fix it. Please Help

This forum is now closed. Please ask all styles-related questions in the phpBB 3.0 Styles Support & Discussion Forum.
Locked
sfamonkey
Registered User
Posts: 17
Joined: Thu Oct 07, 2004 6:15 pm

Little Bug in coding can't fix it. Please Help

Post by sfamonkey » Sun Dec 05, 2004 3:49 am

Hi. I found a cool theme, but I didn't like 100% so I was modding it to have it fit my logo.
My site: http://msg43.bizhat.com/phpBB2/index.php
if you look closley at the right side of the image there is a small space.
How can I fix it. This is my code
Overal Header

Code: Select all

<?xml version="1.0" encoding="{S_CONTENT_ENCODING}"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="Content-Style-Type" content="text/css" />
{META}
{NAV_LINKS}
<title>{SITENAME} :: {PAGE_TITLE}</title>
<link rel="stylesheet" href="templates/fisubgrey/{T_HEAD_STYLESHEET}" type="text/css" />
<!-- BEGIN switch_enable_pm_popup -->
<script type="text/javascript">
<!--
	if ( {PRIVATE_MESSAGE_NEW_FLAG} )
	{
		window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
	}
//-->
</script>
<!-- END switch_enable_pm_popup -->
</head>
<body>
<a name="top" id="top"></a>
<table class="bodyline" width="794" cellspacing="0" cellpadding="0" border="0" align="center">
<tr>
<td>
<table class="topbkg" width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td><a href="{U_INDEX}"><img src="templates/fisubgrey/images/msg43banner.jpg" border="0" alt="{L_INDEX}" title="{L_INDEX}" width="794" height="100" /></a></td>
<td align="center" width="100%">&nbsp;</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr> 
<td align="center" class="topnav">&nbsp;<a href="{U_FAQ}">{L_FAQ}</a>&nbsp; •&nbsp; <a href="{U_SEARCH}">{L_SEARCH}</a>
&nbsp;• &nbsp;<a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a>&nbsp; • 
&nbsp;<a href="{U_GROUP_CP}">{L_USERGROUPS}</a>
<!-- BEGIN switch_user_logged_out -->
&nbsp; • &nbsp;<a href="{U_REGISTER}">{L_REGISTER}</a>
<!-- END switch_user_logged_out -->
&nbsp;• &nbsp;<a href="{U_PROFILE}">{L_PROFILE}</a>&nbsp; • &nbsp;<a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a>&nbsp; 
• &nbsp;<a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="10">
<tr>
<td>
Please help thanks[/code]

User avatar
Anon
Former Team Member
Posts: 7019
Joined: Fri Jan 02, 2004 7:33 am
Location: Christchurch, New Zealand

Post by Anon » Sun Dec 05, 2004 6:49 am

it appears your logo is too big for it.

it's 796px x 100px

it's supposed to be 794px x 100px

sfamonkey
Registered User
Posts: 17
Joined: Thu Oct 07, 2004 6:15 pm

Post by sfamonkey » Sun Dec 05, 2004 5:18 pm

Anon wrote: it appears your logo is too big for it.

it's 796px x 100px

it's supposed to be 794px x 100px


were do you see that. Could you point that out. Thanks

User avatar
xdarkday
Registered User
Posts: 570
Joined: Sat Oct 11, 2003 7:51 am
Location: Arizona

Post by xdarkday » Sun Dec 05, 2004 5:23 pm

its in this part of the code

Code: Select all

<tr>
<td><a href="{U_INDEX}"><img src="templates/fisubgrey/images/msg43banner.jpg" border="0" alt="{L_INDEX}" title="{L_INDEX}" width="794" height="100" /></a></td> 
then probably right clicked your banner to see the size. which came out to being the pixel size that he listed.
796px x 100px

sfamonkey
Registered User
Posts: 17
Joined: Thu Oct 07, 2004 6:15 pm

Post by sfamonkey » Sun Dec 05, 2004 5:28 pm

xdarkday wrote: its in this part of the code

Code: Select all

<tr>
<td><a href="{U_INDEX}"><img src="templates/fisubgrey/images/msg43banner.jpg" border="0" alt="{L_INDEX}" title="{L_INDEX}" width="794" height="100" /></a></td> 
then probably right clicked your banner to see the size. which came out to being the pixel size that he listed.
t's 796px x 100px

thanks for pointing that out, but that didn't fix the problem. Someone on other board helped it out. He told me to remove

Code: Select all

<td align="center" width="100%">&nbsp;</td>
but thanks for the help

any one who wants to check the fix go to http://msg43.dyndns.org/phpBB2/

Locked

Return to “[2.0.x] Styles Development & Discussion”