a <p>aragraph of <table>s
Posted: Fri Feb 10, 2012 8:13 am
this may be an html question, but there may be no html solution, it may have to be done in php
ive been trying to make a list of videos display from left to right, top to bottom.
take a look at the last line of code on this page for me if you would all be so kind
http://th3rrc.com/videodump/
the line is generated by php after grabbing the videos and their titles from a mysql database with this code
as you can see i thought that if i put a bunch of <table>s in a <p>aragraph, it would display this way, but it is not
the videos have to be in tables because they have to have titles
also, the titles are not displaying anymore, they were when i was using another format
i wanted it to all work like a paragraph so that the number of videos being displayed from left to right would be dependent on the width of the window, otherwise i would just use a <table> of <table>s
thanks for all the help over the years guys, i hope we can tackle this one too
ive been trying to make a list of videos display from left to right, top to bottom.
take a look at the last line of code on this page for me if you would all be so kind
http://th3rrc.com/videodump/
the line is generated by php after grabbing the videos and their titles from a mysql database with this code
Code: Select all
echo "<table><tr><td class=\"text\"><strong><p>".$row["text"]."</p></strong></td></tr>"."<tr><td class=\"vid\">"."<iframe title=\"YouTube video player\" src=\"http://www.youtube.com/embed/".$row[link]."\" width=\"426\" height=\"240\" frameborder=\"0\"></iframe>"."</td></tr></table>";the videos have to be in tables because they have to have titles
also, the titles are not displaying anymore, they were when i was using another format
i wanted it to all work like a paragraph so that the number of videos being displayed from left to right would be dependent on the width of the window, otherwise i would just use a <table> of <table>s
thanks for all the help over the years guys, i hope we can tackle this one too