Container / image question - Post ID...

User 332337 Photo


Registered User
120 posts

I have a container <Div> with an image inside it. How do I center the image? Is it a layout control for the image or the container? Thinking it should be the image but not finding center as an option.

Thanks
User 2088758 Photo


Senior Advisor
3,120 posts

Hi Spoor, you want to set margin left and right to auto.
Taking over the world one website at a time!

Steve Kolish
www.misterwebguy.com

YouTube Channel:
https://www.youtube.com/channel/UCL8qVv … ttneYaMSJA
User 332337 Photo


Registered User
120 posts

Steve - thank you, that's the ticket!!
User 332337 Photo


Registered User
120 posts

If my image is not showing as planned with Top or Bottom as the vertical selection, is there a way to "nudge" it up or down with a different vertical option? I tried different combinations but the edge was showing up and that will not work.

For example vertical Top but I want to nudge the image a bit more UP - is that possible?
User 2699991 Photo


Registered User
5,314 posts

K Spoor wrote:
If my image is not showing as planned with Top or Bottom as the vertical selection, is there a way to "nudge" it up or down with a different vertical option? I tried different combinations but the edge was showing up and that will not work.

For example vertical Top but I want to nudge the image a bit more UP - is that possible?

Margin top or bottom
Give the container some padding (make the height of the container slightly more than the image if necessary, make the container flexed and adjust settings accordingly to position your image how you want it.
Many options
Mastering The Understanding With Hands-On Learning
NEW TO "COFFEECUP SITE DESIGNER" FOUNDATION 6 FRAMEWORK?
STUCK ON SOMETHING?

LEARNING & UNDERSTANDING "THE HOW TO"? THE WHY'S & THE WHEREFORE'S?
WITH WAYAN'S STEP BY STEP TUTORIALS


A simple quick way to contact me
https://mawarputih.coffeecup.com/forms/contact-wayan/
User 332337 Photo


Registered User
120 posts

Wayan,

Thank you - I am going to have to play with this technique later. Sounds like a world of options in controlling where my image is located.
User 2699991 Photo


Registered User
5,314 posts

K Spoor wrote:
Wayan,

Thank you - I am going to have to play with this technique later. Sounds like a world of options in controlling where my image is located.


There is one more that I forgot to mention you can move it up or down using transitions.
Mastering The Understanding With Hands-On Learning
NEW TO "COFFEECUP SITE DESIGNER" FOUNDATION 6 FRAMEWORK?
STUCK ON SOMETHING?

LEARNING & UNDERSTANDING "THE HOW TO"? THE WHY'S & THE WHEREFORE'S?
WITH WAYAN'S STEP BY STEP TUTORIALS


A simple quick way to contact me
https://mawarputih.coffeecup.com/forms/contact-wayan/

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.