Talk:Prayers

From Rejoice in the Catholic Faith
Revision as of 12:59, 12 April 2024 by Michael Bromley (talk | contribs)

Table structures

  • using separate one-column tables so they collapse on mobile
  • using font 85% so it reduces on mobile
    • note: on mobile the right border extends to width of the screen : how to fix?
  • took out the
    <div style="margin-bottom:15px">
    and replaced it with bottom margin on both tables, which seems to separate them from each other okay on small screens

prayer table code

>>Prayer start here<<

Amen

"From >>SOURCE
>>Prayer start here w/ italics for Latin

Amen.

From the >>SOURCE
{|style="vertical-align:top; float:left; margin-right:25px; margin-bottom:15px; border:solid 1px; background-color:#eaecf0;" 

!style="padding:15px;"|>>Prayer start here<<
Amen
|-
|style=font-size:75%;|<center>"From >>SOURCE</center>
|-
|}

{|style="vertical-align:top; float:none; border:solid 1px;" 
!style="padding:15px;"|''>>Prayer start here w/ italics for Latin''

''Amen.''
|-
|style="font-size:75%;"|<center>From the >>SOURCE</center>
|-
|}
<br>

notes

  • >> needs a <br> to separate Notes from prayer tables
  • 1st table has float:right; 2nd does not
  • div provides margin at bottom of prayer tables to avoid floating right


notes table code

{|style="font-size:85%; width:65%; margin-left:35px; border:solid 1px; border-color:#c4ccd4; background-color:#f0f2f4;"
|Notes:
* note 1
* note 2
|-
|}

Notes:
  • note 1
  • note 2