shane85 Posted May 5, 2010 Share Posted May 5, 2010 hey guys...sorry I know this is the PHP section of the forums, but whenever I post anything here you guys are extremely helpful and I get an answer right away where as when I post in the HTML section of the site, I have yet to get an answer im looking for. So - im hoping someone here can help me...Also, on the computer that it wasnt displaying properly, I tried taking out the html and just putting the image link and the text itself instead of echo ticker, and it seemed to display a little better...so im wondering if the fact that its calling to php is cause the table to screw up??? this is what I posted in my post in the html forum. what is wrong with my code??? it works perfect on my computer but ive tried on a few others and it doesnt work. im giving links to 2 images - 1 on how it displays on my screen, and 2, how it displays incorrectly on others. In the 2nd image the bottom half of the bottom image is cut off because I took a screen shot and it couldnt keep the whole thing in the screen cause of the large white space in the middle that shouldnt be there. ah. the code is as follows <center> <table width="500" border="0" cellpadding="0" cellspacing="0"> <tr> <td colspan="3"><img src="gfx/tv_ticker_top.jpg" width="500" height="47"></td> </tr> <tr> <td rowspan="2"><img src="gfx/tv_ticker_left.jpg" width="48" height="231"></td> <td><img src="<?php echo $_SESSION['SESS_COMPANY_LOGO']; ?>" width="406" height="216"></td> <td rowspan="2"><img src="gfx/tv_ticker_right.jpg" width="46" height="231"></td> </tr> <tr> <td height="15"><FONT color="#ffffff" size="2"> <MARQUEE bgcolor="#505050" direction="left" loop="20" scrollamount="4"><?php echo $_SESSION['SESS_TICKER'];?></MARQUEE> </FONT></td> </tr> <tr> <td colspan="3"><img src="gfx/tv_ticker_bottom.jpg" width="500" height="119"></td> </tr> </table> </center> is it because of the php in the code? how can I fix this??? the link to the image on how it SHOULD be displayed is here www.fireshock.ca/test/image1.jpg the link to the image on how it currently displays WRONG is here www.fireshock.ca/test/wrong.jpg any help is appreciated...this problem is driving me nuts and I dont know how to fix it. Thanks Quote Link to comment https://forums.phpfreaks.com/topic/200759-html-table-displaying-incorrectly-because-of-php/ Share on other sites More sharing options...
monkeytooth Posted May 5, 2010 Share Posted May 5, 2010 MARQUEE that entire tag is your problem.. even back when the tag was actually supported, it was still only supported to a point. I'm almost positive that that tag is on the chopping block to be depreciated fully or has been already.. The tag was specifically IE made, yet another innovational product of Microsoft. Quote Link to comment https://forums.phpfreaks.com/topic/200759-html-table-displaying-incorrectly-because-of-php/#findComment-1053424 Share on other sites More sharing options...
monkeytooth Posted May 5, 2010 Share Posted May 5, 2010 In other words I dont think ever MARQUEE was a part of the official HTML mark up as it was just something made that for its time was super flashy and something nifty to put on a site. but mostly geared towards MS products, there after trying to keep up with MS at the time other browsers adapted the tag, but again I dont think it was ever officially supported, and then later just became for the most part obsolete your best bet if you want a ticker of some kind is javascript.. dhtmldrive.com (i think thats the right address) has a bunch of snipplets you can use that do stuff like that or you can look into a JS library like jquery to preform tasks like that a little more efficiently and with less coding Quote Link to comment https://forums.phpfreaks.com/topic/200759-html-table-displaying-incorrectly-because-of-php/#findComment-1053430 Share on other sites More sharing options...
shane85 Posted May 5, 2010 Author Share Posted May 5, 2010 awesome thank you very much, I will look into it Quote Link to comment https://forums.phpfreaks.com/topic/200759-html-table-displaying-incorrectly-because-of-php/#findComment-1053431 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.