Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2017-07-27 14:33:55

andacar
Member
From: Albuquerque, NM
Registered: 2014-09-03
Posts: 159
Website

Video not playing after adding code to album

I'm trying to save space on this page by putting information above the video in a two column format using HTML tables and css. Here's the page:

http://creepyhouse.net/galleries/the-st … i-phaeton/

Here's the code I added:

 
<html>
<head>
<meta charset="utf-8">
<title>Untitled Document</title>
<style type="text/css">
.tg  {border-collapse:collapse;border-spacing:0;}
.tg td{padding:8px 8px;border-style:solid;border-width:1px;overflow:hidden;word-break:normal;}
.tg th{padding:8px 8px;border-style:solid;border-width:1px;overflow:hidden;word-break:normal;}
.tg .tg-yw4l{vertical-align:top}
</style>
<body>
<p>1935  Verna VI Model 23, Type PN605 Phaeton with coachwork by Tronce' Dom of Marco  City</p>
<table width="85%" border="0">
  <tr>
    <td width="40%" align="left" valign="top" class="tg-yw4l"><strong>Wheelbase:</strong> 152”<br>
    <strong>Track:</strong> 60”<br>
    <strong>Weight:</strong> 6100 Lbs.<br>
    <strong>Tire Size: </strong>750-17<br>
    <strong>Engine:</strong> 45-degree 7200 cc (450.2 cu in.) OHV V12<br>    <strong>Bore and Stroke: </strong>3.5” x 3.9”<br>
    <strong>Output: </strong>140 BHP @ 3500 RPM</td>
    <td width="60%
    " align="left" valign="top" class="tg-yw4l">bla bla bla</td>
  </tr>
</table>
</head>
</body>
</html>

But after I add this code the video doesn't load or play. Have I formatted the code incorrectly?


Darrell Leland

"Never go creeping around old castles at night; you may find what you're looking for."
- Grimsley

Offline

#2 2017-07-27 15:39:03

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 1,624
Website

Re: Video not playing after adding code to album

There are a few issues with this code. You really only want to have the content and no html/head/body tags. Additionally, I wouldn't use a table for this. Backlight provides a very flexible grid layout. Rod wrote a nice post about it: http://ttg-tips-and-tricks.barbeephoto. … backlight/.

Maybe something like this:

<p>1935  Verna VI Model 23, Type PN605 Phaeton with coachwork by Tronce' Dom of Marco  City</p>

<div class="grid_12">  <!-- this sets up the 12 column grid -->
<div class="col_3">   

first column

</div> <!-- /col_3 -->

<div class="col_9">   

second column

</div> <!-- /col_9 -->
</div> <!-- /grid_12 -->

This way, the layout resizes nicely for different display sizes.


Daniel Leu | Photography   
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com

Offline

#3 2017-07-27 16:00:04

andacar
Member
From: Albuquerque, NM
Registered: 2014-09-03
Posts: 159
Website

Re: Video not playing after adding code to album

Thanks! I'll try this out.


Darrell Leland

"Never go creeping around old castles at night; you may find what you're looking for."
- Grimsley

Offline

Board footer

Powered by FluxBB