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)

l0st 04-26-2008 03:00 PM

Re: resize youtube
 
ok.. i'm going to try and do this.. maybe we can use tbody for this.. what do you think?!

or maybe I can try and put it in here:
{$lng.txt_welcome_to_the_partners_zone_note}

l0st 04-26-2008 03:12 PM

Re: resize youtube
 
actually, I think putting it in a language variable helped out a lot!!!!

kube 04-26-2008 03:33 PM

Re: resize youtube
 
Did you try the table and put it inside the central space from post number 28 http://forum.x-cart.com/showpost.php?p=213985&postcount=28

It will save you a lot of headaches (below the breadcrumb row has been removed).

Code:

<!-- central space -->
<table>
<!-- 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 03:36 PM

Re: resize youtube
 
I figured out the problem with .right.. its in the .css for example if i change .object embed the table actually resizes accordinally. how can we fix that?!?

/* partner main page */

.left {
position: absolute;
border: 1px;
margin-left: 5px;
}
.right {
border: 1px;
height: 1px;
}
.object embed {
height:170px;
width:250px;
}
.video {
BACKGROUND-COLOR: #448ccb;
}

kube 04-26-2008 03:51 PM

Re: resize youtube
 
Also get rid of the...

<p align="justify"> </p>

so the table can be closer to the top.

l0st 04-26-2008 03:53 PM

Re: resize youtube
 
I just went with what you helped.. I think this just did save me another day.. thank you so much!

kube 04-26-2008 03:58 PM

Re: resize youtube
 
Also remember: if you're going to change the dimensions of the object, you'll also have to change the dimensions within the embed as well.

kube 04-27-2008 10:28 AM

Re: resize youtube
 
Give the outer lying table that contains the image and vid a width of around 690. And that should get you closer to the image.

l0st 04-27-2008 12:47 PM

Re: resize youtube
 
Hey, the bottom.. where the text is. how can I made that one td not two?!

kube 04-27-2008 01:40 PM

Re: resize youtube
 
Within the the 3 TRs you have created put a colspan="2" in each single TD.

for example...
<tr>
<td colspan="2"><h1><center> Your Header </center></h1></td>
</tr>
<tr>
<td colspan="2"><strong> Your Welcome Txt </strong></td>
</tr>
<tr>
<td colspan="2"> Your UL's </td>
</tr>


All times are GMT -8. The time now is 06:36 AM.

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