Highlighted

Center a video in Dreamweaver

Community Beginner ,
Jan 15, 2018

Copy link to clipboard

Copied

How can i center video in Dreamweaver, here is my code:

https://codeshare.io/5OBnpg

Adobe Community Professional
Correct answer by B i r n o u | Adobe Community Professional

your code is not present... but anyway, you'll center video in DW the same way that you will center any other item... being sure that the item is not display as inline, then using a margin auto on right/left properties...

so in that case having a

video {     display: block;     margin: 0 auto; }

should do the job

Views

164

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Center a video in Dreamweaver

Community Beginner ,
Jan 15, 2018

Copy link to clipboard

Copied

How can i center video in Dreamweaver, here is my code:

https://codeshare.io/5OBnpg

Adobe Community Professional
Correct answer by B i r n o u | Adobe Community Professional

your code is not present... but anyway, you'll center video in DW the same way that you will center any other item... being sure that the item is not display as inline, then using a margin auto on right/left properties...

so in that case having a

video {     display: block;     margin: 0 auto; }

should do the job

Views

165

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jan 15, 2018 0
Adobe Community Professional ,
Jan 15, 2018

Copy link to clipboard

Copied

your code is not present... but anyway, you'll center video in DW the same way that you will center any other item... being sure that the item is not display as inline, then using a margin auto on right/left properties...

so in that case having a

video {     display: block;     margin: 0 auto; }

should do the job

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jan 15, 2018 0
Adobe Community Professional ,
Jan 16, 2018

Copy link to clipboard

Copied

Your CodeShare link leads to an empty page.

Copy and paste your code directly into a forum reply through your browser. Don't use email, it won't come through.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jan 16, 2018 2