Highlighted

How do i make the footer images centered?

Explorer ,
Mar 11, 2020

Copy link to clipboard

Copied

HTML codeHTML codeCSS codeCSS codeCSS codeCSS codewhat it looks likewhat it looks like

Adobe Community Professional
Correct answer by Jon Fritz II | Adobe Community Professional

Restricted to the code you are currently using, adding margin:0 auto and a set width to the .row class will center its content, but honestly, using floats, margin and padding to center things is now "the hard (old) way".

Look into CSS Flexbox, this type of thing is very simple using that method. This site has some decent basic information on how to use flex in your page...

https://www.w3schools.com/css/css3_flexbox.asp

TOPICS
Code, How to

Views

271

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

How do i make the footer images centered?

Explorer ,
Mar 11, 2020

Copy link to clipboard

Copied

HTML codeHTML codeCSS codeCSS codeCSS codeCSS codewhat it looks likewhat it looks like

Adobe Community Professional
Correct answer by Jon Fritz II | Adobe Community Professional

Restricted to the code you are currently using, adding margin:0 auto and a set width to the .row class will center its content, but honestly, using floats, margin and padding to center things is now "the hard (old) way".

Look into CSS Flexbox, this type of thing is very simple using that method. This site has some decent basic information on how to use flex in your page...

https://www.w3schools.com/css/css3_flexbox.asp

TOPICS
Code, How to

Views

272

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
Mar 11, 2020 0
Adobe Community Professional ,
Mar 11, 2020

Copy link to clipboard

Copied

Restricted to the code you are currently using, adding margin:0 auto and a set width to the .row class will center its content, but honestly, using floats, margin and padding to center things is now "the hard (old) way".

Look into CSS Flexbox, this type of thing is very simple using that method. This site has some decent basic information on how to use flex in your page...

https://www.w3schools.com/css/css3_flexbox.asp

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...
Mar 11, 2020 4