[Cartoweb-users] Theme Folder Widths?

Alexandre Saunier alexandre.saunier at camptocamp.com
Wed Feb 28 09:00:11 EST 2007


Right.
And the width of the whole folders area (not just the tabs titles) is 
set in htdocs/css/cartoweb.css:

#leftbar {
   position: absolute;
   top: 45px;
   width: 250px; <================ !!
   padding:4px;
   padding-top:0;
   z-index: 3;
   background:transparent;
}

Don't forget to adapt this section as well:

#content {z-index: 0;margin-left: 258px;}

Oliver Christen wrote:
> Hi Brendan,
> the width is set by the text content by default.
> If you want to fix te width, simply add a css rule for the selected 
> tabs, for exemple:
> #label3 {
>   width: 30px;
> }
>  
> Regards,
> Oliver
> 
>     ----- Original Message -----
>     *From:* Brendan Walashek at GolfingVancouver.com
>     <mailto:brendwal at gmail.com>
>     *To:* cartoweb-users at lists.maptools.org
>     <mailto:cartoweb-users at lists.maptools.org>
>     *Sent:* Wednesday, February 28, 2007 12:28 AM
>     *Subject:* [Cartoweb-users] Theme Folder Widths?
> 
>     Can anyone tell me how to reduce the width of the Themes/Help
>     Viewer/Print etc. folders?  As seen on the demoCW3 layout.
>     Basically I want the width of these tab folders to take up less
>     space, and the map utilize more.
>     I can't find the file to change.
>     In folders.css I tried changing:
>      .folder select {max-width:210px;}
>     but it didn't seem to do anything if I reduced that value.
> 
>     -- 
>     Thanks,
>     Brendan Walashek
>     www.golfingvancouver.com <http://www.golfingvancouver.com>


More information about the Cartoweb-users mailing list