php.de

Zurück   php.de > Webentwicklung > HTML, Usability und Barrierefreiheit

HTML, Usability und Barrierefreiheit Themen rund um Textauszeichnung, Formatierung, Barrierefreiheit und Usability.

Antwort
 
LinkBack Themen-Optionen Thema bewerten
Alt 18.09.2011, 22:16  
Neuer Benutzer
 
Registriert seit: 18.09.2011
Beiträge: 5
PHP-Kenntnisse:
Anfänger
Termin1a befindet sich auf einem aufstrebenden Ast
Standard Mit wachsende liste auf einer Seite

Hi, ich versuch gerade meinem Vater die Arbeit bisschen zu erleichtern,
ich bin nun schon seit Wochen auf der suche ihn ein POS system einzurichten..

nach ewiger zeit habe ich eins gefunden was ausreicht.. nur jetzt habe ich das letzte problem.

in einer liste erscheinen alle getätigten Verkäufe, nur wenn die liste länger wird, wird eine (nicht druckbarer) scrolliste erstellt. was nicht so gut ist da dann die hälfte fehlt...

das skript:

PHP-Code:
USt<?php
/*
  PHPWPos, Open Source Point-Of-Sale System
  http://phpwpos.ptwebserve.com

  Copyright (c) 2006 Moisés Sequeira

  Released under the GNU General Public License
*/

session_start();
if(!isset(
$_SESSION['admin']) && !isset($_SESSION['user'])){
header("Location:index.php");
}

include(
"config.php");
include(
"languages/" .POS_DEFAULT_LANGUAGE .".php");
require_once(
"database.php");
$db = new database($dbhost,$dbuser,$dbpassword,$dbname);

?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style>
*{font-family:arial, helvetica, sans-serif;font-size:12px;}
@media print{#top{display:none;}}
small{font-size:10px;color:#788;}
body{margin:0px;background:#f5f9ff;}
th{background:248;color:fff;}
#top {background:#9cf;border-bottom:solid 1px #248;}
#menu td{border-left:solid 1px #788;width:60px;cursor:hand;
text-align:center;color:248;font-weight:bold;}
#sale_info{margin-top:10px;height:220px;overflow:auto;}
#sale_info td{}
#total b{color:#922;font-size:14px;}
</style>

</head>
<body>
<table id="top" width="100%" cellpadding=0">
<tr>
<td>&nbsp;</td>
<td align="right">
<table id="menu"><tr><td onClick="window.print()">Print</td><td onClick="window.close()">Close</td></tr></table>
</td>
</tr>
</table>

<?php
$sql 
"select date, sale_sub_total, sale_total_cost from sales where id=" .$_GET['id'];
$result $db->query($sql);
$sales_info mysql_fetch_row($result);
?>
<div id="sale_info">
<small><?php echo $sales_info[0]; ?></small>
<hr>
<table width="100%" cellspacing="0">
<?php
$sql 
"select item_name, quantity_purchased, item_total_cost from sales_items, items where sales_items.item_id=items.id and sale_id=" .$_GET['id'];
$result $db->query($sql);
while(
$sales_items mysql_fetch_row($result)){
?><tr><td width="40" align="left"><?php echo $sales_items[1]; ?></td><td align="left"><?php echo $sales_items[0]; ?></td><td width="50" align="right"><?php echo $sales_items[2]; ?></td></tr><?php
}
?>
</table>
</div>
<hr>
<table width="100%" cellpadding=0">
<tr>
<td>Ust: <b><?php echo $sales_info[2]-$sales_info[1]; ?></td>
<td id="total" align="right">Total: <b><?php echo $sales_info[2]; ?></b></td>
</tr>
</table>
</body>
</html>
wie kann man das komplett anzeigen?

wie ihr hier seht ist noch genügend platz nach unten...



kann mir einer bitte da nen tipp geben?

Lg Andi
Termin1a ist offline   Mit Zitat antworten
Sponsor Mitteilung
PHP Code Flüsterer

Registriert seit: 21.08.2005
Beiträge: 4682
PHP-Kenntnisse:
Fortgeschritten

Alt 18.09.2011, 22:39  
Moderator¹
 
Registriert seit: 28.03.2010
Beiträge: 7.470
PHP-Kenntnisse:
Fortgeschritten
ChrisB ist ein wunderbarer AnblickChrisB ist ein wunderbarer AnblickChrisB ist ein wunderbarer AnblickChrisB ist ein wunderbarer AnblickChrisB ist ein wunderbarer AnblickChrisB ist ein wunderbarer AnblickChrisB ist ein wunderbarer Anblick
Standard

Absolut kein PHP-Problem, *verschieb*

Nimm halt im CSS bei #sale_info die Höhe und das overflow raus …
__________________
RGB is totally confusing - I mean, at least #C0FFEE should be brown, right?
ChrisB ist offline   Mit Zitat antworten
Alt 18.09.2011, 22:45  
Neuer Benutzer
 
Registriert seit: 18.09.2011
Beiträge: 5
PHP-Kenntnisse:
Anfänger
Termin1a befindet sich auf einem aufstrebenden Ast
Standard

danke für die schnelle Hilfe,

ich habe die CSS Datei offen und die höhe gelöscht geht aber immer no net.
bitte verzeih mir das ich net so den plan davon habe.. CSS Code:

PHP-Code:
body{background:#e8e8e8;margin:0px;}
*{font-family:arialhelveticasans-serif;font-size:12px;color:#222;}
a img{border:0px;}
inputselecttextarea{border:solid 1px #788;color:#424c65;}
small{font-size:10px;color:#424c65;}
th{background:#206080;color:#ffffff;padding:2px;border-top:solid 1px #f8f8f8;border-bottom:solid 1px #788;}
th b{color:#fff;}
.stronglink{color:#248;font-size:13px;font-weight:bold;}
.blt{color:#9ab;}
.loginform{border-top:solid 1px #6090c3;border-bottom:solid 1px #6090c3;margin-top:20px;}
.tlogin{width:400px;background:url(images/loginbg.jpg);}
#header td{background:#6090c3;color:#ffffff;}
#footer td, #footer a{background:#6090c3;color:#ffffff;font-size:10px;text-decoration:none;}
#header h4{font-size:18px;color:#ffffff;margin-bottom:0px;}
#adminmenu{background:#ecf1f8;border-bottom:solid 1px #6090c3;}
#adminmenu a{margin-right:10px;display:block;text-decoration:none;color:#204060;font-weight:bold;}
#adminmenu a:hover{color:#902020;}
.admin_content{margin-top:20px;padding:10px;}
td.tvalue{border-top:solid 1px #f8f8f8;border-bottom:solid 1px #788;background:#e8ecf3;padding:2px;}
td.btvalue{border-top:solid 1px #f8f8f8;border-bottom:solid 1px #788;background:#e8ecf3;padding:2px;font-size:14px;}
td.btvalue a{font-size:14px;text-decoration:none;color:#222;}
td.btvalue a:hover{color:#902020;}
td.tvalue_lnk{border-top:solid 1px #f8f8f8;border-bottom:solid 1px #788;background:#e8ecf3;padding:2px;cursor:pointer;}
#hdr_report{padding:4px;border-top:solid 1px #ccc;border-bottom:solid 1px #ccc;}
.pset{border:solid 1px #788;background:#f1f3ff;width:14px;}
.pset a{text-decoration:none;font-weight:bold;display:block;height:14px;text-align:center;color:#248;}
#pageset *{font-size:11px;}

/***
Sales frontend
***/
#fe_sales{border:solid 2px #6090c3;}
#fe_sales form{margin-bottom:0px;}
td.keybn{width:64px;height:64px;padding:0px;text-align:center;border:solid 1px #788;background-image:url(images/keybn.png);cursor:pointer;}
td.keybn_click{width:64px;height:64px;padding:0px;text-align:center;border:solid 1px #788;background-image:url(images/keybn2.png);cursor:pointer;}
td.keybh{width:128px;height:64px;padding:0px;text-align:center;border:solid 1px #788;background-image:url(images/keybh.png);cursor:pointer;}
td.keybh_click{width:128px;height:64px;padding:0px;text-align:center;border:solid 1px #788;background-image:url(images/keybh2.png);cursor:pointer;}
td.keybv{font-size:10px;width:64px;height:128px;padding:0px;text-align:center;border:solid 1px #788;background-image:url(images/keybv.png);cursor:pointer;}
td.keybv_click{font-size:10px;width:64px;height:128px;padding:0px;text-align:center;border:solid 1px #788;background-image:url(images/keybv2.png);cursor:pointer;}
#sales_items{;overflow:auto;border:solid 1px #788;}
#tbl_sitems tr.selected td.tvalue{background:#cc8022;}
#sales_items td.tvalue{padding:0px;padding-left:2px;}
.inp2{text-align:right;}
td.scurrency1td.scurrency2{width:80px;text-align:right;border:solid 1px #788;font-weight:bold;}
td.scurrency1{color:#555;}
td.scurrency2{color:#922;}
#fe_categories{border:solid 2px #6090c3;height:100%;}
table.tabcategory{width:100px;height:100px;border:solid 1px #cccccc;margin:5px;float:left;text-align:center;cursor:pointer;}
#fe_items{border:solid 2px #6090c3;height:100%;}
table.tabitem{width:100px;height:100px;border:solid 1px #cccccc;margin:5px;float:left;text-align:center;cursor:pointer;}
#customerDiv0, #customerDiv1, #customerDiv2, #customerButton{border:solid 1px #778;}
#customerDiv0{width:410px;height:18px;}
#customerButton{width:100px;height:20px;}
#customerDiv1, #customerDiv2{padding:5px;position:absolute;width:500px;border:solid 1px #788;margin-top:-1px;overflow:auto;display:none;background:#f1f3f5;}
#customer_menu{text-align:right;border-bottom:solid 1px #ccc;margin-bottom:4px;}
#customer_menu a{text-decoration:none;}
#customer_menu a:hover{color:#922;}
#findcustomertext{width:300px;}
#tfinalsale td{border:solid 1px #ccc;}
b.tdtotal{color:#922;}
#salediv{margin:20px;}
.sale_value{border:0px;text-align:right;} 
da habe ich schon die "hight" gelöscht...

das is die originale:
PHP-Code:
body{background:#e8e8e8;margin:0px;}
*{font-family:arialhelveticasans-serif;font-size:12px;color:#222;}
a img{border:0px;}
inputselecttextarea{border:solid 1px #788;color:#424c65;}
small{font-size:10px;color:#424c65;}
th{background:#206080;color:#ffffff;padding:2px;border-top:solid 1px #f8f8f8;border-bottom:solid 1px #788;}
th b{color:#fff;}
.stronglink{color:#248;font-size:13px;font-weight:bold;}
.blt{color:#9ab;}
.loginform{border-top:solid 1px #6090c3;border-bottom:solid 1px #6090c3;margin-top:20px;}
.tlogin{width:400px;background:url(images/loginbg.jpg);}
#header td{background:#6090c3;color:#ffffff;}
#footer td, #footer a{background:#6090c3;color:#ffffff;font-size:10px;text-decoration:none;}
#header h4{font-size:18px;color:#ffffff;margin-bottom:0px;}
#adminmenu{background:#ecf1f8;border-bottom:solid 1px #6090c3;}
#adminmenu a{margin-right:10px;display:block;text-decoration:none;color:#204060;font-weight:bold;}
#adminmenu a:hover{color:#902020;}
.admin_content{margin-top:20px;padding:10px;}
td.tvalue{border-top:solid 1px #f8f8f8;border-bottom:solid 1px #788;background:#e8ecf3;padding:2px;}
td.btvalue{border-top:solid 1px #f8f8f8;border-bottom:solid 1px #788;background:#e8ecf3;padding:2px;font-size:14px;}
td.btvalue a{font-size:14px;text-decoration:none;color:#222;}
td.btvalue a:hover{color:#902020;}
td.tvalue_lnk{border-top:solid 1px #f8f8f8;border-bottom:solid 1px #788;background:#e8ecf3;padding:2px;cursor:pointer;}
#hdr_report{padding:4px;border-top:solid 1px #ccc;border-bottom:solid 1px #ccc;}
.pset{border:solid 1px #788;background:#f1f3ff;width:14px;}
.pset a{text-decoration:none;font-weight:bold;display:block;height:14px;text-align:center;color:#248;}
#pageset *{font-size:11px;}

/***
Sales frontend
***/
#fe_sales{border:solid 2px #6090c3;}
#fe_sales form{margin-bottom:0px;}
td.keybn{width:64px;height:64px;padding:0px;text-align:center;border:solid 1px #788;background-image:url(images/keybn.png);cursor:pointer;}
td.keybn_click{width:64px;height:64px;padding:0px;text-align:center;border:solid 1px #788;background-image:url(images/keybn2.png);cursor:pointer;}
td.keybh{width:128px;height:64px;padding:0px;text-align:center;border:solid 1px #788;background-image:url(images/keybh.png);cursor:pointer;}
td.keybh_click{width:128px;height:64px;padding:0px;text-align:center;border:solid 1px #788;background-image:url(images/keybh2.png);cursor:pointer;}
td.keybv{font-size:10px;width:64px;height:128px;padding:0px;text-align:center;border:solid 1px #788;background-image:url(images/keybv.png);cursor:pointer;}
td.keybv_click{font-size:10px;width:64px;height:128px;padding:0px;text-align:center;border:solid 1px #788;background-image:url(images/keybv2.png);cursor:pointer;}
#sales_items{height:150px;overflow:auto;border:solid 1px #788;}
#tbl_sitems tr.selected td.tvalue{background:#cc8022;}
#sales_items td.tvalue{padding:0px;padding-left:2px;}
.inp2{text-align:right;}
td.scurrency1td.scurrency2{width:80px;text-align:right;border:solid 1px #788;font-weight:bold;}
td.scurrency1{color:#555;}
td.scurrency2{color:#922;}
#fe_categories{border:solid 2px #6090c3;height:100%;}
table.tabcategory{width:100px;height:100px;border:solid 1px #cccccc;margin:5px;float:left;text-align:center;cursor:pointer;}
#fe_items{border:solid 2px #6090c3;height:100%;}
table.tabitem{width:100px;height:100px;border:solid 1px #cccccc;margin:5px;float:left;text-align:center;cursor:pointer;}
#customerDiv0, #customerDiv1, #customerDiv2, #customerButton{border:solid 1px #778;}
#customerDiv0{width:410px;height:18px;}
#customerButton{width:100px;height:20px;}
#customerDiv1, #customerDiv2{padding:5px;position:absolute;width:500px;border:solid 1px #788;margin-top:-1px;height:380px;overflow:auto;display:none;background:#f1f3f5;}
#customer_menu{text-align:right;border-bottom:solid 1px #ccc;margin-bottom:4px;}
#customer_menu a{text-decoration:none;}
#customer_menu a:hover{color:#922;}
#findcustomertext{width:300px;}
#tfinalsale td{border:solid 1px #ccc;}
b.tdtotal{color:#922;}
#salediv{margin:20px;}
.sale_value{border:0px;text-align:right;} 
lg und danke
Termin1a ist offline   Mit Zitat antworten
Alt 19.09.2011, 01:15  
Neuer Benutzer
 
Registriert seit: 18.09.2011
Beiträge: 5
PHP-Kenntnisse:
Anfänger
Termin1a befindet sich auf einem aufstrebenden Ast
Standard

Hat sich erledigt,

danke für die schnelle und gute Hilfe
Termin1a ist offline   Mit Zitat antworten
Antwort


Themen-Optionen
Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an
Gehe zu

Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
Eure Meinung zum Design einer Seite :) Jonny2010 Off-Topic Diskussionen 16 14.04.2011 22:03
Style bei jeder Mit wachsende liste auf einer Seite Rutor PHP Einsteiger 2 07.04.2011 19:41
---Formularvariablen an 2. Seite übergeben und versenden--- Paiden2511 PHP Tipps 2010 14 30.07.2010 01:46
Seite für mobile Handy-Browser anpassen gruber99 PHP-Fortgeschrittene 14 25.01.2010 16:08
CURL in Seite einloggen und einen Teil parsen Matt PHP Tipps 2008 8 03.09.2009 22:30
Seite nicht mehr gültig Igäl PHP Tipps 2006 3 25.05.2006 16:08
[Erledigt] Wetten automatisch von anderer Seite beziehen PHP Tipps 2006 11 03.03.2006 09:09
Folge Seite öffnet nicht PHP Tipps 2006 4 16.02.2006 18:25
Mit post an weitere Seite oder 2 Seiten übergeben? PHP Tipps 2005 1 02.02.2005 12:16
[Erledigt] Liste in Textarea einfügen HTML, Usability und Barrierefreiheit 0 03.01.2005 19:16
[Erledigt] php+Seite kann nicht angeziegt werden, Seite existiert aber Server, Hosting und Workstations 2 09.09.2004 08:21
Eine 2te Seite auto matisch in neuem Fenster laden PHP Tipps 2004 4 25.08.2004 14:10
[Erledigt] Tabelle auf einer Seite auslesen und in meiner Seite wiederg PHP Tipps 2004 2 14.07.2004 08:46
"NEWS-SCRIPT" in eine Seite einbinden: Aber wie ? PHP Tipps 2004 2 03.07.2004 16:33


Alle Zeitangaben in WEZ +2. Es ist jetzt 07:35 Uhr.




Powered by vBulletin® Version 3.7.2 (Deutsch)
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Aprilia-Forum, Aquaristik-Forum, Liebeskummer-Forum, Zierfisch-Forum, Geizkragen-Forum