Centering my images - Post ID 265210

User 2924428 Photo


Registered User
1,718 posts

Hello yall..

I know it's been a long time and I should know how to center after 1500+ posts?

But I've ran into some hard times...

So if you can help me with aligning these items, I'd appreciate it.

I want the dreamworks video in the center of the page, along with the banner.

http://test.defendmyfort.com

Please help
User 122279 Photo


Senior Advisor
14,567 posts

Move the class center from the container div's to the image and the iframe, like this:

<div >
<img class="center" src="logo/dreamer-design-logo.png" width="667" height="87" alt="Dreamworks Logo" title="Dreamworks Logo">
</div>
<br>
<br>
<br>
<br>
<div>
<iframe class="center" width="560" height="315" src="https://www.youtube.com/embed/FTKtfUMqMP4" frameborder="0" allowfullscreen></iframe>
</div>
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 2924428 Photo


Registered User
1,718 posts

Thanks Inger, I'm working on my final project for school and I am just so frustrated.

Can't really think with all these bells and whistles going off...
User 122279 Photo


Senior Advisor
14,567 posts

What bells and whistles? Are you talking about all the new responsive CC programmes, or something else?
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 2924428 Photo


Registered User
1,718 posts

No time to explain lol.

I can work through them Inger, I haven't really had a chance to sit down and study for school.

But I'm hoping to get it done by tomorrow.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.