Chrisj
Members-
Posts
551 -
Joined
-
Last visited
-
Days Won
1
Everything posted by Chrisj
-
I see these lines in the script I'm using. Can you tell me what they mean and what they do? Thanks <!--[onload_300;block=div;when [var.show_login_box]=1;comm]--> <!--[onload_337;block=div;when [var.show_login_box]!=1;comm]-->
-
I've made a matrix, 3 columns and 4 rows, that look and function well in IE7, but are all flush left in IE8. I'd greatly appreciate a solution so that it also looks well in IE8. Thanks
-
Thanks for your reply. Can you give me an example of a better solution that would work in both browsers? Thanks again
-
This table contents appears centered in IE7, but appears all the way to the left side of the table in IE8. Can you help me resolve this issue so it looks centered in IE8? Thanks <table id="tab999"> <tbody> <tr><td> <p><font face="verdana"><font size="3";font color=#800000;"><u>Purchase</u></font> <table> <tr> <td width="100px"><font size="3" color="#000000" face="Arial"> <u>Amount</u></font></td> <td width="100px"><u><font size="3" color="#000000" face="Arial">Cost</font></u></td> <td width="100px"><u><font size="3" color="#000000" face="Arial">Purchase</font></u></td> </tr> <tr> <td>[blk1.name;block=tr]</td> <td> 0.10 </td> <td> <form action="payment/paypal1.php" method="post"> <input type="hidden" value="[var.users_id]" name="usersid"> <input type="hidden" value="[blk1.credit_amt]" name="credit"> <input type="hidden" value="Item" name="item"> <input type="hidden" value="[blk1.value]" name="value"> <input type="image" value="[blk1.value]" name="value" src="https://www.paypal.com/checkout.gif" align="bottom" /> </form> </td> </tr> </table> </td></tr> </tbody> </table> CSS: #tab999 { width:770px; height:400px; float:center; clear:left; margin:0px 0px 0px 0px; font-size: 12px; padding:10px 10px 10px 10px; border:1px solid #153e7e; } #tab999 td { border: 1px solid #CACACA; padding:0px 0px 0px 0px; }
-
Thanks for your help. The file is not much longer than 5 lines, so I added it all below for your review. I look forward to your reply. <?php include_once ('../classes/config.php'); include_once ('../classes/functions.inc.php'); session_start(); $template = "../templates/main.htm"; $inner_template1 = "../templates/inner_paypal_success.htm"; //middle of page $TBS = new clsTinyButStrong; $TBS->NoErr = true; // no more error message displayed. $TBS->LoadTemplate("$template"); $TBS->MergeBlock('mp', $members_full); $TBS->Render = TBS_OUTPUT; $TBS->Show(); ?>
-
I had my web host move my site to another server. All looks well upon testing, but when I return from a test payment, from Paypal, I see this warning at the top of the page. I don't know what it means. Can you enlighten me as to what it means and how I might remedy it? Thanks Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/public_html/payment/paypal_success.php:2) in /home/public_html/classes/config.php on line 19
-
I'm testing a jukebox style container that displays video thumbnails in a paging/jukebox appearance on a web page. Can you tell me how I might make a change so the thumbnails don't appear randomly each time it displays? Here is the php dode. Thanks for any help/suggestions. <?php include("../classes/config.php");?> <artworkinfo> <? $query = "select * from videos where viewtime<>'0000-00-00 00:00:00' and public_private='public' AND approved ='yes' AND promoted ='yes' order by rand() limit 10"; // Max 10!"; $db=mysql_connect ($dbhost,$dbusername,$dbpassword) or die ('I cannot connect to the database because: ' . mysql_error()); mysql_select_db ($dbname); $num_rows = mysql_num_rows(mysql_query("select * from videos WHERE public_private = 'public' AND promoted = 'yes' AND approved ='yes'")); $result = mysql_query($query) or die ('Query Error: ' . mysql_error()); while ($results = mysql_fetch_array($result)) { ?> <albuminfo> <artLocation>../uploads/thumbs/<?=$results['video_id']; ?>.jpg</artLocation> <artist> CLICK HERE !!</artist> <albumName><?=$results['title']; ?></albumName> <artistLink>../play.php?vid=<?=$results['indexer']; ?>&src=jukebox</artistLink> <albumLink>../play.php?vid=<?=$results['indexer']; ?>&src=jukebox</albumLink> </albuminfo> <? } mysql_close(); ?> </artworkinfo>
-
Thanks for your replies. It looks fine to me too....in IE7, but I'm trying to correct it for IE6 viewers. Any thoughts? thanks
-
When I have <p></p> around some text, the text lines appear double-spaced. When I remove the <p></p> the text lines appear single-spaced. How can I have <p></p> around text and have the the text lines single-spaced? Thanks. Here is my code: <p class="section"><font size="2" color="#800000" face="Arial">Text</font><br/> Text and more text</p> .section { color:#000000; font-size: 12px; font-family:arial; clear:both; line-height: 90%; margin:5px 0px 0px 0px; }
-
Thanks again for all of your help. I'd like to also create a stand alone table, but when I used this code, it didn't appear like the previous ones that worked successfully. This new one Tab2 the cells all had their own borders, and it didn't have an overall border. Help please..thanks <table class="tab2"> <thead> <tr><th>Number</th><th class="red-text">Item</th></tr> </thead> <tbody> <tr><td>5</td><td>A</td></tr> <tr><td>Total</td><td>5A</td></tr> </tbody> </table> #tab2 { width:170px; float: left; text-align:center; margin:0 10px 0 0; padding: 5; border-collapse:collapse; border: 1px solid #000; } #tab2 th, .tab2 td { border: 1px solid #000; }
-
I've got this part: text-align:center; How about changing the color of just the word "Items" Thanks again. I've been using <font color="#800000">Items</font>, isn't there a better way?
-
Thank you, it displays correctly now, I must have copied it incorrectly. Thanks much. Would you be intersted in telling me how to correctly center the information inside the table? And how to change the color of the word "Items" correctly? Thank you again.
-
Thank you again for your assistance. I changed the css code to what you suggested (below), but now it seems the tables are aligned verically, instead of across the page, and they have no border, like this: Number Items 90 $5.00 Total $5.00 Number Items 90 $5.00 Total $5.00 Number Items 90 $5.00 Total $5.00 Number Items 90 $5.00 Total $5.00 Any additionall help will be appreciated. .tab1 { width:100px; float: left; margin:0 0 20px 0; padding: 0; border-collapse:collapse; border: 1px solid #000; } .tab1 th, .tab1 td { border: 1px solid #000; }
-
Thanks for all of your help. I have these tables now side by side, like this: <table id="tab1"> <thead> <tr><th>Number</th><th>Items</th></tr> </thead> <tbody> <tr><td>90</td><td>$5.00</td></tr> <tr><td>Total</td><td>$5.00</td></tr> </tbody> </table> <table id="tab1"> <thead> <tr><th>Number</th><th>Items</th></tr> </thead> <tbody> <tr><td>90</td><td>$5.00</td></tr> <tr><td>Total</td><td>$5.00</td></tr> </tbody> </table> With the css code like this: #tab1{ width:100px; float: left; margin:0 0 20px 0; padding: 0; border: solid #000; border-width: 1px 1px 1px 1px; } This puts a border around each table, but in my orginal code I had each variable in it's own bordered "cell"? Can you help me put a vertical line seperating columns and a line seperating rows? Thanks again.
-
Thanks for your reply and guidance. So if I have this code (below) on the page, how do I identify it and differentiate it from other another table in css? Thanks again. <table> <thead> <tr><th>Number</th><th>Items</th></tr> </thead> <tbody> <tr><td>90</td><td>$5.00</td></tr> <tr><td>Total</td><td>$5.00</td></tr> </tbody> </table>
-
Thanks again for your help. The orginal code in this thread (that looked good in IE7) displayed five two-column tables horizontal across the page. I added your table code to the web page to test it: [<table1> <thead> <tr><th>Number</th><th>Items</th></tr> </thead> <tbody> <tr><td>90</td><td>$5.00</td></tr> <tr><td>Total</td><td>$5.00</td></tr> </tbody> </table> <table2> <thead> <tr><th>Number1</th><th>Items1</th></tr> </thead> <tbody> <tr><td>90</td><td>$5.00</td></tr> <tr><td>Total</td><td>$5.00</td></tr> </tbody> </table> And I tried to modify the css code to possibly work with the table code: .table1{ width:232px; float: left; clear:left; margin:0 0 20px 0; padding: 0; list-style: none; border: solid #000; border-width: 0 1px 1px 0; } table1 li.lt { float:left; width: 115px; border: solid #000; border-width: 1px 0 0 1px; } .table1 li.rt { float:right; width: 115px; border: solid #000; border-width: 1px 0 0 1px; } .table1 li div { width: 110px; text-align: center; color: #000; font-size: 12px; padding: .4em 0; } .table2{ width:232px; float: left; clear:left; margin:0 0 20px 0; padding: 0; list-style: none; border: solid #000; border-width: 0 1px 1px 0; } table2 li.lt { float:left; width: 115px; border: solid #000; border-width: 1px 0 0 1px; } .table2 li.rt { float:right; width: 115px; border: solid #000; border-width: 1px 0 0 1px; } .table2 li div { width: 110px; text-align: center; color: #000; font-size: 12px; padding: .4em 0; } But of course it doesn't look good. If you would like to provide more guidance it will be greatly appreciated. Thanks
-
Thanks for your replies. can you please give me an example of "using actual tables instead of trying to emulate them with lists" and an example of "dont use so many divs inside list elements"? thanks again
-
Thanks for your reply. I changed the width 162px to width:163px, however this did not solve the issue. Any other suggestions will be appreciated.
-
I appreciate your reply. I thought maybe someone might see why the code won't work in IE8 by just looking at it. I'll try to provide a better explanation. Their are two columns in each table. In IE7 the rows in the first column are perfectly adjacent to the rows in the second column. Like this: Number Items 90 $5.00 Total $5.00 But in IE8 the rows in the first column do not line up perfectly adjacent to the rows in the second column. It appears something like this: Number Items 90 space Total $5.00 space $5.00 The "space" is only about 1/4 of the size of the other column boxes. The "space" is more like a gap. Why does IE8 add these gaps? Any help to remedy this will be appreciated. Thanks.
-
If you can elaborate, that might be a little more helpful, thanks.
-
These tables look fine in IE7, but not in IE8. Can you help me? Thanks <ul class="tableX"> <li class="lt"><div><font color="#800000"><b>Number</font></div></li> <li class="rt"><div>Items</b></div></li> <li class="lt"><div>90</div></li> <li class="rt"><div>$5.00</div></li> <li class="lt"><div><font color="#800000"><b>Total</font></div></li> <li class="rt"><div>$5.00</b></div></li> </ul> <ul class="tableX"> <li class="lt"><div><font color="#800000"><b>Number</font></div></li> <li class="rt"><div>Items</b></div></li> <li class="lt"><div>180</div></li> <li class="rt"><div>$10.00</div></li> <li class="lt"><div><font color="#800000"><b>Total</font></div></li> <li class="rt"><div>$10.00</b></div></li> </ul> <ul class="tableX"> <li class="lt"><div><font color="#800000"><b>Number</font></div></li> <li class="rt"><div>Items</b></div></li> <li class="lt"><div>270</div></li> <li class="rt"><div>$15.00</div></li> <li class="lt"><div><font color="#800000"><b>Total</font></div></li> <li class="rt"><div>$15.00</b></div></li> </ul> <ul class="tableX"> <li class="lt"><div><font color="#800000"><b>Number</font></div></li> <li class="rt"><div>Items</b></div></li> <li class="lt"><div>360</div></li> <li class="rt"><div>$20.00</div></li> <li class="lt"><div><font color="#800000"><b>Total</font></div></li> <li class="rt"><div>$20.00</b></div></li> </ul> <ul class="tableX"> <li class="lt"><div><font color="#800000"><b>Number</font></div></li> <li class="rt"><div>Items</b></div></li> <li class="lt"><div>450</div></li> <li class="rt"><div>$25.00</div></li> <li class="lt"><div><font color="#800000"><b>Total</font></div></li> <li class="rt"><div>$25.00</b></div></li> </ul>Css code: Css code: ul.tableX { width:162px; float: left; margin:0 0 0px 5px; padding: 0; list-style: none; border: solid #000; border-width: 0 1px 1px 0; } .tableX li.lt { float:left; border: solid #000; border-width: 1px 0 0 1px; } .tableX li.rt { float:right; border: solid #000; border-width: 1px 0 0 1px; } .tableX li div { width: 80px; text-align: center; color: #000; font-size: 12px; padding: .4em 0; }
-
Thanks. I tried it onblur and didn't see the line of text, until I entered a letter and then refreshed, so I went with <input type="text" name="keyword" id="sbi" value="Enter Search Words Here"> Is there a trick to make the words disppear when you select the field, rather then having to delete that line of text each time before entering search words? Thanks again
-
Thanks for your replies. Can you please tell me why I'd want to add: onblur="this.value = 'Enter Search Words Here';" What does that do? Thanks
-
I am using this Form below for searching, with success. I'd like to add the text: Enter Search Words Here into the Input Field, so people will know to enter search words there. Can you tell me what change to the code below, I'll need to make to accomplish this? Thanks <form method="get" action="search.php" id="search"> <div> <input type="hidden" name="type" value="images"> <label for="sbi"><font size="6" color="#999999" face="Arial">Search:</font></label> <input type="text" name="keyword" id="sbi"> <input type="image" src="/images/searchbutton.gif" align="middle" name="B2" value="Search" /> </div> </form> CSS code: #search label { color:#666; font:1.4em Arial,sans-serif; } #sbi { font:10pt verdana,sans-serif; height:1.4em; width:20em; color:#000; border:2px inset #F5F5F5; background-color:#FFF; } #B2 { font:10pt verdana,sans-serif; width:7em; color:#fff; letter-spacing: 1px; border: 1px inset #F5F5F5; background-color: #800000; }
-
Thank you