News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

elargir son template

Started by Zonequad, February 17, 2006, 03:20:20 AM

Previous topic - Next topic

Zonequad

bonjour,

Je possede actuellement ce forum http://www.zonequad.com/smf/index.php et je souhaiterai elargir le template afin de passer mon forum environ a la meme largeur que celui ci , avez vous une idée ?

merci

Zonequad


kezayah

c'est au niveau de index.template.php ... cherche les width="80%" (on dirait que c'est 80% chez toi ... au pire avec la fontion rechercher cherche tous les width=" et met width="100%" à la place !!!)  ;)

Zonequad

j ai trouver ca

// Because of the way width/padding are calculated, we have to tell Internet Explorer 4 and 5 that the content should be 100% wide. (or else it will assume about 108%!)
echo '
<div id="headerarea" style="padding: 12px 30px 4px 30px;', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' width: 100%;' : '', '">';


et si je fais ca ?

// Because of the way width/padding are calculated, we have to tell Internet Explorer 4 and 5 that the content should be 100% wide. (or else it will assume about 108%!)
echo '
<div id="headerarea" style="padding: 12px 30px 4px 30px;', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' width: 900;' : '', '">';

Advertisement: