1. #1
    Sencha User
    Join Date
    Jan 2009
    Posts
    29
    Vote Rating
    0
    jerrel is on a distinguished road

      0  

    Default ext.window title formatting

    ext.window title formatting


    Hi Friends,

    Im trying to format the the title bar of an ext.window panel.

    I created the following css

    Code:
    #titlebar 
    {
     font-family: Tahoma, Geneva, sans-serif;
     font-size: 20px;
     font-style: normal;
     font-weight: bold;
    }
    And used these htm tags inmy title config.

    Code:
    title: '<div id="titlebar" align="center">WEBSMS</div>',
    The only formating that works, is the align=center.
    The text is not resized and formated.

    Any idea how i can get this fixed ?

    regards

    J
    Last edited by VinylFox; 15 Jan 2010 at 5:13 AM. Reason: added CODE tags

  2. #2
    Sencha - Community Support Team VinylFox's Avatar
    Join Date
    Mar 2007
    Location
    Baltimore, MD
    Posts
    1,501
    Vote Rating
    7
    VinylFox will become famous soon enough VinylFox will become famous soon enough

      0  

    Default


    That should work just fine.

    You sure your style is actually included on the page?

  3. #3
    Sencha User
    Join Date
    Jan 2009
    Posts
    29
    Vote Rating
    0
    jerrel is on a distinguished road

      0  

    Default


    Hi yes.
    These are the styles i have on top of my page

    <style type="text/css">
    #events-log {
    font-family : courier, monospace;
    border : 2px solid blue;
    width : 100%;
    height : 50px;
    background : black;
    color : white;
    overflow : auto;
    white-space : pre;
    }
    #events-log .title {
    color : yellow;
    font-weight : bold;
    }

    .upload-icon {
    background: url('examples/shared/icons/fam/image_add.png') no-repeat 0 0 !important;
    }


    #titlebar {
    font-family: Verdana, Geneva, sans-serif;
    font-size: 20px;
    font-style: normal;
    }
    </style>

    I also tried using a class, but no luck

  4. #4
    Sencha - Community Support Team VinylFox's Avatar
    Join Date
    Mar 2007
    Location
    Baltimore, MD
    Posts
    1,501
    Vote Rating
    7
    VinylFox will become famous soon enough VinylFox will become famous soon enough

      0  

    Default


    Can you inspect it with FireBug to see if the CSS is being applied properly to your element.

    PS. Use code tags in your posts please.

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar