CSS code - Width Change

  • Mouldfire
  • Born
  • Born
  • Mouldfire
  • Posts: 1

Post 3+ Months Ago

hi,

I have been given this CSS Code for the style of a menu and want to change the width of the menu:

Code: [ Select ]
/*!!!!!!!!!!! QuickMenu Core CSS !!!!!!!!!!!!!*/
.qmmc .qmdivider{display:block;font-size:1px;border-width:0px;border-style:solid;position:relative;z-index:1;}.qmmc .qmdividery{float:left;width:0px;}.qmmc .qmtitle{display:block;cursor:default;white-space:nowrap;position:relative;z-index:1;}.qmclear {font-size:1px;height:0px;width:0px;clear:left;line-height:0px;display:block;float:none !important;}.qmmc {position:relative;zoom:1;z-index:10;}.qmmc a, .qmmc li {float:left;display:block;white-space:nowrap;position:relative;z-index:1;}.qmmc div a, .qmmc ul a, .qmmc ul li {float:none;}.qmsh div a {float:left;}.qmmc div{visibility:hidden;position:absolute;}.qmmc .qmcbox{cursor:default;display:block;position:relative;z-index:1;}.qmmc .qmcbox a{display:inline;}.qmmc .qmcbox div{float:none;position:static;visibility:inherit;left:auto;}.qmmc li {z-index:auto;}.qmmc ul {left:-10000px;position:absolute;z-index:10;}.qmmc, .qmmc ul {list-style:none;padding:0px;margin:0px;}.qmmc li a {float:none}.qmmc li:hover>ul{left:auto;}#qm0 ul {top:100%;}#qm0 ul li:hover>ul{top:0px;left:100%;}
 
 
/*!!!!!!!!!!! QuickMenu Styles  !!!!!!!!!!!*/
 
 
    /* QuickMenu 0 */
 
    /*"""""""" (MAIN) Container""""""""*/   
    #qm0   
    {   
        background-color:#FFCC00;
        border-width:2px;
        border-style:solid;
        border-color:#FF0000;
    }
 
 
   
 
  1. /*!!!!!!!!!!! QuickMenu Core CSS !!!!!!!!!!!!!*/
  2. .qmmc .qmdivider{display:block;font-size:1px;border-width:0px;border-style:solid;position:relative;z-index:1;}.qmmc .qmdividery{float:left;width:0px;}.qmmc .qmtitle{display:block;cursor:default;white-space:nowrap;position:relative;z-index:1;}.qmclear {font-size:1px;height:0px;width:0px;clear:left;line-height:0px;display:block;float:none !important;}.qmmc {position:relative;zoom:1;z-index:10;}.qmmc a, .qmmc li {float:left;display:block;white-space:nowrap;position:relative;z-index:1;}.qmmc div a, .qmmc ul a, .qmmc ul li {float:none;}.qmsh div a {float:left;}.qmmc div{visibility:hidden;position:absolute;}.qmmc .qmcbox{cursor:default;display:block;position:relative;z-index:1;}.qmmc .qmcbox a{display:inline;}.qmmc .qmcbox div{float:none;position:static;visibility:inherit;left:auto;}.qmmc li {z-index:auto;}.qmmc ul {left:-10000px;position:absolute;z-index:10;}.qmmc, .qmmc ul {list-style:none;padding:0px;margin:0px;}.qmmc li a {float:none}.qmmc li:hover>ul{left:auto;}#qm0 ul {top:100%;}#qm0 ul li:hover>ul{top:0px;left:100%;}
  3.  
  4.  
  5. /*!!!!!!!!!!! QuickMenu Styles  !!!!!!!!!!!*/
  6.  
  7.  
  8.     /* QuickMenu 0 */
  9.  
  10.     /*"""""""" (MAIN) Container""""""""*/   
  11.     #qm0   
  12.     {   
  13.         background-color:#FFCC00;
  14.         border-width:2px;
  15.         border-style:solid;
  16.         border-color:#FF0000;
  17.     }
  18.  
  19.  
  20.    
  21.  


is the code to do this here or located somewhere else?

Thanks,
Mike
  • digitalMedia
  • a.k.a. dM
  • Genius
  • User avatar
  • Posts: 5149
  • Loc: SC-USA

Post 3+ Months Ago

Have you tried setting a with in this last bit?

Code: [ Select ]
/*"""""""" (MAIN) Container""""""""*/ 
    #qm0 
    { 
        background-color:#FFCC00;
        border-width:2px;
        border-style:solid;
        border-color:#FF0000;
        width:200px;
    }
  1. /*"""""""" (MAIN) Container""""""""*/ 
  2.     #qm0 
  3.     { 
  4.         background-color:#FFCC00;
  5.         border-width:2px;
  6.         border-style:solid;
  7.         border-color:#FF0000;
  8.         width:200px;
  9.     }

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 18 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.