Iews
02-26-2008, 06:38 AM
I'm not 100% sure what thread my question would fit into since it links with CSS, xhtml, and PHP. When I look at zengarden-sample.html (http://www.csszengarden.com/zengarden-sample.html) I noticed the code for browsing designs on the site template is:
<div id="lselect">
<h3 class="select"><span>Select a Design:</span></h3>
<!-- list of links begins here. There will be no more than 8 links per page -->
<ul>
<li><a href="/" title="AccessKey: a" accesskey="a">Sample #1</a> by <a href="http://www.mezzoblue.com/" class="c">Dave Shea</a> </li>
<li><a href="/" title="AccessKey: b" accesskey="b">Sample #2</a> by <a href="http://www.mezzoblue.com/" class="c">Dave Shea</a> </li>
<li><a href="/" title="AccessKey: c" accesskey="c">Sample #3</a> by <a href="http://www.mezzoblue.com/" class="c">Dave Shea</a> </li>
<li><a href="/" title="AccessKey: d" accesskey="d">Sample #4</a> by <a href="http://www.mezzoblue.com/" class="c">Dave Shea</a> </li>
<li><a href="/" title="AccessKey: e" accesskey="e">Sample #5</a> by <a href="http://www.mezzoblue.com/" class="c">Dave Shea</a> </li>
<li><a href="/" title="AccessKey: f" accesskey="f">Sample #6</a> by <a href="http://www.mezzoblue.com/" class="c">Dave Shea</a> </li>
<li><a href="/" title="AccessKey: g" accesskey="g">Sample #7</a> by <a href="http://www.mezzoblue.com/" class="c">Dave Shea</a> </li>
<li><a href="/" title="AccessKey: h" accesskey="h">Sample #8</a> by <a href="http://www.mezzoblue.com/" class="c">Dave Shea</a> </li>
</ul>
</div>
But when you view the site (http://www.csszengarden.com/) the links are nothing like this.
So, my question is: How is this possible? would it be a php script changing the div class="a"?
I like the concept of making a semantic website, keeping the basic core page the same. And wanting todo the same with my website.
Iews
<div id="lselect">
<h3 class="select"><span>Select a Design:</span></h3>
<!-- list of links begins here. There will be no more than 8 links per page -->
<ul>
<li><a href="/" title="AccessKey: a" accesskey="a">Sample #1</a> by <a href="http://www.mezzoblue.com/" class="c">Dave Shea</a> </li>
<li><a href="/" title="AccessKey: b" accesskey="b">Sample #2</a> by <a href="http://www.mezzoblue.com/" class="c">Dave Shea</a> </li>
<li><a href="/" title="AccessKey: c" accesskey="c">Sample #3</a> by <a href="http://www.mezzoblue.com/" class="c">Dave Shea</a> </li>
<li><a href="/" title="AccessKey: d" accesskey="d">Sample #4</a> by <a href="http://www.mezzoblue.com/" class="c">Dave Shea</a> </li>
<li><a href="/" title="AccessKey: e" accesskey="e">Sample #5</a> by <a href="http://www.mezzoblue.com/" class="c">Dave Shea</a> </li>
<li><a href="/" title="AccessKey: f" accesskey="f">Sample #6</a> by <a href="http://www.mezzoblue.com/" class="c">Dave Shea</a> </li>
<li><a href="/" title="AccessKey: g" accesskey="g">Sample #7</a> by <a href="http://www.mezzoblue.com/" class="c">Dave Shea</a> </li>
<li><a href="/" title="AccessKey: h" accesskey="h">Sample #8</a> by <a href="http://www.mezzoblue.com/" class="c">Dave Shea</a> </li>
</ul>
</div>
But when you view the site (http://www.csszengarden.com/) the links are nothing like this.
So, my question is: How is this possible? would it be a php script changing the div class="a"?
I like the concept of making a semantic website, keeping the basic core page the same. And wanting todo the same with my website.
Iews