fixing bug in css with the use of divs instead of page breaks