meeting-room-booking-system / mrbs-code

MRBS application code
Other
108 stars 56 forks source link

Another little customization #2480

Open jberanek opened 5 years ago

jberanek commented 5 years ago

I tried to insert a text at the bottom of the page to insert useful information. I tried to create a bar like in the header but I couldn't get a text in the middle of the space. Could you help me?

Reported by: simona1974

Original Ticket: mrbs/support-requests/1779

Attachments: https://sourceforge.net/p/mrbs/support-requests/1779/attachment/Footer.jpg

jberanek commented 5 years ago

You probably want to use text-align: center in your CSS.

Original comment by: campbell-m

jberanek commented 5 years ago

Indeed i create css rule

.infbann {
  background-color: #f9fbfc;
  text-align: center;
}

but when i use it

echo "<div class=\"infbann\">\n";
echo "text\n";
echo "</div>\n";

i don't see any formatting, just simple tests

Original comment by: simona1974

jberanek commented 5 years ago

I suggest you use Developer Tools in your browser to see what rules are being applied to the element.

Original comment by: campbell-m