[TYPO3-dev] <base> tag and IE6

Christopher Torgalson bedlamhotel at gmail.com
Sun Sep 9 17:17:44 CEST 2007


Hi,

On 9/9/07, Christian Welzel <gawain at camlann.de> wrote:
> Martin Kutschker schrieb:
>
> > I don't see a
> > rule taht aloes the "expeansion" of an element that is declared EMPTY.
> > "base" is declared empty.
>
> [qoute from http://www.w3.org/TR/2006/REC-xml-20060816/#sec-starttags]
> The representation of an empty element is either a start-tag immediately
> followed by an end-tag, or an empty-element tag.
> [/quote]
>
> Both forms are absolutely equal in xhtml/xml.
> The short form (empty-element tag) is only a convinience to the older
> sgml standard where you were allowed to leave out the optional end tag
> in this case.
>
> So adding <base></base> to a website is absolutely xhtml 1.1 valid, only
> 5 chars longer than the current <base /> and saves float-using-webdevs a
> lot of trouble with IE6.


Wait: do you not know that you can add stuff to the header with TS?


page.headerData.5 = HTML
page.headerData.5.value = http://www.example.com/
page.headerData.5.value.wrap = <base href="|"></base>


Even though deciding that TYPO3 should support /only/ xhtml was a bad
move by the core devs, there is still no reason to make the change
you're asking for.

-- 
Christopher Torgalson
http://www.typo3apprentice.com/




More information about the TYPO3-dev mailing list