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


Permlink Replies: 22 - Pages: 2 [ Previous | 1 2 ] - Last Post: 13 Sep 23, 23:29 Last Post By: hspagnolo Threads: [ Previous | Next ]
Laza

Posts: 1,700
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,994
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: 1,700
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,994
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: 101
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
hspagnolo

Posts: 101
Registered: 23-Mar-2016
Re: CSS for the footer
Posted: 13 Sep 23, 17:52   in response to: hspagnolo in response to: hspagnolo
 
  Click to reply to this thread Reply
Hi Laza,

I am using latest version of Photoblogger and jAlbum, however, into my custom CSS (the code you send me some message before of this thread), does not works anymore, how can I align the footer to the right?

Thanks and regards
Henri
JeffTucker

Posts: 7,994
Registered: 31-Jan-2006
Re: CSS for the footer
Posted: 13 Sep 23, 22:42   in response to: hspagnolo in response to: hspagnolo
 
  Click to reply to this thread Reply
Try this:
.footer .cont { justify-content: flex-end; }
hspagnolo

Posts: 101
Registered: 23-Mar-2016
Re: CSS for the footer
Posted: 13 Sep 23, 23:29   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
Hi Jeff,

Thanks, that does the job.

Regards
Henri
Legend
Forum admins
Helpful Answer
Correct Answer

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