| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
| 
 | 
||||||||||
| 
		 
			 
			#1  
			
			
			
			
		 
		
		
	 | 
|||||||
		
		
  | 
|||||||
| 
	
	
		
        	 Ok. I'm trying to resize a youtube video to play in a page but it's just not letting me! 
		
	
		
		
		
		
			Here is my css Code: 
	
 In my left class I have an image. closed my div tag I have a new right div and thats where my youtube video should play!! So inside this new div tag I have the youtube video. You know what will be easier? let me make you a page.. http://img293.imageshack.us/img293/8408/affiliatepagemi4.png This is the youtube.. and I change this from <object width="425" height="355"> to object class. http://www.youtube.com/watch?v=4g9Mqs-Pw2o Thats my youtube powerpoint. http://www.discountprintingnetwork.com/partner/ 
				__________________ 
		
		
		
		
	
		
		
		
	X-Cart Gold v. 4.1.9  | 
|||||||
| 
		 
			 
			#2  
			
			
			
			
		 
		
		
	 | 
|||||||||
		
		
  | 
|||||||||
| 
	
	
		
        	 Change the embed code you've entered to the dimensions you want. 
		
	
		
		
		
		
			
				__________________ 
		
		
		
		
	
		
		
		
	Doms kube v4.1.9  | 
|||||||||
| 
		 
			 
			#3  
			
			
			
			
		 
		
		
	 | 
|||||||
		
		
  | 
|||||||
| 
	
	
		
        	 What do you mean? 
		
	
		
		
		
		
			
				__________________ 
		
		
		
		
	
		
		
		
	X-Cart Gold v. 4.1.9  | 
|||||||
| 
		 
			 
			#4  
			
			
			
			
		 
		
		
	 | 
|||||||||
		
		
  | 
|||||||||
| 
	
	
		
        	 Well I assume you've hard coded the dimensions into the tpl, and the embed tag has dimensions included in it too... 
		
	
		
		
		
		
			So either edit (which is the cleanest way)... <embed width="425" height="355" to <embed width="150" height="125" Or the css to override it like you want... .object embed { height:125px; width:150px; } Hope this helps. 
				__________________ 
		
		
		
		
	
		
		
		
	Doms kube v4.1.9  | 
|||||||||
| 
		 
			 
			#5  
			
			
			
			
		 
		
		
	 | 
|||||||
		
		
  | 
|||||||
| 
	
	
		
        	 http://www.discountprintingnetwork.com/partner/ 
		
	
		
		
		
		
			I didn't do anything to the menu.. take a look at that. why is my menus wide? thanks for helping me bud. 
				__________________ 
		
		
		
		
	
		
		
		
	X-Cart Gold v. 4.1.9  | 
|||||||
| 
		 
			 
			#6  
			
			
			
			
		 
		
		
	 | 
|||||||||
		
		
  | 
|||||||||
| 
	
	
		
        	 Change the main <TD>'s width to 100% - the one that contains the vid. 
		
	
		
		
		
		
			The menu is wide because it hasn't got a width set and there's nothing to expand the main content's cell to it's own 100% width (which would push/squeeze the side menu and make it appear smaller). 
				__________________ 
		
		
		
		
	
		
		
		
	Doms kube v4.1.9  | 
|||||||||
| 
		 
			 
			#7  
			
			
			
			
		 
		
		
	 | 
|||||||
		
		
  | 
|||||||
| 
	
	
		
        	 I dont even know what I'm doing wrong.. can you help me get the page how I have it in the photo? 
		
	
		
		
		
		
			http://img293.imageshack.us/img293/8408/affiliatepagemi4.png here is what it looks like now.. http://img378.imageshack.us/img378/4909/ewwjc4.th.jpg This is my /partner/main/welcome.tpl Code: 
	
 the .css is still the same. I basically need blue around the youtube in the table row.. but i'm going to need to center this video too.. thanks so much for taking the time.. 
				__________________ 
		
		
		
		
	
		
		
		
	X-Cart Gold v. 4.1.9  | 
|||||||
| 
		 
			 
			#8  
			
			
			
			
		 
		
		
	 | 
|||||||||
		
		
  | 
|||||||||
| 
	
	
		
        	 Put the image and the video back into the main content table (where the video was before). And make sure the main content table has a width of 100% 
		
	
		
		
		
		
			The main content table I am referring to is the one with these comments inside it... <!-- central space --> stuff <!-- /central space --> 
				__________________ 
		
		
		
		
	
		
		
		
	Doms kube v4.1.9  | 
|||||||||
| 
		 
			 
			#9  
			
			
			
			
		 
		
		
	 | 
|||||||||
		
		
  | 
|||||||||
| 
	
	
		
        	 Now put them into the one TD (not two) and put a <br /> tag between them. 
		
	
		
		
		
		
			
				__________________ 
		
		
		
		
	
		
		
		
	Doms kube v4.1.9  | 
|||||||||
| 
		 
			 
			#10  
			
			
			
			
		 
		
		
	 | 
|||||||
		
		
  | 
|||||||
| 
	
	
		
        	 ok but how do I separate these and make the backround to that div blue. I added:     BACKGROUND-COLOR: #448ccb; 
		
	
		
		
		
		
			also. the image.. i need that to be closer to the menu.. sorry for the 51 questions.. 
				__________________ 
		
		
		
		
	
		
		
		
	X-Cart Gold v. 4.1.9  | 
|||||||
![]()  | 
		
	
		
			 | 	
	
		
| Thread Tools | Search this Thread | 
		
  | 
	
		
  | 
| 
 | 
|||
| 
 
X-Cart forums © 2001-2020
 
 | 
|||