OjaiBaller8 Posted May 29, 2009 Share Posted May 29, 2009 Hello, im a beginner at html and i need a little help please..I have a video thats centered on my page and i want to add text to my page, but directly to the right of the video. But when i try to add the text it always starts at the bottom of the video. Can anyone help me out please. Link to comment Share on other sites More sharing options...
OjaiBaller8 Posted May 29, 2009 Author Share Posted May 29, 2009 here is what i have so far:(if the video is blocked for you, it just youtube)ALSO:where it starts out with 'basketball is great'.. thats what i want to be to the right of the video<html><body background="http://www.sportsteamlayouts.com/layouts/nba-lakers1280.jpg"><h1 style="text-align:center;color:white;font-size:50">Lakers Basketball</h1><br><br><p style="text-align:center"<object width="425" height="344"><param name="movie" value="http://www.youtube.com/watch?v=hCV7cucsQFo&hl=en&fs=1"></param><param'>http://www.youtube.com/watch?v=hCV7cucsQFo&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/watch?v=hCV7cucsQFo&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object><p style="text-align:right">Basketball is great.</p></p></body></html> Link to comment Share on other sites More sharing options...
smerny Posted May 29, 2009 Share Posted May 29, 2009 do "float:right" instead of "text-align:right"and use divs instead of paragraphs Link to comment Share on other sites More sharing options...
OjaiBaller8 Posted May 29, 2009 Author Share Posted May 29, 2009 do "float:right" instead of "text-align:right"and use divs instead of paragraphsThanks alot smerny I appreciate it. Also about the divs, I haven't learned that yet, but I am taking a class so maybe I will. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.