<?xml version="1.0"?><rss version="2.0"><channel><title>Comments on Styling Google - AddedBytes.com</title><link>http://www.addedbytes.com/article/styling-google/</link><description>Latest comments on Styling Google on AddedBytes.com</description><!-- ckey="76C662BB" --><item><title>Comment on Styling Google</title><link>http://www.addedbytes.com/article/styling-google/comments/</link><guid>http://www.addedbytes.com/article/styling-google/comments/</guid><description>Comment by Loke Krongaard Hansen ( &lt;a href="http://www.pagerank-boost.com"&gt;http://www.pagerank-boost.com&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;This is a nice trick indeed. Some of the pages i have created over the last years need a little twinking and i will definately be making the sites better on the eye from a cached point of view once i do this.&lt;br /&gt;&lt;br /&gt;Small details make the difference in the end ;)</description></item><item><title>Comment on Styling Google</title><link>http://www.addedbytes.com/article/styling-google/comments/</link><guid>http://www.addedbytes.com/article/styling-google/comments/</guid><description>Comment by Wardy ( &lt;a href="http://www.ccoder.co.uk"&gt;http://www.ccoder.co.uk&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;just one other point id like to make is that most html these days is written on the server by the server at run time meaning weather u use tables or not could be up to your server should you decide that as option.&lt;br /&gt;&lt;br /&gt;Compatability can be easily coded by determining the browser type and version and code can be written that works better for that client however there has to be a limit between the perfectly coded site and the time spent getting eventuality sorted so having a good idea of your target audience is also a handy thing to bear in mind.</description></item><item><title>Comment on Styling Google</title><link>http://www.addedbytes.com/article/styling-google/comments/</link><guid>http://www.addedbytes.com/article/styling-google/comments/</guid><description>Comment by Wardy ( &lt;a href="http://www.ccoder.co.uk"&gt;http://www.ccoder.co.uk&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;Nice advice dude :)&lt;br /&gt;&lt;br /&gt;good to know people in the locality think the same way as myself.&lt;br /&gt;&lt;br /&gt;I've also had some major problems with a host causing me a lot of downtime which can make google's cache usefull the only trouble is if like you say the page is destroyed by ugly &quot;google was here&quot; type code why would any user stay put !!!&lt;br /&gt;&lt;br /&gt;cya around :)</description></item><item><title>Comment on Styling Google</title><link>http://www.addedbytes.com/article/styling-google/comments/</link><guid>http://www.addedbytes.com/article/styling-google/comments/</guid><description>Comment by Michael Crabbe ( &lt;a href="http://www.arcadexl.com/"&gt;http://www.arcadexl.com/&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;I would hate it if people styled the Google cache information box, leaving an id=&quot;&quot; like you said. It would make searching completeley inconsistent and inherently more awkward.</description></item><item><title>Comment on Styling Google</title><link>http://www.addedbytes.com/article/styling-google/comments/</link><guid>http://www.addedbytes.com/article/styling-google/comments/</guid><description>Comment by James Sorbet ( &lt;a href=""&gt;&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;The W3C site has a cool trick for getting IE to render the XHTML properly. To use it, one needs to use the ContentType of &quot;application/xml&quot;&lt;br /&gt;&lt;br /&gt;Start the document with the following...&lt;br /&gt;&lt;br /&gt;&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt;br /&gt;&lt;?xml-stylesheet type=&quot;text/xsl&quot; href=&quot;xhtml.xsl&quot;?&gt;&lt;br /&gt;&lt;br /&gt;Where xhtml.xsl is a file withe the following content...&lt;br /&gt;&lt;br /&gt;&lt;stylesheet version=&quot;1.0&quot; xmlns=&quot;http://www.w3.org/1999/XSL/Transform&quot;&gt;&lt;br /&gt;    &lt;template match=&quot;/&quot;&gt;&lt;br /&gt;        &lt;copy-of select=&quot;.&quot;/&gt;&lt;br /&gt;    &lt;/template&gt;&lt;br /&gt;&lt;/stylesheet&gt;&lt;br /&gt;&lt;br /&gt;It's a nice trick and it all helps in the ongoing effort to conform to the guidelines.</description></item><item><title>Comment on Styling Google</title><link>http://www.addedbytes.com/article/styling-google/comments/</link><guid>http://www.addedbytes.com/article/styling-google/comments/</guid><description>Comment by Dave Child ( &lt;a href="http://www.addedbytes.com"&gt;http://www.addedbytes.com&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;Hi James,&lt;br /&gt;&lt;br /&gt;Thanks for the feedback. One thing at a time ...&lt;br /&gt;&lt;br /&gt;Feel free not to switch from tables. That's your choice entirely. CSS layouts can work very badly, if badly done. A well-created HTML and CSS page should degrade well with older browsers.&lt;br /&gt;&lt;br /&gt;&quot;This renders the site useless on a small resolution screen, perhaps a PDA or a cellphone.&quot; - That would be a problem, if cellphones displayed this site like this. They usually don't though - most reformat pages.&lt;br /&gt;&lt;br /&gt;The design for this site isn't perfect. The &quot;Search&quot; header in the nav bar, for example, is broken. It's a work in progress. Now I'm happy with the backend, I'm starting work on a decent front end. Things like content types and so on will be fixed in due course.&lt;br /&gt;&lt;br /&gt;The second of the http-equiv tags refers to the style type, and is correct. I agree about the use of http-equiv, and normally do not use it. However, for a hobby site being developed in a limited time, they did the job. They'll be replaced in the new design.&lt;br /&gt;&lt;br /&gt;I am aware that XHTML docs should be served as &quot;application/xhtml+xml&quot; according to the specs. However, IE can't handle this type of document. The specs state that &quot;text/html&quot; is fine for HTML-compatible XHTML, which this is. In the next version of the site, I will probably serve correct types to those browsers that can handle it, but am not all that bothered while support is so poor for properly-declared content types.</description></item><item><title>Comment on Styling Google</title><link>http://www.addedbytes.com/article/styling-google/comments/</link><guid>http://www.addedbytes.com/article/styling-google/comments/</guid><description>Comment by James Sorbet ( &lt;a href=""&gt;&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;I wouldn't switch away from tables just yet, for the sake of backwards compatibility, it's not a good idea. Older browsers will be lost if there's no positioning at all in the HTML. A well structured page created from valid HTML tables and a stylesheet can still look good in an older browser. Also, CSS positioning just isn't ready for the primetime yet. More often than not it produces rendering problems. Resize the window for this site if you want to see what I mean reduce the width and you'll see the navigation menu disappear at a certain point. This renders the site useless on a small resolution screen, perhaps a PDA or a cellphone. Tables provide the best level of compatibility at this moment.&lt;br /&gt;&lt;br /&gt;I had a look at the source of your code. You're using META-EQUIV tags which is quaint. You appear to be trying to set the content type of the page twice, once as &quot;text/html&quot; and then a second time as &quot;text/css&quot;.&lt;br /&gt;&lt;br /&gt;This is quite amusing as neither of them are actually correct. You are using XHTML1.1 so the document is not html, and it's certainly not css. it's an XML document so the content-type should be &quot;application/xhtml+xml&quot;. By not setting this, web browsers aren't actually reading it as XML at all, they're rendering it as HTML which defeats the object!&lt;br /&gt;&lt;br /&gt;I'd also avoid using META-EQUIV tags completely. Not all browsers support them. If you need to add or modify a server header, do it on the web server, not in the document.</description></item><item><title>Comment on Styling Google</title><link>http://www.addedbytes.com/article/styling-google/comments/</link><guid>http://www.addedbytes.com/article/styling-google/comments/</guid><description>Comment by KosherJava ( &lt;a href=""&gt;&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;I tried a different approach on my site a while ago and just set display: none for tables. Users now see my page without seeing the google stuff at all.&lt;br /&gt;This assumes you have no tables on your page.</description></item></channel></rss>