Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Adding <br><br> didn't work
Old 10-02-2009, 11:08 AM Adding <br><br> didn't work
Extreme Talker

Posts: 216
Trades: 0
On a web page where the video player plays a video file, I'd like to position a link on that page "Return To The Home Page". I've added the link (below) but it appears right next to the Player. I tried adding some <br><br>, but that didn't move the link below the Player, which is where I'd like the link to appear.

Any code suggestions would be appreciated. Thanks

Code:
<center><div style="height:420px;overflow:hidden;">
      <iframe src="[var.base_url]/make_player.php?vid=[var.vid]&player_token=[var.player_token]" style="width:560px; height:420px; border:none;" marginheight="0" scrolling="no" name="flvplayer">
        <!--[onload;block=iframe;when [var.video_type] != 'embedded';comm]-->
      </iframe>
      <!--start of EmbedVideo Addon Player-->
      <span>
        <!--[var.videoembedder_code;htmlconv=no;comm]-->
        <!--[onload;block=span;when [var.video_type] == 'embedded';comm]-->

      </span><br><br><br>
      <a href="[var.base_url]">Return To Home Page</a>
      <!-- end of EmbedVideo Addon Player--><br/><br/>
      </center></div>
chrisj is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-02-2009, 12:32 PM Re: Adding <br><br> didn't work
racer x's Avatar
Ultra Talker

Posts: 457
Name: Randy
Location: Northern Wisconsin
Trades: 0
Firstly, get rid of <center> that is deprecated.

Then try putting the link after that </div>. You have a height set of 420px and overflow hidden. The video is 420px itself, so even if the link was below the video, it wouldn't show up.

Also, just a nit pick, use <br />.
racer x is offline
Reply With Quote
View Public Profile Visit racer x's homepage!
 
Old 10-02-2009, 02:17 PM Re: Adding <br><br> didn't work
The-Pixel's Avatar
I <3 Pixel's

Posts: 888
Name: Lindi Wheaton
Location: In Photoshop
Trades: 0
Put the <br /> <br /> after the </div>
__________________
The-Pixel

Please login or register to view this content. Registration is FREE
:: iPhone Apps, Pre-Made Templates, Widgets, Menus, etc.

Please login or register to view this content. Registration is FREE
:: Web Design / Development, Business Cards, Logo Designs, etc.
The-Pixel is offline
Reply With Quote
View Public Profile Visit The-Pixel's homepage!
 
Old 10-02-2009, 04:24 PM Re: Adding <br><br> didn't work
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Quote:
Also, just a nit pick, use <br />.
Ummm... ONLY if he's using an XHTML doctype
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 10-02-2009, 07:19 PM Re: Adding <br><br> didn't work
orionoreo's Avatar
Ultra Talker

Posts: 335
Name: Jerry
Trades: 0
you have a static height of 420 with a hidden overflow... any thoughts on that?
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
orionoreo is offline
Reply With Quote
View Public Profile
 
Old 10-05-2009, 11:23 PM Re: Adding <br><br> didn't work
Novice Talker

Posts: 6
Name: Pavel
Trades: 0
Try it:
Code:
 
<center><div style="height:420px;overflow:hidden;">
      <iframe src="[var.base_url]/make_player.php?vid=[var.vid]&player_token=[var.player_token]" style="width:560px; height:420px; border:none;" marginheight="0" scrolling="no" name="flvplayer">
        <!--[onload;block=iframe;when [var.video_type] != 'embedded';comm]-->
      </iframe>
      <!--start of EmbedVideo Addon Player-->
      <span>
        <!--[var.videoembedder_code;htmlconv=no;comm]-->
        <!--[onload;block=span;when [var.video_type] == 'embedded';comm]-->
      </span>
      <!-- end of EmbedVideo Addon Player--><br/><br/>
      </div>
<p><a href="[var.base_url]">Return To Home Page</a></p>

</center>
__________________
Cheap, stable VPS hosting
ISPmanager panel for free

Please login or register to view this content. Registration is FREE
cyberq is offline
Reply With Quote
View Public Profile
 
Old 10-06-2009, 03:18 PM Re: Adding <br><br> didn't work
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Gawd no! NOT that hideous, DEPRECATED <center> tag!!
Use CSS and do it PROPERLY!
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Adding <br><br> didn't work
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.19005 seconds with 12 queries