X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   resize youtube (https://forum.x-cart.com/showthread.php?t=39373)

kube 04-26-2008 01:11 PM

Re: resize youtube
 
It won't have a background of blue because you're entering invalid TDs. A TD cannot go inside another TD without it having a table supporting it first.

<td><td></td><td> doesn't work

<table><tr><td><table><tr><td></td></tr></table></td></tr></table> although ugly, works.

But we're not asking for extra TDs so I have no ideas where they're coming from as they weren't there before

l0st 04-26-2008 01:18 PM

Re: resize youtube
 
I'm using the x-affiliate and just recolored the page.. In the
<div class="right" >
I made a
<td class="video" >

added this to css:
.video {
BACKGROUND-COLOR: #448ccb;
}

Now it's up and down.. not too high and low.. but need to have it from left to right too.. so we're getting close. :D

also if i delete the <br /> the breadcrums is hidden but its aligned good! than we will need to just get the blue to the left and right and have the video in the middle.. thanks for working with me.. :D

l0st 04-26-2008 01:28 PM

Re: resize youtube
 
Im just going to share with you the updated code:

Code:

<td valign="top" width="100%">
<br />
<br />
<div class="left" >
<img src="img/partner.jpg" />
</div>
<br />
<div class="right" >
<td class="video" >
<object class="object"><param name="movie" value="http://www.youtube.com/v/4g9Mqs-Pw2o&hl=en"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/4g9Mqs-Pw2o&hl=en" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object>
</td>
</div>
</td>


and invite you to the page..

http://www.discountprintingnetwork.com/partner/

thanks!

kube 04-26-2008 01:36 PM

Re: resize youtube
 
So there are 5 columns now and the floats are back. I'm not sure how to handle this. The image you've supplied has only 2-3 columns.

Is there going to be any text underneath?

l0st 04-26-2008 01:38 PM

Re: resize youtube
 
yes, I'm going to add text underneath all of this.. did you see the image I posted? also.. I dont have the floats in the css...

l0st 04-26-2008 01:45 PM

Re: resize youtube
 
I tried to change the <td valign="top" width="100%"> to a <table valign="top" width="100%"> but it all messed up.. but maybe if you tell me where all the extra stuff is coming from.. we can delete it..

l0st 04-26-2008 01:56 PM

Re: resize youtube
 
I see where you got your
<td><td></td><td>

(from the source..) but I even tried to open it up.. I added:
<table>
(everything we have now)
</table>

Didnt work..

kube 04-26-2008 02:11 PM

Re: resize youtube
 
This is what you should be aiming for. This should go inside the central space provided it has a beginning TD and ending /TD outside of it....

Code:


<!-- central space -->

<table>

<!-- TR breadcrumb row (2cols combined) -->
<tr>
<td colspan="2">
<font class="NavigationPath">
<a class="NavigationPath" href="home.php">Main page</a>
</font>
</td>
</tr>


<!-- TR picture and vid row (2cols) -->
<tr>

<td> <!-- TD cell 1 picture -->
<img src="img/partner.jpg"/>
</td>

<td bgcolor="#FF0000">  <!-- TD cell 2 vid -->
<object width="150" height="125"><param name="movie" value="http://www.youtube.com/v/4g9Mqs-Pw2o&hl=en&rel=0"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/4g9Mqs-Pw2o&hl=en&rel=0" type="application/x-shockwave-flash" wmode="transparent" width="150" height="125"></embed></object>
</td>

</tr>

<!-- TR text row (2cols combined) -->
<tr>
<td colspan="2">some loads of text</td>
</tr>
</table>

<!-- /central space -->


l0st 04-26-2008 02:21 PM

Re: resize youtube
 
how can we delete the breadcrums from the main page only?!

kube 04-26-2008 02:33 PM

Re: resize youtube
 
locate something like this for breadcrumbs...

{include file="location.tpl"}

and {* comment it out *}


All times are GMT -8. The time now is 10:33 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.