Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Topic started by: kroberson on May 27, 2005, 03:19:00 PM

Title: formatting issues
Post by: kroberson on May 27, 2005, 03:19:00 PM
Hello!

I have been muttering through the formatting changes for my forum and its been going fairly well. However I am running into two problems that I cannot seem to get around. You can see here http://www.myspecialdog.com/forum/index.php that the footer and header of the forum seems to be expanded to 100% even though I have it set to 790px. Also, the header is left aligned even though I have it set to center. I will paste the code to my index template below... any suggestions you could throw my way would be stupendous!! Thanks in advance..

Kevin

<body>';
include('header.php');
// 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: 790px;' : '', '">';

// The logo and the three info boxes.
echo '
<table cellspacing="0" cellpadding="0" border="0" align="center" width="790" style="position: relative;">
<tr>
<td colspan="2" valign="bottom" style="padding: 5px; white-space: nowrap;">';
Title: Re: formatting issues
Post by: [Unknown] on May 27, 2005, 04:40:53 PM
Integrating the forum into your site... (http://www.simplemachines.org/community/index.php?topic=19638.0)

-[Unknown]