made to be ruled (morelen) wrote in component_help,
made to be ruled

  • Music:
I was able to get a custom component under my title bar and set it to the width I wanted (thanks kunzite1)...but it's aligned to the left. How can I center it?

if ($p.view=="recent") {

        # print the component header, and start it off like a normal entry component with no usericons or journal names

        """<div style="width: $k1Swidth;">""";



        # print the content of the custom component - eg. my welcome note. You can put whatever html you want here as long

        # as it's properly tagged and encompassed by the """ and """;

       """something will go here...eventually""";

        # close off the component and place a spacer.




It's probably ridiculously simple, but I just plain don't know how to do it :(

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened