Page 1 of 1
SOLVED! how to get a value for body (rel. 1.2.8)?
Posted: Tue 8. Aug 2006, 18:39
by cyrano
hi all,
and all who work with 1.2.8 (07082006).
I want to use a
.
I found no way yet to get it into the body tag? any ideas for this?
I have defined this in a css file but get an W3C validation error because of double the body starting tag...
Posted: Tue 8. Aug 2006, 19:41
by Rahner
LOL
Everythin you have to do is to edit the frontend.css:
in the beginning you see: body { CSS }
Edit IT!
Re: how to get a value for body (rel. 1.2.8)?
Posted: Tue 8. Aug 2006, 19:52
by Goran
I don't see any reason why you can't validate, works fine for me...test with following code:
http://validator.w3.org/
Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>body css</title>
<style type="text/css"><!--
body{
background-color: #F284C9;
}
.toll{
background-color: #C71585;
}
--></style>
</head>
<body class="toll">
Hoya!
</body>
</html>
Posted: Tue 8. Aug 2006, 19:54
by cyrano
thank you for your answers.
have to say i use seperated css files, no frontend.css.
i still get this rendered code:
<body>
<body class="zweispaltig">
ok maybe i have to use it too and just use the body tag. an idea ;-)
Posted: Tue 8. Aug 2006, 20:03
by Goran
cyrano wrote:thank you for your answers.
have to say i use seperated css files, no frontend.css.
i still get this rendered code:
<body>
<body class="zweispaltig">
ok maybe i have to use it too and just use the body tag. an idea
Hm....I'm not sure I understand. You have entered this code in css file <body class="zweispaltig">?
You can't do that!
Posted: Tue 8. Aug 2006, 20:10
by cyrano
hi,
i have html coded pages and there is it defined.
so i guess i replace the css file entries from the external css in frontend css and can avoid the double entry in rendered pages.
every day something new to learn :-)
Posted: Tue 8. Aug 2006, 23:21
by Oliver Georgi
remove <body class="zweispaltig"> form your template!
If neccessary use <div class="zweispaltig"></div>
Oliver
Posted: Wed 9. Aug 2006, 11:08
by cyrano
yep solved in this way. thx oliver.