This question is answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 19 - Pages: 2 [ Previous | 1 2 ] - Last Post: 27 Apr 21, 16:26 Last Post By: hspagnolo
Laza

Posts: 2,267
Registered: 6-Sep-2005
Re: CSS for the footer
Posted: 27 Apr 21, 15:45   in response to: hspagnolo in response to: hspagnolo
 
  Click to reply to this thread Reply
Doesn't this work?
.footer .row .columns { justify-content: flex-end; }
JeffTucker

Posts: 7,665
Registered: 31-Jan-2006
Re: CSS for the footer
Posted: 27 Apr 21, 15:56   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
Oh, I have to apologize! The custom CSS I provided works in Chrome and Firefox, but not Safari!

Using flex-end instead of right does seem to behave properly.

ETA: This is very surprising, because Safari is using the same rendering engine as Chrome. There really shouldn't be any difference between them.
Laza

Posts: 2,267
Registered: 6-Sep-2005
Re: CSS for the footer
Posted: 27 Apr 21, 16:16   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
I believe "right" is not the proper word here, because in column direction the same "flex-end" alignment means "bottom".
JeffTucker

Posts: 7,665
Registered: 31-Jan-2006
Re: CSS for the footer
Posted: 27 Apr 21, 16:19   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
Yes, it appears that the choices you want are flex-start, center, or flex-end. Strange that right or left work in any browser, but they do!

ETA: I'm still waiting for float: center to show up in CSS. Given the number of coders who have tried to use it, I think it's high time the CSS gnomes gave it to us.
hspagnolo

Posts: 162
Registered: 23-Mar-2016
Re: CSS for the footer
Posted: 27 Apr 21, 16:26   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
Hi Laza,

Thanks, this works great.

Regards
Henri
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums