[Typo3] FCE and clean XHTML+CSS

Christopher tombedlam at yahoo.com
Tue Apr 19 16:04:34 CEST 2005


Hi,

--- Emanuele Zattin <emanuelez at libero.it> wrote:
> Hello,
> i'm developing a multilanguage website using Templavoilà.
> I'd love to use FCE to insert contents, possibly using images as headers.
> 
> I know Templavoilà can create image headers automatically like this:
> 
> <img src="path of the created image" alt="some alt text here" />


Templavoila doesn't create these - Typoscript does. Try using TV to insert
a graphical header, and then look into the resulting DS (the xml file), and
you'll see the basic TS required to create a graphical header. If you want
to make one graphical headline, you'll need to modify this. If you want to
make lots of 'em, you'll probably want to have a look at the TS Object
Browser in the BE in the Template module and modify the whole
'lib.stdheader' object.


> but it's not as clean as i'd want it to be:
> 
> <h3 style="background:url("path of the created image"); 
> height:[height of image]; width:[width of image];"><span 
> style="display:none;">My Header: Yeah, it is text!</span></h3>
> 
> This would be visible also on text only devices and would look great on 
> small screens disabling CSS. Is this possible? Any hint?
> 

Yep, search the list archive; there have been a couple of threads about
doing this, and I also posted a basic setup for this kind of headers to the
accessibility newsgroup a few months ago (to find that, search for 'FIR'
and I think you'll find it.


-Christopher

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the TYPO3-english mailing list