Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Topic started by: Thunderace on June 05, 2004, 05:11:30 AM

Title: Problems with template & CSS
Post by: Thunderace on June 05, 2004, 05:11:30 AM
I've have an SMF integrated with Mambo, but the forum does not seem to be following the CSS correctly, large fonts are the main problem, see baby clothes shop (http://www.babygurgles.co.uk/forum/)

I have commented out head, body, /head, /body like this ...

if(!defined('_VALID_MOS'))
echo '</head>
<body>';


Any ideas?
Title: Re: Problems with template & CSS
Post by: [Unknown] on June 06, 2004, 06:08:49 AM
Internet Explorer problem.  Check the doctype being sent - search for "doctype" in index.template.php

You may need to modify the xhtml/html font resizing code - search for "fonts-compat.css".

This is not an issue on Mozilla, Safari, or Opera 7.

-[Unknown]
Title: Re: Problems with template & CSS
Post by: Thunderace on June 06, 2004, 11:07:58 AM
Mambo is fine and sMF is fine on its own.

It's just when integrated SMF loses the xhtml
Title: Re: Problems with template & CSS
Post by: Thunderace on June 07, 2004, 05:50:20 AM
Could this be the problem?

[error] PHP Warning:  Cannot modify header information - headers already sent by (output started at /local/mysite/public/templates/peeklime/index.php:9) in /local/mysite/public/components/com_smf/smf.php on line 123

peeklime/index.php is the mambo template btw.

SMF.php is a part of the integration line 123 is

// Start the session.
session_start();
// !!! I'm not sure we really want to impose this, imho.
header('Cache-Control: private');