Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jun 2007
    Location
    Quebec, Canada
    Posts
    64
    Thanks
    4
    Thanked 3 Times in 3 Posts

    Printing : holding relative blocks together

    Hi,

    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.

    Code:
              <tr>
                <td><img src="i/flash.gif" alt="Cl&eacute; USB" /></td>
                <td><ul>
                    <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>
                  </ul></td>
              </tr>
    I'd like to hear about you guys, thanks !

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

  • #2
    New Coder
    Join Date
    Jun 2007
    Location
    Quebec, Canada
    Posts
    64
    Thanks
    4
    Thanked 3 Times in 3 Posts
    ^ bump


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •