?

Log in

No account? Create an account

Previous Entry | Next Entry

@import url

  • Feb. 18th, 2007 at 4:20 PM
I want to use the '@import url' CSS (you know, @import url("blank.css");) to call more than one stylesheet, but LiveJournal seems to strip this, for some ridiculous reason or another. Is there any way around this? I'd rather not convolute a single file with all the CSS, or the custom CSS entry box with a ton of CSS, either.

When I view the source, it says "/* suspect CSS: import rule */", which is ridiculous.

Comments

( 2 comments — Leave a comment )
camomiletea
Feb. 19th, 2007 01:01 am (UTC)
@import rule is prohibited for security reasons. There is no way around it. You will have to use a single file.
kunzite1
Feb. 19th, 2007 08:10 am (UTC)
not a ridiculous reason. i agree that it's an unhelpful error message.

basically, an off-site CSS document can include statements that execute javascript that can't be easily-parsed by LJ's servers. therefore, they disallow @import rules completely.
( 2 comments — Leave a comment )

Latest Month

March 2016
S M T W T F S
  12345
6789101112
13141516171819
20212223242526
2728293031  

S2 Help Communities

Tags

Powered by LiveJournal.com
Designed by chasethestars