Working semanticly correct with phpwcms
Posted: Wed 16. Mar 2005, 20:07
Hey there people,
At the moment I'm trying to build a site using phpcms. This site should be semanticly as correct as possible. I've changed the navigational part using this: http://ionrock.umemusic.com/index.php?id=5,8,0,0,1,0 which was recommended on this site.
I've got it working, but with one little problem at the end of my list (after the last </li> but before the closing </ul>) you'll get this:
Probably since phpwcms looks at is as if it could have sub-strcuture, can this porblem be solved?
I've got some more issues concerning the symantics, I hope it's not wrong to put these in this post as well, if it's wrong just say so..
Anyway to get to my problems:
although it isn't a big problem, but I wonderd wether you can get rid of the sapce between <body and > if you've kept your body tag empty.
second I'd like to get a wrapper around my whole page (<body><div id="wrapper"> {page} </div></body>)
Third i'd like to get an id in my html tag (I know it isn't correct, but it is really handy once you're using different background images on different pages if you use css) like this <html id="home"> or else in my body tag.
Last but not least I wonder wether it's possible to get uris like this
http://website.ext/page/
instead of:
http://website.ext/index.php?page
I really hope someone can help me with this. I've been looking for it, but couldn't find the answer
At the moment I'm trying to build a site using phpcms. This site should be semanticly as correct as possible. I've changed the navigational part using this: http://ionrock.umemusic.com/index.php?id=5,8,0,0,1,0 which was recommended on this site.
I've got it working, but with one little problem at the end of my list (after the last </li> but before the closing </ul>) you'll get this:
Code: Select all
<ul>
</ul>
I've got some more issues concerning the symantics, I hope it's not wrong to put these in this post as well, if it's wrong just say so..
Anyway to get to my problems:
although it isn't a big problem, but I wonderd wether you can get rid of the sapce between <body and > if you've kept your body tag empty.
second I'd like to get a wrapper around my whole page (<body><div id="wrapper"> {page} </div></body>)
Third i'd like to get an id in my html tag (I know it isn't correct, but it is really handy once you're using different background images on different pages if you use css) like this <html id="home"> or else in my body tag.
Last but not least I wonder wether it's possible to get uris like this
http://website.ext/page/
instead of:
http://website.ext/index.php?page
I really hope someone can help me with this. I've been looking for it, but couldn't find the answer