- This topic is empty.
-
AuthorPosts
-
September 14, 2016 at 10:20 am #245557
Larry1234
ParticipantMy report in php should be 121 records long but only shows the first 25 I am new to css and have been trying to solve this issue Here is the statment in php for the loop
<?php while ($data = mysql_fetch_array($project)){ ?>
There is nothing in the loop that will affect thisThe php script is refers to the report css as below
<title>Work Order Reports</title>
<link rel=”stylesheet” href=”assets/css/report.css”>Here is the report.css file.
I would like to Know how to make the report show all of the records
Any help would be appreciated.Thanks Larry1234
{ border: 1px; font-size: 11px; list-style: none; margin: 1px 1px 1px 1px; padding: 0; text-decoration: none; vertical-align: top; }
h1 { font: bold 100% sans-serif; letter-spacing: 0.5em; text-align: center; text-transform: uppercase; }
/table { font-size: 75%; table-layout: fixed; width: 100%; }/
table { font-size: 75%; table-layout: auto; heigth: 100% width: 100%; }
table { border-collapse: separate; border-spacing: 2px; }
th, td { border-width: 1px; padding: 0.5em; position: relative; text-align: left; }
th, td { border-radius: 0.100em; border-style: solid; }
/th, td { border-radius: 0.25em; border-style: solid; }/
th { background: #EEE; border-color: #BBB; }
td { border-color: #DDD; }
html { font: 16px/1 ‘Open Sans’, sans-serif; overflow: auto; }
html { background: #999; cursor: default; }
/body { box-sizing: border-box; height: 11in; margin: 2px auto; overflow: hidden; padding: 0.5in; width: 8.4in; }/
content {height: Auto;}
/body { box-sizing: border-box; height: 100vh; margin: 2px auto; overflow: hidden; padding: 0.5in; width: 8.4in; }*/
body { box-sizing: border-box; height: 100%; margin: 2px auto; overflow: hidden; padding: 100%; width: 8.4in; }body { background: #FFF; border-radius: 1px; box-shadow: 0 0 1in -0.25in rgba(0, 0, 0, 0.5); }
header { margin: 0 0 3em; }
header:after { clear: both; content: “”; display: table; }
header h1 { background: #000; border-radius: 0.25em; color: #FFF; margin: 0 0 1em; padding: 0.5em 0; }
header address { float: left; font-size: 75%; font-style: normal; line-height: 1.25; margin: 0 1em 1em 0; }
.myaddress p { margin: 0 0 0.25em; }
header span, header img { display: block; float: right; }
header span { margin: 0 0 1em 1em; max-height: 100%; max-width: 60%; position: relative; }
/header span { margin: 0 0 1em 1em; max-height: 25%; max-width: 60%; position: relative; }/
header img { max-height:100%; max-width: 100%; }
header input { cursor: pointer; -ms-filter:”progid:DXImageTransform.Microsoft.Alpha(Opacity=0)”; height: 100%; left: 0; opacity: 0; position: absolute; top: 0; width: 100%; }
article, article address, table.meta, table.item { margin: 0 0 3em; }
article:after { clear: both; content: “”; display: table; }
article h1 { clip: rect(0,0,0,0); position: absolute; }
article address { float: left; font-size: 100%; font-weight: bold; }
.my_address p{font-size: 160%; font-weight: bold; color:brown; }September 14, 2016 at 11:37 am #245559Beverleyh
ParticipantCSS cannot affect what is served to the web page. It is for presentation only. In other words, it affects how the page looks.
It is more likely that the PHP is somehow at fault. Try viewing the source code to see what records are being served. This way you can be sure that you are looking at only the generated markup. CSS will not affect the source of the web page, just the way it is visually presented in the browser.
September 15, 2016 at 4:42 am #245579Shikkediel
ParticipantJust some quick input without much research, try removing the
overflow: hidden
from here:body { box-sizing: border-box; height: 100%; margin: 2px auto; overflow: hidden; padding: 100%; width: 8.4in; }
Could be the output is there but you’re just not seeing it. It’s a bit hard to tell with these code dumps though. There seem to be a lot of invalid slashes in the style too.
September 15, 2016 at 10:14 am #245591Larry1234
ParticipantThanks for your input Shikkediel. I really appreciate your input. And yes that was what was wrong with it alright. This being marked as a good answer.
Thanks Again
-
AuthorPosts
- The forum ‘Back End’ is closed to new topics and replies.