[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: HTML vs XHTML
From: |
David Paleino |
Subject: |
Re: HTML vs XHTML |
Date: |
Sun, 25 Feb 2007 17:53:52 +0100 |
User-agent: |
Mozilla Thunderbird 1.5.0.9 (X11/20061220) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Victor Engmark ha scritto:
> On 2/25/07, *David Paleino* <address@hidden
> <mailto:address@hidden>> wrote:
> ...
>
> Your fix is in the attached file - You apply TD formatting to the TD
> elements, instead of the (IMO rather silly) way of HTML, which is to set
> it at the table level.
Thanks for that.
Yes, it's better also IMO to include all the styled into an external
CSS, without repeating the same styles for all TDs and tables.
I edited the page that way because it was a "transitional" (as Davi
stated) state.
I would've edited the CSS later, cleaning up the code. :-)
> <img src="bla.png width="90" height="120" align="left" alt="image"
> style="border:0;position:relative;left:0;top:0" />
>
> Unless you need to be able to save the web site as a single file with
> styles, you'd normally move those away from the <img> element, and into
> a separate style sheet file, to save space and make your design much
> more flexible. That also includes @align.
Sure, see my agreement about cleaning up the code :-)
> To date, I've never
> encountered an old-style HTML layout which I couldn't duplicate with
> standard compliant, accessible (WCAG level AA), and smaller XHTML + CSS.
> It may be that the pages I've worked with were exceedingly bad, or that
> the W3C people are smart enough to make the newer standards better than
> the old ones...
I think the second choice. :-P
It may also be that I'm not as good as you in using CSS :-D
> P.S.: in my opinion, it would be better using DIVs instead of TABLEs.
> But I think it's a lot of work
>
>
> That depends on the contents of the table. If it's tabular data, use
> <table>. If the table is just there to keep things aligned, then use
> <div>. Otherwise, you'll end up with "divitis", coined in Jeffrey
> Zeldman's Designing with web standards.
Well, maybe I'm already affected by that divitis :-D
> Just my 2 cents.
>
> PS: Where can I find the actual files to edit the pages? I'm getting an
> itch to have a look at this myself.
You can find everything into ./Layer-0__Site_entry_point/templates/
> --
> Victor Engmark
> Quid quid latine dictum sit, altum viditar - What is said in Latin,
> sounds profound
Again, it's "viditur". :-D
Cheers,
David
P.S.: if we have to move to XHTML, I suggest to stop working over other
tasks. Or, better, stop working on templates. We can change anything BUT
templates. For example, while I was working on the first step of
conversion, Davi had committed a version, and I had to _manually_ merge
the differences...
- --
Linux Registered User #334216
Get FireFox! >> http://snipurl.com/gofoxygo/ <<
Blog >> http://www.hanskalabs.net/ <<
Staff >> http://www.debianizzati.org/ <<
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFF4b8g5qqQFxOSsXQRAsNhAJ9LtgMmA6SjHVp5Cbv91IQQY5EVtwCdEilZ
XLzJl9y4m43e/dSIePSL7JQ=
=WftH
-----END PGP SIGNATURE-----
- Re: Proposal: switching from HTML 4.0 to XHTML 1.0 Transitional, (continued)
- Re: Proposal: switching from HTML 4.0 to XHTML 1.0 Transitional, Davi Leal, 2007/02/21
- Re: Proposal: switching from HTML 4.0 to XHTML 1.0 Transitional, Victor Engmark, 2007/02/21
- Re: Proposal: switching from HTML 4.0 to XHTML 1.0 Transitional, David Paleino, 2007/02/21
- HTML vs XHTML, Davi Leal, 2007/02/24
- Re: HTML vs XHTML, Victor Engmark, 2007/02/25
- Re: HTML vs XHTML, David Paleino, 2007/02/25
- Re: HTML vs XHTML, Victor Engmark, 2007/02/25
- Re: HTML vs XHTML, David Paleino, 2007/02/25
- Re: HTML vs XHTML, Victor Engmark, 2007/02/25
- Re: HTML vs XHTML, Davi Leal, 2007/02/25
- Re: HTML vs XHTML,
David Paleino <=
- Re: HTML 4.01 Strict + CSS -- Later XHTML if convenient?, Davi Leal, 2007/02/25
- Re: HTML 4.01 Strict + CSS -- Later XHTML if convenient?, Davi Leal, 2007/02/25
- Re: HTML 4.01 Strict + CSS -- Later XHTML if convenient?, Victor Engmark, 2007/02/25
- Re: The team have XHTML experience, Davi Leal, 2007/02/25
- Re: HTML vs XHTML, MJ Ray, 2007/02/25
- Re: HTML 4.01 Strict + CSS, Davi Leal, 2007/02/25
- Re: HTML 4.01 Strict + CSS, Victor Engmark, 2007/02/25
- Re: CVS branch for XHTML ?, Davi Leal, 2007/02/25
- Re: CVS branch for XHTML ?, David Paleino, 2007/02/25
- Re: CVS branch, Davi Leal, 2007/02/25