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 #1484 is a reply to message #1462] Tue, 16 April 2002 20:22 Go to previous messageGo to previous message
snafu is currently offline  snafu   United States
Messages: 27
Registered: April 2002
Karma:
Junior Member
Here are the steps to reproduce the bug, assuming that you have created a layout called header_2.inc and set it as default layout:

  1. Edit both header_1.inc and header_2.inc in a text editor, adding the following styles:
    th { /* Table Header */
    text-align: left;
    background-color: black;
    color: white;
    }
    th a:link { /* Table Header Link */
    color: white;
    }

    It is important that one of the selectors be a contextual selector, containing a space (th a:link). Save the changes.
  2. Go to the forums and verify that these styles are included in the page. (May have to view source)
  3. Open header 2 in the style admin tool and confirm that these styles are displayed properly, with the comment appearing as the form field label and the style rules appearing in the form field.
  4. Press the 'update' button in the style admin tool, thus submitting the form without making any changes.
  5. Go to the forums and verify that the new styles are altered in the following way:
    th { /* Table Header */
    text-align: left;
    background-color: black;
    color: white;
    }
    th a:link { /* Table Header Link */

    }

    (may have to view source)
  6. Open header 2 in the style admin tool and confirm that these changes are visible, i.e. the Table Header Link field is now blank.
  7. Optionally, open header_1.inc and header_2.inc in the text editor and confirm that header 1 was not changed whereas header 2 was changed.


I've replicated the bug numerous times, and it only affects contextual selectors. Also, feel free to move this thread to the "Bug Reports" forum.
[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: Fri Nov 22 16:38:57 GMT 2024

Total time taken to generate the page: 0.04913 seconds