SMF Version: SMF 1.1 RC3
I have been editing the header of Aa_New_Damage and well I have a misalignment...
I have uploaded the picture of the error... it is here http://www.adminfuel.com/error.JPG.. and the code for that is shown below:
<!-- Added Header -->
<a name="top"></a>
<div align="center">
<table width="1000" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="54" height="261" valign="top"><img src="', $settings['images_url'], '/forum_body_01.jpg" width="54" height="261" alt="" /></td>
<td width="910" height="192" align="left" valign="top">
<table width="910" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="918" height="279" background="', $settings['images_url'], '/forum_body_02.jpg" align="center" valign="bottom">
<div class="title-text" style="padding:0 0 18px 0;"><img src="http://www.adminfuel.com/forum/logo.gif"/></div>
</td>
</tr>
<tr>
<td width="910" height="18" align="left" valign="middle" background="', $settings['images_url'], '/forum_body_04.jpg">
'; template_menu();
echo '
</td>
</tr>
<tr>
<td width="910" height="35"><img src="', $settings['images_url'], '/forum_body_05.jpg" width="910" height="35" alt="0" /></td>
</tr>
</table>
</td>
<td width="45" height="192" valign="top"><img src="', $settings['images_url'], '/forum_body_03.JPG" width="54" height="261" alt="" /></td>
</tr>
</table>
<!-- END header -->
<!-- BEGIN content sections -->
<table width="1000" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="1000" align="center" valign="top" class="content-bg">
<!-- End added header -->
<table width="860" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="860" align="left" valign="top">
<div class="tborder" ', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' style="width: 100%;"' : '', '>';
// display user name
echo '
<table width="100%" cellpadding="0" cellspacing="0" border="0" >
<tr>';
if($context['user']['is_logged'])
echo '
<td class="titlebg2" height="32">
<span style="font-size: 130%;"> ', $txt['hello_member_ndt'], ' <b>', $context['user']['name'] , '</b></span>
</td>';
Thats got some extra on it
So any help?
BuMp
Bump Bump - anyone?
Please do not bump a thread.
I went to your error image and I visited your site (http://www.adminfuel.com/forum/) and it seems to work finr for me
The site you visited was this wasnt it?
http://www.adminfuel.com/forum/
In FireFox some people have said it isnt right.. and on my other computer it isnt... on this computer it is fine.
if this is the case the problem comes with there resolution you will need o modify the index.template.pp to a fixed width and not a percentage width
But it isnt a percentage.. it is fixed
<table width="100%" cellpadding="0" cellspacing="0" border="0" >
even that bit :)
oooo :D
What would I change it too?.. but that is the username part...s that what is affecting it?
EdIT - I also asked at the SitePoint forums and here is their reply..
http://www.sitepoint.com/forums/showthread.php?p=3024287&posted=1#post3024287
search through the index.template.php and change all the widths of 100% to 1000 but only in the <table> sections
That didn't work..
Do you have the width fixed in style.css?
All this was wrong.. it was simple.. all I hd to do was resize the 2 side images in header to 45 instead of 54.. and all was fixed :D