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.
The forum of the forums
4 posters

    customise the background and colour

    iyaaz
    iyaaz
    Forumember


    Male Posts : 350
    Reputation : 8
    Language : English
    Location : London

    Solved customise the background and colour

    Post by iyaaz February 26th 2014, 8:02 pm

    Hello

    i would like to to know how can i customise the background and colour my text in to my forum rules box. 


    customise the background and colour Mhzln4
    Pizza Boi
    Pizza Boi
    Hyperactive


    Male Posts : 2016
    Reputation : 160
    Language : French
    Location : Pizza Hut!

    Solved Re: customise the background and colour

    Post by Pizza Boi February 26th 2014, 8:47 pm

    Hi Very Happy

    You can do that via HTML and CSS Coding. This is an example and have been tested already, so it SHOULD work:

    Code:
    <html>
    <head>
    <style>
    p#rules {
    background-color: black;
      background-img:url('IMG LINK HERE')
    font-family: arial;
      font-size: 20px;
    }
    </style>
    </head>
    <body>
    <p id="rules">The administrator will not be held liable, bla bla bla bla bla</p>
    </body>
    </html>

    You can modify any bit of the code I provided or ADD anything you wish.

    Regards,
    Pizza Boi
    Mati
    Mati
    Active Poster


    Posts : 1928
    Reputation : 331
    Language : HTML, CSS & JavaScript
    Location : Forum Services

    Solved Re: customise the background and colour

    Post by Mati February 26th 2014, 8:54 pm

    You can use such BBCode table.


    Code:
    [table style="background-color: #ECD5D8; border: 1px solid #B40000; border-radius: 3px; color: #BC2A4D; padding: 8px; width: 99%;" cellspacing="0"][tr][td]Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas metus nulla, commodo a sodales sed, dignissim pretium nunc. Nam et lacus neque. Sed volutpat ante id mauris laoreet vestibulum. Nam blandit felis non neque cursus aliquet. Morbi vel enim dignissim massa dignissim commodo vitae quis tellus. Nunc non mollis nulla. Sed consectetur elit id mi consectetur bibendum. Ut enim massa, sodales tempor convallis et, iaculis ac massa. Etiam suscipit nisl eget lorem pellentesque quis iaculis mi mattis. Aliquam sit amet purus lectus. Maecenas tempor ornare sollicitudin.[/td]
    [/tr]
    [/table]

    DEMO:
    Spoiler:
    Pizza Boi
    Pizza Boi
    Hyperactive


    Male Posts : 2016
    Reputation : 160
    Language : French
    Location : Pizza Hut!

    Solved Re: customise the background and colour

    Post by Pizza Boi February 26th 2014, 8:59 pm

    Mati™️ wrote:You can use such BBCode table.


    Code:
    [table style="background-color: #ECD5D8; border: 1px solid #B40000; border-radius: 3px; color: #BC2A4D; padding: 8px; width: 99%;" cellspacing="0"][tr][td]Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas metus nulla, commodo a sodales sed, dignissim pretium nunc. Nam et lacus neque. Sed volutpat ante id mauris laoreet vestibulum. Nam blandit felis non neque cursus aliquet. Morbi vel enim dignissim massa dignissim commodo vitae quis tellus. Nunc non mollis nulla. Sed consectetur elit id mi consectetur bibendum. Ut enim massa, sodales tempor convallis et, iaculis ac massa. Etiam suscipit nisl eget lorem pellentesque quis iaculis mi mattis. Aliquam sit amet purus lectus. Maecenas tempor ornare sollicitudin.[/td]
    [/tr]
    [/table]

    DEMO:
    Spoiler:

    Hi Very Happy

    Or that, lol. I forgot you can use a different type of editing for FM now  Embarassed .

    Thanks for pointing that out, Mati  :wouhou: !

    Regards,
    Pizza Boi
    iyaaz
    iyaaz
    Forumember


    Male Posts : 350
    Reputation : 8
    Language : English
    Location : London

    Solved Re: customise the background and colour

    Post by iyaaz February 26th 2014, 10:46 pm

    solved by Mati
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    Solved Re: customise the background and colour

    Post by Ange Tuteur March 4th 2014, 12:40 am

    Topic solved and archived

      Current date/time is September 22nd 2024, 9:13 pm