Aligned video

assaultkitty
assaultkitty used Ask the Experts™
on
Hi,

I have a problem that I need help with!  Can you help me to center this video www.barbaraannetteparson.com/video.php with a css to have a center over the categories on this webpage www.barbaraannetteparson.com.  

It just want to align left -  Any ideas experts?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Most Valuable Expert 2011
Top Expert 2016
Commented:
Whatever the answer may be, it will be easier to find and implement if your web page uses valid markup.

http://validator.w3.org/check?uri=http%3A%2F%2Fwww.barbaraannetteparson.com%2F&charset=%28detect+automatically%29&doctype=Inline&group=0
Most Valuable Expert 2011
Top Expert 2016
Commented:
This shows how to use CSS to position the <div>

<!DOCTYPE html>
<html dir="ltr" lang="en-US">
<head>
<meta charset="utf-8" />
<meta name="robots" content="noindex, nofollow" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
<style type="text/css">
#player5 {
    padding-left:200px;
    margin-top:100px;
}
</style>
<title>HTML5 Page in UTF-8 Encoding</title>
</head>
<body>
<script type="text/javascript" src="http://barbaraannetteparson.com/player/js/hdwplayer.js"></script>

<div id="player5">
<script>
hdwplayer({
id       : 'player5',
swf      : 'http://barbaraannetteparson.com/player/player.swf',
width    : '700',
height   : '400',
type	 : 'video',
video    : 'http://barbaraannetteparson.com/parsonbarbara.mp4',
autoStart: 'true'
});
</script>
</div>

</body>
</html>

Open in new window

Author

Commented:
Good Morning Experts,

I am working on the validator.  I have eliminated several errors thus far.  Can you tell me where to place this code.
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Author

Commented:
I got it.

Author

Commented:
Now. I got the code in www.barbaraannetteparson/video.php.  Now how do I get it into the homepage www.barbaraannetteparson.com?
Most Valuable Expert 2011
Top Expert 2016

Commented:
how do I get it into the homepage...
Copy and paste, maybe?  Maybe I don't really understand the question.  Whatever you choose, you really, really want to start with valid markup.  Anything less is just begging for troubles.

Author

Commented:
I know!  I am working on that.  The programmer working on this left a script open that I know is causing the problem.  I need to find that open script place the solution in it.  I want to place the video (www.barbaraannetteparson.com) in the homepage (www.barbaraannetteparson.com) of my website.

Author

Commented:
Mr. Savant!

OK.  I cannot find this file.  Can you tell me where to find this file in on cpanel?  I looked at the source code on the validator.  Where on the source file on the validator do I find the location of this source code.

Author

Commented:
I do not know where these errors are originating.  I have hundreds of files on this website.  Tell me how to find these errors.  Is this clearer?

Author

Commented:
I will just open a question to get help with my html validator.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial