473,383 Members | 1,863 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

page break in datalist

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
5 4266
jhardman
3,406 Expert 2GB
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
7,435 Expert 4TB
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
3,406 Expert 2GB
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
7,435 Expert 4TB
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
4,059 Expert 2GB
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

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

Similar topics

3
by: Barbara Alderton | last post by:
I recently wrote an ASP.NET app that used user controls. I produced a printer-friendly output form. One requirement was a pagebreak between one part of the form and another. I had no problem...
3
by: CVerma | last post by:
Hi, I have an embedded datagrid within a datalist. I am not able to perfrom paging in the datagrid. Any ideas? Here is my code: Here is my Simplegrid.cs file: using System; using...
0
by: Andrew Westgarth | last post by:
Hi all, i'm struggling with a page idea I have. I need to write a page with an A to Z list of available schools in the area. I only want to display the letters in the A to Z which have school...
0
by: Patrick Olurotimi Ige | last post by:
I want to insert checkbox Y/N or 1/0 into a SQL table. I know i can do that using a bit field or Char field. My Question is i have Datalist that lists products and i want to put this checkBoxes...
4
by: Dan | last post by:
Hi, I have an asp.net page i have made that creates an invoice based on the invoice id given. It works fine but the problem i have is i now want to loop through my database and grab all the...
3
by: Arpan | last post by:
Consider the following code: <form runat="server"> <asp:DataList ID="dlUsers" OnCancelCommand="CancelList" OnDeleteCommand="DeleteList" OnEditCommand="EditList" OnItemCommand="ItemList"...
2
by: jobs at webdos | last post by:
I have data that looks like this prodid fileid date where prodid repeats I want report like this prodid - fileid date
1
by: Salim | last post by:
Hi, I'm trying to get UniqueID of a linkbutton. I have 2 web user controls. And a master page. In fisrst web user control there is a datalist. In datalist ItemCreated event, I try to find...
1
by: Brock | last post by:
First note that I am using Framework 1.1. I have an .aspx page that is displaying a list of employees, but only the Employee Number, First Name, Last Name, and Title. It is working great. I...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.