View Full Version : Printing : holding relative blocks together

01-10-2008, 06:43 PM

I would like to hold relative lists with their heading together.

I mean by this, i do not want the lists to drop to another page when printing, thus breaking the flow.

My first idea was to include a spacer to the left. But since every lists are longer or shorter, i don't see how can i deal with that. Or height:100% ?

Here is my current HTML. Some lists can go up to 8 rows, but never more. The heading has the 'type' class.

<td><img src="i/flash.gif" alt="Cl&eacute; USB" /></td>
<li class="type">Cl&eacute;s USB</li>
<li>A-Data 1GB USB Flash Drive <span>14,95$</span></li>
<li>A-Data 2GB USB Flash Drive <span>19,95$</span></li>

I'd like to hear about you guys, thanks !

Sorry for the english, as it is my secondary language!

01-12-2008, 03:50 AM
^ bump