Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Aiheen aloitti: Deaks - heinäkuu 31, 2006, 04:12:05 IP

Otsikko: alignment
Kirjoitti: Deaks - heinäkuu 31, 2006, 04:12:05 IP
ok I keep getting an alignment error on my theme it happens in both IE and FF


code for it is

<table class="bodyarea" width="100%"><tr><td class="left" width="7">&nbsp;</td><td>';
}

function template_main_below()
{
global $context, $settings, $options, $scripturl, $txt;

echo '
</td><td class="right" width="7">&nbsp;</td></tr></table>';


ith appens when the header and the body connect ive tried padding and all but nothing

also the error image is an attachment in this post

all help is appreciated
Otsikko: Re: alignment
Kirjoitti: Tim - heinäkuu 31, 2006, 07:06:58 IP
Why not have the border as a background image on the table?
Otsikko: Re: alignment
Kirjoitti: m3talc0re - elokuu 01, 2006, 01:37:35 AP
Because it's probably fluid. Sloopz, that looks padding or margin related. Make sure it's not something in the bodyarea selector that's doin' it. Also, why not have the width="7" in the css instead?
Otsikko: Re: alignment
Kirjoitti: Deaks - elokuu 01, 2006, 02:08:01 AP
thanks guys but i got it :)