FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » Add Custom CSS Styles?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Add Custom CSS Styles? [message #1396 is a reply to message #1389] Thu, 11 April 2002 21:31 Go to previous messageGo to previous message
snafu is currently offline  snafu   United States
Messages: 27
Registered: April 2002
Karma:
Junior Member
I tried this out, and it worked for 1 out of 4 of my new styles. I created the following styles in header_1.inc and header_4.inc:

th { /* label here */
foo:bar;
}
th a:link { /* label here */
foo:bar;
}
th a:visited { /* label here */
foo:bar;
}
th a:hover { /* label here */
foo:bar;
}

THe first one worked. The other three were saved through subsequent uses of the style manager, but the actual style rules were erased, leaving an empty selector:

th a:link { /* label here */

}

I tried rearranging their order, but these same three would be erased every time. I also checked their syntax and made sure all beginning and ending brackets were correct, etc, but I continued to get the same behavior.

My theory is that these styles are being emptied out because their selectors are contextual (i.e. multiple elements separated by spaces) and the php code that parses the styles must be tripping over the spaces in the contextual selectors. Also, none of the style selectors in the file are contextual except for these three.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Level Manager Error
Next Topic: Problem in return to parent
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 05:36:10 GMT 2024

Total time taken to generate the page: 0.03807 seconds