Uutiset:

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

Main Menu
Advertisement:

Misalignment!

Aloittaja rockinaway, elokuu 31, 2006, 12:34:44 IP

« edellinen - seuraava »

rockinaway

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?
Have I helped you? Then please join AdminFuel - The forum for forum administrators.

If you need help managing your forum, or maybe launching it, then visit us and view the quality articles, downloads and posts.

rockinaway

Have I helped you? Then please join AdminFuel - The forum for forum administrators.

If you need help managing your forum, or maybe launching it, then visit us and view the quality articles, downloads and posts.

rockinaway

Have I helped you? Then please join AdminFuel - The forum for forum administrators.

If you need help managing your forum, or maybe launching it, then visit us and view the quality articles, downloads and posts.

Deaks

Please do not bump a thread.

I went to your error image and I visited your site and it seems to work finr for me
~~~~
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."

rockinaway

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.
Have I helped you? Then please join AdminFuel - The forum for forum administrators.

If you need help managing your forum, or maybe launching it, then visit us and view the quality articles, downloads and posts.

Deaks

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
~~~~
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."

rockinaway

But it isnt a percentage.. it is fixed
Have I helped you? Then please join AdminFuel - The forum for forum administrators.

If you need help managing your forum, or maybe launching it, then visit us and view the quality articles, downloads and posts.

Deaks

<table width="100%" cellpadding="0" cellspacing="0" border="0" >
even that bit :)
~~~~
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."

rockinaway

#8
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
Have I helped you? Then please join AdminFuel - The forum for forum administrators.

If you need help managing your forum, or maybe launching it, then visit us and view the quality articles, downloads and posts.

Deaks

search through the index.template.php and change all the widths of 100% to 1000 but only in the <table> sections
~~~~
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."

rockinaway

Have I helped you? Then please join AdminFuel - The forum for forum administrators.

If you need help managing your forum, or maybe launching it, then visit us and view the quality articles, downloads and posts.

Freiluft

Do you have the width fixed in style.css?

rockinaway

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
Have I helped you? Then please join AdminFuel - The forum for forum administrators.

If you need help managing your forum, or maybe launching it, then visit us and view the quality articles, downloads and posts.

Advertisement: