[Typo3] Typo3+Netscape
Alexander Heidl
aheidl at fulcio.co.uk
Mon Sep 26 16:05:04 CEST 2005
Hi Nobi,
Welcome to the world of standards ... what you need a stylesheet fork which
decides to load your stylesheet file accordinf to the browser type. Here is
some code snippet for your main TS template of your page:
page = PAGE
page {
typeNum = 0
# include Stylesheets
headerData {
# Common Stylesheet
10 = TEXT
10.value = <link rel="stylesheet" type="text/css"
href="{$pathToDefaultCSS}" />
# IE-Workaround Stylesheet
20 = TEXT
20.value (
<!-- IE and standards... It seems impossible. -->
<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css"
href="{$pathToDefaultCSS" />
<![endif]-->
)
90 < temp.mainTemplate
}
BR,
Alex
-----Original Message-----
From: typo3-english-bounces at lists.netfielders.de
[mailto:typo3-english-bounces at lists.netfielders.de] On Behalf Of NOBY KURIAN
Sent: 26 September 2005 16:00
To: typo3group
Subject: [Typo3] Typo3+Netscape
Hi all
I have developed a portal in typo3 which works fine
on all versions of IE.But the whole alignment is
changed when i tried to open it in netscape.The
changes are reflected especially for the css and menu
which is being generated by typoscript.
could anyone suggest some ideas so that the portal
will work fine for netscape also.
Thanks in advance
Noby
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
Typo3-english mailing list
Typo3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
More information about the TYPO3-english
mailing list