DTD, questo sconosciuto

Dovrei studiare per l'esame di Reti di martedi`, e` vero. Ma chi se ne frega.

Piuttosto stavo cercando di trovare una soluzione a un problema un attimino inquietante, che interessava proprio questo sito, e in particolare le tabs di navigazione (in alto a destra). Problemi?

  1. Beh, se usate IE 6, il problema, come sempre, e` evidente.
  2. Se usate Firefox 2 sul Mac si vede di un bene che e` impressionante.
  3. Se usate Opera 9.1 sul Mac anche li` nessun problema.
  4. Se usate Firefox 2 o 1.5 su Windows le tabs si vedono male allineate.
  5. Se usate Opera 9.1 su Windows qualche piccolo problemino ancora si vede.
  6. Se usate IE 7, vedete al punto 1.
  7. Safari non posso testarlo, essendo che Mac OS X e i proxy litigano di brutto.

La cosa che mi inquietava, in realta`, era la differenza tra le versioni di Firefox e Opera su Mac e su Win, tanto piu` considerando il fatto che Opera, se i CSS sono scritti come si deve, di sicuro non sbaglia. Con chi dovevo prendermela? Con me, con Firefox, con Steve Jobs o con la W3C?

Con me, alla fine. Eh si`, perche` nella stesura del codice del mio sito, infervorato dall'avvento di Ruby on Rails, avevo dimenticato di impostare i DTD per il mio sito, ovvero il Document Type Definition, il file che definisce la corretta "grammatica" di un documento XML (in questo caso l'XHTML 1.1). Sistemata l'intestazione della pagina, tutto e` tornato a funzionare come si deve, su Mac e su Win. Proprio tutto? Non ho ancora finito di sistemare i CSS, quindi …

  1. Beh, se usate IE 6, il problema, come sempre, e` evidente.
  2. Se usate IE 7, vedete al punto 1.

Saluti e baci.

576 thoughts on “DTD, questo sconosciuto

  1. An outstanding share! I have just forwarded this onto a coworker who has been doing a little homework on this. And he actually bought me lunch because I found it for him… lol. So let me reword this…. Thank YOU for the meal!! But yeah, thanks for spending some time to discuss this subject here on your site.

  2. I’ve recently started a web site, the info you offer on this web site has helped me tremendously. Thanks for all of your time & work. “The more sand that has escaped from the hourglass of our life, the clearer we should see through it.” by Jean Paul.

  3. Having read this I thought it was extremely informative. I appreciate you taking the time and effort to put this short article together. I once again find myself personally spending way too much time both reading and posting comments. But so what, it was still worth it.

  4. Next time I read a blog, I hope that it doesn’t fail me just as much as this one. I mean, I know it was my choice to read through, nonetheless I actually thought you would have something helpful to talk about. All I hear is a bunch of complaining about something that you could possibly fix if you weren’t too busy looking for attention.

  5. Good post. I learn something totally new and challenging on blogs I stumbleupon everyday. It will always be exciting to read through articles from other writers and practice something from other websites.

  6. I’m amazed, I have to admit. Seldom do I encounter a blog that’s both equally educative and amusing, and let me tell you, you have hit the nail on the head. The issue is something which too few folks are speaking intelligently about. Now i’m very happy I came across this during my hunt for something concerning this.

  7. I seriously love your site.. Great colors & theme. Did you develop this site yourself? Please reply back as I’m looking to create my own website and want to find out where you got this from or exactly what the theme is called. Many thanks.

  8. Your style is unique compared to other people I’ve read stuff from. I appreciate you for posting when you’ve got the opportunity, Guess I’ll just bookmark this web site.

  9. You can certainly see your enthusiasm within the work you write. The world hopes for more passionate writers like you who aren’t afraid to say how they believe. Always go after your heart. “Every man serves a useful purpose A miser, for example, makes a wonderful ancestor.” by Laurence J. Peter.

  10. With havin so much content do you ever run into any problems of plagorism or copyright violation? My site has a lot of completely unique content I’ve either written myself or outsourced but it looks like a lot of it is popping it up all over the web without my agreement. Do you know any solutions to help prevent content from being ripped off? I’d certainly appreciate it.

Lascia un commento

Il tuo indirizzo email non sarà pubblicato. I campi obbligatori sono contrassegnati *