Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

.break causing space problems

Status
Not open for further replies.

yippiekyyay

Programmer
Oct 26, 2002
186
CA
Hello forum,

looking here before, I came across this little bit of code:
<STYLE TYPE=&quot;text/css&quot;>
<!--
.break {page-break-before: always;}
-->
</STYLE>

and then placing: <p CLASS=&quot;break&quot;></p> whereever you need a page break.

This works awesome on my pages (it's for an intranet site - so I know MSE6.0 can handle the page breaks) with the exception of one I'm trying to do now. As soon as you take out the &quot;.&quot; from the .break, the browser will ignore it as expected. Putting it back though creates a HUGE space at the top of the first 2 pages!

I don't get what I could be missing - it's the same code from other pages!

Any help would be greatly appreciated!

-Sean
 
Solved it! For anyone interested: I had placed the page break within a table.

-Sean
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top