Gossamer Forum
Home : Products : Links 2.0 : Customization :

CSS Stylesheet... Deactivated and $site_body Activated?.. What Did I do wrong?

Quote Reply
CSS Stylesheet... Deactivated and $site_body Activated?.. What Did I do wrong?
Here s the codes:
=============================
# If you use frames then set the DTD to:
#$dtd = '!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN" "http://www.w3.org/TR/REC-html40/frameset.dtd"';
#
$dtd = '!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"';

# Set the address for the style sheet using this variable.
# If you want to check the validity of the style sheet you can use this validator
# - http://jigsaw.w3.org/css-validator/
#
# $css = qq~link rel=stylesheet href="$build_css_url" type="text/css" title="webarchitects links style sheet"~;

# If you set any colours or a background image using the body tag then you
# should use transitional DTD (MSIE3 does not use the CSS background and can cause the site
# to look strange it the browser default background color is set left as the default grey)
$site_body = 'body bgcolor="#FFFFFF" text="#000000"';
# $site_body = 'body';

+++++++++++++++++++++++++++++

I want my background body is WHITE
I have activate the Site_body above

and it s still look Grey

what happened?

Above that it says:
=======================
# If you set any colours or a background image using the body tag then you
# should use transitional DTD (MSIE3 does not use the CSS background and can cause the site
# to look strange it the browser default background color is set left as the default grey)
========================

DTD?? What do I do?

Thanks

------------------
WebKing
WebKing@trisoft.net
http://www.trisoft.net
My ICQ # 25356171
Quote Reply
Re: CSS Stylesheet... Deactivated and $site_body Activated?.. What Did I do wrong? In reply to
Please Disregard the Message I Posted Above..

I have figured it OUT!
THIS IS HOW IT LOOKs
===============================

$date = &get_date;
$time = &get_time;

# The default DTD is HTML 4 strict. You can check this using the W3's validator
# http://validator.w3.org/
#
# HTML 4.0 strict results in a very plain look in NN 2/3 and MSIE 2 as the
# style sheet which controls the layout, fonts and colours only works with
# CSS browsers - NN 4/5 and MSIE 3/4/5 and Opera 3.5.
#
# If you use font tags (and other HTML 4 depreciated tags) then set to DTD to:
# $dtd = '!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"';
#
# If you use frames then set the DTD to:
# $dtd = '!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN" "http://www.w3.org/TR/REC-html40/frameset.dtd"';
#
# $dtd = '!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"';

# Set the address for the style sheet using this variable.
# If you want to check the validity of the style sheet you can use this validator
# - http://jigsaw.w3.org/css-validator/
#
# $css = qq~link rel=stylesheet href="$build_css_url" type="text/css" title="webarchitects links style sheet"~;

# If you set any colours or a background image using the body tag then you
# should use transitional DTD (MSIE3 does not use the CSS background and can cause the site
# to look strange it the browser default background color is set left as the default grey)
$site_body = 'body bgcolor="#FFFFFF" text="#000000"';
# $site_body = 'body';
==============================

REMOVED THESE:

<$dtd>

AND

<$css>

in your site_templates.pl

They are above

<$site_body> and they are located in every section like:

in "what s new" section, it s also occur.

JUST FIND THEM IN YOUR site_templates.pl and REMOVE those TWO TAGs. So your BG Color will loook white hehehhehe

peace!

------------------
WebKing
WebKing@trisoft.net
http://www.trisoft.net
My ICQ # 25356171