photo placement in containers...

User 3156750 Photo


Guest
103 posts

hi all~

I am looking for assistance with making a photo centered in a css container~

does it have to be position-relative for it to stay in the same place i put it? i am using the four container css setup but want to make sure that the photo i place inside this container stays centered in the middle.
User 2699991 Photo


Registered User
5,077 posts
Online Now

Thereare a number of ways
1/ use padding on the contaier holding the image top/bottom/left/right
2/ set the container holding the image to flex=column, then all properties for that =center set the image margin left/right to =auto (not really needed but a soert of safety net)

A short vid on the way to youtube (maybe 30 mins from now SLOOOOOW Internet here at the moment)
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
Contact Me For One To One Assistance
https://mawarputih.coffeecup.com/forms/contact-wayan/

A simple quick way to contact me
https://rsd-tutorialscom.coffeecup.com/ … l-details/
User 2699991 Photo


Registered User
5,077 posts
Online Now

Part 1

https://youtu.be/Qhk9MdTbYTU

Part2
https://youtu.be/G1p5mnl_BJQ
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
Contact Me For One To One Assistance
https://mawarputih.coffeecup.com/forms/contact-wayan/

A simple quick way to contact me
https://rsd-tutorialscom.coffeecup.com/ … l-details/
User 3156750 Photo


Guest
103 posts

thank you 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.