By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,487 Members | 1,067 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,487 IT Pros & Developers. It's quick & easy.

page break in datalist

P: 5
I'm using datalist and in separator template i added
<p style="PAGE-BREAK-AFTER: always">
Is there a way to make the page-break work in firefox ?
It works fine in ie6
Apr 16 '07 #1
Share this Question
Share on Google+
5 Replies


jhardman
Expert 2.5K+
P: 3,405
I'm using datalist and in separator template i added
<p style="PAGE-BREAK-AFTER: always">
Is there a way to make the page-break work in firefox ?
It works fine in ie6
This is really a css question. Although I have some ideas, I think the experts in this forum will do a better job answering.

Jared
Apr 16 '07 #2

drhowarddrfine
Expert 5K+
P: 7,435
I guess this is an IE only thing since I've never heard of it. Have you tried a <br />?
Apr 18 '07 #3

jhardman
Expert 2.5K+
P: 3,405
page break only refers to printed media. It was included in css as of HTML 4.0.. That does not mean that all browsers support it, but I'm surprised that ie gets it and firefox does not. Have you passed it through a validator? (See the stickies at the top of this forum, make sure you go thru the css validator.)

Jared
Apr 26 '07 #4

drhowarddrfine
Expert 5K+
P: 7,435
Well, I'll be. There is such a thing in CSS. I was totally unaware. I need to review the specs. In any case, page-break-after:always is supported by both FF and IE.

If the original poster still wants help with this then we need to see the code or a link. I'm wondering if simply switching to lower case would solve this.
Apr 26 '07 #5

KevinADC
Expert 2.5K+
P: 4,059
page break only refers to printed media. It was included in css as of HTML 4.0.. That does not mean that all browsers support it, but I'm surprised that ie gets it and firefox does not. Have you passed it through a validator? (See the stickies at the top of this forum, make sure you go thru the css validator.)

Jared

Last I ever checked the page properties applied to visual and printed documents. But only block level elements. Without seeing the OP's code there is really no way to tell and it looks like he no longer cares about his question.
Apr 26 '07 #6

Post your reply

Sign in to post your reply or Sign up for a free account.