(#12930) HTML IN modernbb - Page 2 Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.
+5
SarkZKalie
Ape
skouliki
SLGray
Miau
9 posters

    (#12930) HTML IN modernbb

    Miau
    Miau
    Forumember


    Posts : 95
    Reputation : 2
    Language : Portuguese

    In progress (#12930) HTML IN modernbb

    Post by Miau June 29th 2018, 5:01 am

    First topic message reminder :

    Hi
    I need help, I created an alert message in html, but when I changed the version it became so
    http://prntscr.com/k0n19g


    Code used: Mr. Green

    Code:
    <table style="border-left-width: 3px; border-left-style: solid; border-left-color: #23E605; border-right-width: 3px; border-right-style: solid; border-right-color: #23E605; margin: 10px auto; padding: 5px; border-radius: 4px; box-shadow: #FF0000 0px 5px 9px; max-height: 2500px; max-width: 2500px; z-index: 999; min-width: 1px; min-height: 1px; background: url("http://bit.ly/acLmW9");"><tbody><tr><td><img src="https://cdn4.iconfinder.com/data/icons/32x32-free-design-icons/32/Warning.png" alt=""></td><td><strong><font color="red" size="1">A sua <u>Barra de Alerta</u> aumentou em <i><font color="BLUE">10%</i></font> por violar as Regras do Fórum.</strong></font>
    <strong><font size="0">Regras Violadas:</strong>
    1.1 Flood: É proibido o flood. Caracteriza-se:
     -Quando é feito postagens seguidas, ou seja, postagem atrás de postagem;
     -Quando o usuário repete mensagens postadas acima em curto espaço de tempo;
     -Quando o usuário cita uma mensagem dita acima e não escreve nada mais ou faz uso de smileys;
     -Quando o usuário foge do contexto do tópico;
     -Quando são feitas postagens em curto intervalo de tempo em diferentes tópicos (clique aqui para ver um exemplo);
     -Fazer UP em tópico em menos de 24 horas;</font>
    <font color="red" size="1">Evite transtornos, leia as </font><font size="0"><a href="http://www.nwdgames.com/t63857-regras-do-forum" target="_blank"><strong>Regras do Fórum</strong></a></strong></font>
    <strong><font size="1">Atenciosamente,</font></strong>
    <strong><font color="#ff0aff" size="1">COLOQUE_AQUI_SEU_NICK - Coordenador</font></strong>
    </td></tr></tbody></table>
    Wecoc
    Wecoc
    Forumember


    Male Posts : 144
    Reputation : 111
    Language : Catalan, Spanish, English

    In progress Re: (#12930) HTML IN modernbb

    Post by Wecoc August 23rd 2018, 6:55 pm

    I know how to solve this. Insert this in your CSS:

    Code:
    #preview .postbody table, #preview .postbody td, div[class*='post--'] .postbody table, div[class*='post--'] .postbody td {
        border: none !important;
        border-spacing: 0;
    }

    The border-spacing line is not really necessary, but since in other tables its value is 0 I guess it's good to include it too.
    It will affect all tables in posts. If you want tables in posts to remain the same but change it only in the Alert one, you could assign a new class to that table and apply the CSS to that class.

    Also, your HTML could be cleaned a little bit.

    HTML recommendations:

    Hope this helps.
    Miau
    Miau
    Forumember


    Posts : 95
    Reputation : 2
    Language : Portuguese

    In progress Re: (#12930) HTML IN modernbb

    Post by Miau October 7th 2018, 8:19 pm

    I did not understand how I will do to remove the tables just from the alert, can you give me an example? I added the css code and removed all
    @Wecoc
    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19150
    Reputation : 1994
    Language : fluent in dork / mumbojumbo & English haha

    In progress Re: (#12930) HTML IN modernbb

    Post by Ape October 7th 2018, 10:44 pm

    Miau wrote:I did not understand how I will do to remove the tables just from the alert, can you give me an example? I added the css code and removed all
    @Wecoc

    The code will remove all the tables you post.

    We know that this is a bug on our system and it is on the list to be fixed but as it is not a bug that is messing up the systems its self it will be way down the list to be fixed it could be done tomorrow it could be done in 2 or 3 years No one will know

    Until the system is fixed you will always have this problem and there is NO code out there that will truly fix this until we fix it on our servers.



    (#12930) HTML IN modernbb - Page 2 Left1212(#12930) HTML IN modernbb - Page 2 Center11(#12930) HTML IN modernbb - Page 2 Right112
    (#12930) HTML IN modernbb - Page 2 Ape_b110
    (#12930) HTML IN modernbb - Page 2 Ape1010