• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Center a video in Dreamweaver

Community Beginner ,
Jan 15, 2018 Jan 15, 2018

Copy link to clipboard

Copied

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

https://codeshare.io/5OBnpg

Views

583

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
community guidelines

correct answers 1 Correct answer

Community Expert , Jan 15, 2018 Jan 15, 2018

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

Votes

Translate

Translate
Community Expert ,
Jan 15, 2018 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

Votes

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
community guidelines
Community Expert ,
Jan 16, 2018 Jan 16, 2018

Copy link to clipboard

Copied

LATEST

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.

Votes

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
community guidelines