Hi,
this might not be an cmsms issue but I have the following problem,
When putting
in the template, my original style with spacing and whatever disappears.
So I just leave it out. But is there a disadvantage?
Thanks
Pj
<!DOCTYPE HTML PUBLIC
-
westis
Re: <!DOCTYPE HTML PUBLIC
What's your url?
You should have a doctype declaration, so that the browser knows how to interpret your code (the layout engine attempts to render conforming pages according the CSS and HTML recommendations). But it should not be loose (mistake in one of the default templates), rather transitional or if you're an xhtml compliance purist, strict.
Does it make any difference if you instead put this?
You should have a doctype declaration, so that the browser knows how to interpret your code (the layout engine attempts to render conforming pages according the CSS and HTML recommendations). But it should not be loose (mistake in one of the default templates), rather transitional or if you're an xhtml compliance purist, strict.
Does it make any difference if you instead put this?
Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<__html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">-
Pj
Re: <!DOCTYPE HTML PUBLIC
Hi Westis,
we meet again
The url is not public yet, I am working on a testsite.
Right now I have made it to
Nothing more or less.
That works.
I tried your suggestion, and especially the letterspacing won't show up.
This is my styleclass:
.kop
{
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 14px;
color: white;
font-weight: bold;
letter-spacing: 10;
text-align: center;
margin-top: 50px;
}
For now all browsers seems to be able to understand it. So unless you or anyone finds a working doctype I just leave it.
Thank you!
Pj
we meet again
The url is not public yet, I am working on a testsite.
Right now I have made it to
Nothing more or less.
That works.
I tried your suggestion, and especially the letterspacing won't show up.
This is my styleclass:
.kop
{
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 14px;
color: white;
font-weight: bold;
letter-spacing: 10;
text-align: center;
margin-top: 50px;
}
For now all browsers seems to be able to understand it. So unless you or anyone finds a working doctype I just leave it.
Thank you!
Pj
-
westis
Re: <!DOCTYPE HTML PUBLIC
I'm all over the place...Pj wrote: Hi Westis,
we meet again![]()
It seems that you haven't specified the unit for the letter-spacing. Try letter-spacing: 10px; and see if that works.
-
Pj
Re: <!DOCTYPE HTML PUBLIC
Hi Westis,
That worked!
I just looked to long at the screen, so it didn't occur to me.
But that was the trick!
Thanx
Pj
That worked!
I just looked to long at the screen, so it didn't occur to me.
But that was the trick!
Thanx
Pj
