Monday, December 19, 2011

Trivial layout / css problem: text wider than background

I have a body (text) field which is displayed in a view. The problem
with the default layout is that the text is wider than the coloured
background of the alternate row (I can mail you a picture if you
like).
The class is as follows:
<dd class="altrow">

.. which is within a <dl> tag.

I would like the background to extend as far to the right as does the
text. I don't know what to change in the css to do this.

Thanks.

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate