Hi again,

I was playing around with the Wt::WMenu widget when i found this.
I just thought i'd mention it. I was having a problem editing the margin-right
css property of a Wt::WMenu item with a Horizontal orientation.
All other properties seemed to work fine except for the margin-right css 
property.

When i looked at the html source code for the pages served by the wt server,
I found that when the Wt::WMenu is rendered an inline 
style="margin-right:5.0px;"
is set for the menu items. This prevents any changes attempted in an external 
style
sheet as inline styles have higher priority.

I have included a sample rendered Wt::WMenu html below. You'll notice the
inline css ( style="margin-right:5.0px;" ) which prevents from editing the right
margin of menu items. 

In my case i would have liked the margin at 0 i.e. have no spaces between
adjacent menu items.

I Hope this helps please let me know if i need to include more information.


    
        
            
                
                      Sample menu item A  
                         
                     
                         
                      Sample Menu item B 

                      
                
            
        
    
    
        
            this page shows all info related to sample menu item A 
        
        ...
    


_________________________________________________________________
Try Chicktionary, a game that tests how many words you can form from the 
letters given. Find this and more puzzles at Live Search Games!
http://g.msn.ca/ca55/207
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to