Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Article Manager 2:
@import css line in AM2 templates

 

 


m's
Novice

Aug 17, 2009, 8:51 AM

Post #1 of 3 (2128 views)
Shortcut
@import css line in AM2 templates Can't Post

Hi guys, I need my templates to function on windows 95 os with cruddy old browsers (on ships) thought the best way was to use the css @import line, so that the older browsers will ignore the style sheet and load a text page instead!

as:

<style title="currentStyle" media="screen">
@import "$settings.webfolder_url$style/default.css" type="text/css";
</style>

Though, I cant get this to work in the published version..

any thoughts on this?

Thanks,

David


Donna
Staff / Moderator


Aug 18, 2009, 11:45 AM

Post #2 of 3 (2075 views)
Shortcut
Re: [m's] @import css line in AM2 templates [In reply to] Can't Post

Hi there!

That looks like it should work -- what happens when you use this code?

Donna

--
support@interactivetools.com


m's
Novice

Aug 18, 2009, 12:32 PM

Post #3 of 3 (2071 views)
Shortcut
Re: [m's] @import css line in AM2 templates [In reply to] Can't Post

Hi Donna,

Well...the style sheet doesn't load (i.e the browser is unable to locate the file path)

Maybe I should enter the the full URL path or use the up directory line ../../

Anyway will give it a shot!

thanks

David