This is part of the code...

<html lang="en">

<style type="text/css">
    * {
        box-sizing: border-box;
        }
    body {
        background-color: #edeff2;
        font-family: 'Noto Serif', serif;
        font-size: 0.5em;
        font-weight: lighter;
        content: \0027;
    }
    .chat_window {
        position: fixed;
        width: calc(100% - 20px);
        max-width: 90%px;
        height: 440px;
        border-radius: 10px;
        background-color: #fff;
        left: 50%;
        top: 50%;
        transform: translateX(-50%) translateY(-50%);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
        background-color: #f8f8f8;
        overflow: hidden;
        bottom:0;
        }
    .messages {
        position: relative;
        list-style: none;
        padding: 20px 10px 0 10px;
        margin: 0;
        height: 400px;
        overflow: scroll;
        }
    .messages .message {
        clear: both;
        overflow: hidden;
        margin-bottom: 20px;
        transition: all 0.5s linear;
        opacity: 0;
        font-size: 0.5em;
        }

    .messages .message.left .text_wrapper {
        background-color: #E8EAF6;
        margin-left: 2px;
        }
    .messages .message.left .text_wrapper::after, .messages .message.left
.text_wrapper::before {
        right: 100%;
        border-right-color: #E8EAF6;
        }
    .messages .message.left .text {
        color: black;
        }
    /* resize images */
    .messages .message.right img {
        border-radius: 7px;
        max-height: 100px;
        max-width: 100%
        width:100%;
        object-fit: cover;
        }
    .messages .message.right .text_wrapper {
        background-color: #8C9EFF;
        margin-right: 2px;
        float: right;
        max-width: 85.5%;
        width: auto;
        position: relative;
        word-wrap: break-word;
        word-spacing: normal;
        text-align:justify;
        max-height: 150px;
        height:auto;
        display: inline-block;
        padding: 6px;
        border-radius: 7px;
        }
    .messages .message.right .text_wrapper::-webkit-scrollbar{
        display:none;
    }
    .messages .message.right .text_wrapper::after, .messages .message.right
.text_wrapper::before {
        left: 100%;
        border-left-color: #E8EAF6;
        }
    .messages .message.right .text {
        color: white;
        font-size: 1em;
        }
    .messages .message.appeared {
        opacity: 1;
        }


On Thu, Mar 22, 2018 at 6:06 PM, Anthony <[email protected]> wrote:

> Please show your code. &apos;, &#x27;, or just plain ' should work.
>
> Anthony
>
>
> On Thursday, March 22, 2018 at 9:34:39 AM UTC-4, Maurice Waka wrote:
>>
>> Hi.
>> An unable to display strings such as ; don't, can't, in the view.html.
>> I've tried escaping in the  style body with content: \0027; as directed
>> from this
>> <https://www.toptal.com/designers/htmlarrows/punctuation/apostrophe/>
>> site in vain.
>> I have to refresh the page again for my content to appear.
>> I need your help.
>> Regards
>>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "web2py-users" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/web2py/o6loJy5SGWc/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to