Results 1 to 4 of 4

Thread: Petpage Coding Help

  1. #1
    Gremlin's Avatar
    Joined
    Mar 2018
    Posts
    197
    Userbars
    9
    Thanks
    1,033
    Thanked
    336/97
    DL/UL
    30/0
    Mentioned
    28 times
    Time Online
    24d 17h 38m
    Avg. Time Online
    15m

    Petpage Coding Help

    I'm trying to host a userlookup code on my petpage, but I keep getting an error:

    "Invalid words or disallowed property names found in your style tags: Position"

    I guess this is because userlookup code is allowed to have position style tags, but petpages aren't? Does anyone know a work around?





  2. #2
    Byte's Avatar
    Joined
    Aug 2016
    Posts
    414
    Userbars
    4
    Thanks
    129
    Thanked
    260/128
    DL/UL
    75/0
    Mentioned
    33 times
    Time Online
    22d 21h 36m
    Avg. Time Online
    11m
    /~tines has it on that petpage just fine

    Seems you need to put it in a <textarea></textarea> field, I don't know if that solves the issue/excludes it from the normal filter.

    The css used on the text area for /~tines is:

    textarea {
    line-height: 12pt;
    text-align: justify;
    background: #fff;
    width: 98%;
    margin: 1%;
    padding: 10px;
    border: 1px solid #ccc;
    color: #333;
    }

    Hope that helps

  3. #3
    Gremlin's Avatar
    Joined
    Mar 2018
    Posts
    197
    Userbars
    9
    Thanks
    1,033
    Thanked
    336/97
    DL/UL
    30/0
    Mentioned
    28 times
    Time Online
    24d 17h 38m
    Avg. Time Online
    15m
    Quote Originally Posted by Revelation343 View Post
    /~tines has it on that petpage just fine

    Seems you need to put it in a <textarea></textarea> field, I don't know if that solves the issue/excludes it from the normal filter.
    I had a quick look over the coding on ~tines, and it looks like they put all the position tags in the <div>s rather that within the <style> tag.

    So their one is like:
    <div id="xxx" style="position: absolute;">

    Whereas my one is like:
    #xxx {
    position: absolute;
    }

    But when I try and do it the <div> way, everything breaks Any ideas?

    (PS I hope this makes sense, I only have very basic coding knowledge)





  4. #4
    Byte's Avatar
    Joined
    Aug 2016
    Posts
    414
    Userbars
    4
    Thanks
    129
    Thanked
    260/128
    DL/UL
    75/0
    Mentioned
    33 times
    Time Online
    22d 21h 36m
    Avg. Time Online
    11m
    Quote Originally Posted by Gremlin View Post
    I had a quick look over the coding on ~tines, and it looks like they put all the position tags in the <div>s rather that within the <style> tag.

    So their one is like:
    <div id="xxx" style="position: absolute;">

    Whereas my one is like:
    #xxx {
    position: absolute;
    }

    But when I try and do it the <div> way, everything breaks Any ideas?

    (PS I hope this makes sense, I only have very basic coding knowledge)
    Makes sense. Sent you a PM. Hit me up.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •