Re: column width
[email protected] Mon, 24 Jul 2006 06:16:36 -0700
| Newsgroups | gmane.comp.web.zope.plone.design |
|---|---|
| Message-ID | <20060724061636.b8e7f5ed52fa6380fc12d5c77a8761dd.fc6f9cc321.wbe@email.secureserver.net> |
Is a little bit more complicated than this.
The best way to understand what defines the colunms width is take a
closer look at columns.css (at plone_styles or plone_tableless folder).
To work fine in all variations (with one, two or three columns) you have
to do this:
#portal-column-content { margin-left: -200px;}
#portal-column-content #content { margin-left: 200px; }
#portal-column-one { width: 200px; }
.visualColumnHideTwo #portal-column-content #content {margin-left:
200px;}
this is a plone tableless exemple, but i think is very similar in plone
default
[]s
Andre Nogueira
> -------- Original Message --------
> Subject: Re: [Plone-design] column width
> From: Ben Osman <ben.nospam-To4I4uWENgvqlBn2x/[email protected]>
> Date: Sun, July 23, 2006 11:38 pm
> To: [email protected]
>
> Janosch Peters wrote:
> > Hi guys,
> >
> > I'm trying to setup my own skin-product. I'd like to set the width of
> > the first column. I tried this:
> >
> > #portal-column-one {
> > width: 200px;
> > }
> >
> > With both Plone Default and Plone Tableless as Base this style
> > definition had no effect. Any ideas?
> >
>
>
> You could try adding an important declaration to it:
>
> #portal-column-one {
> width: 200px !important;
> }
>
> Or set the column width in the base properties file.
>
> hth
>
> Ben
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Plone-design mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/plone-design
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV