Re: id bodyContent in documents not in news items

Michael Zeltner <[email protected]>
Newsgroups gmane.comp.web.zope.plone.design
Message-ID <[email protected]>
Jan Ulrich Hasecke wrote:
> Hi,

hey jan.

> I made a ploneCustom.css with this definition:
> 
> #bodyContent img {float:left; padding-right:1em}
> 
> to let images float left from text. This works in documents.
> 
> But in News Items there is no bodyContent. So I tried with
> content. This also works. But I don't feel good, because content does
> not only refer to the real main text but to the whole news item incl
> title, description etc.

i guess id="bodyContent" will be removed in 2.1 since it doesn't include 
any functionality. it has a general purpose that you can use with other 
classes for all documents. it's called .documentContent.

you don't need to identify every part of the document directly.

.documentContent p img is as good as #bodyContent img ;)

> Wouldn't it be better, when there is an id bodyContent in news items, too?

so no this isn't necessary ;)

thanks for pointing out a bug though, seems like the highlight code just 
works for documents, and not for anything else.

michael

PS: woohoo! this list grows!
-- 
niij° <http://niij.org/>



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.