inherit
97216
0
Nov 26, 2024 13:53:14 GMT -8
Bennett 🚀
Formerly iPokemon.
3,622
January 2007
catattack
iPokemon's Mini-Profile
|
Post by Bennett 🚀 on Feb 17, 2015 17:39:32 GMT -8
Hi there, I'm trying to use this but it doesn't seem to be working for me. I have an original post Here and a version using Style Tags Here. The Style Tags version doesn't appear to be styling anything, clearly I'm doping something wrong (and probably simple). Here's my code: [table style="width:600px"][tbody]
[tr][th colspan=2 style="padding:3px 5px;text-align:center;vertical-align:top;"][img src="http://www.archersofunderwood.co.uk/wp-content/uploads/2012/10/HeaderImg2.jpg" alt=" " style="width:400px"][/th][/tr]
[tr][th colspan=2][attr="class","bog-event-header"]Archers of Underwood Great Curry Shoot 2015[/th][/tr]
[tr][td][attr="class","bog-event-attribute"]Date:[/td][td][attr="class","bog-event-value"]Sunday, 29th March 2015[/td][/tr]
[tr][td][attr="class","bog-event-attribute"]Venue:[/td][td][attr="class","bog-event-value"]Caerleon Comprehensive School,
Cold Bath Road,
Caerleon,
Newport,
NP18 1NF[/td][/tr]
[tr][td][attr="class","bog-event-attribute"]Map:[/td][td][attr="class","bog-event-value"][a href="https://www.google.co.uk/maps/place/Caerleon+Comprehensive+School/@51.6095846,-2.9644441,15z/data=!4m2!3m1!1s0x4871e7076fc65dd5:0x6ccfd7a847df561d"]Map[/a][/td][/tr]
[tr][td][attr="class","bog-event-attribute"]Round:[/td][td][attr="class","bog-event-value"]Portsmouth (5 dozen @ 20yds, 60cm face)[/td][/tr]
[tr][td][attr="class","bog-event-attribute"]Entry Fee:[/td][td][attr="class","bog-event-value"]Adults £12.00
Juniors £10.00
Spectators £ 3.00
Price includes a Curry lunch[/td][/tr]
[tr][td][attr="class","bog-event-attribute"]Closing Date:[/td][td][attr="class","bog-event-value"]15th March 2015[/td][/tr]
[tr][td][attr="class","bog-event-attribute"]Entry Form:[/td][td][attr="class","bog-event-value"][a href="https://www.dropbox.com/s/q5pxjcfft29cbf5/2015-03-29%20-%20Entry%20Form%20-%20Underwood%20Curry%20Shoot.pdf?dl=0"]2015-03-29 - Entry Form - Underwood Curry Shoot[/a][/td][/tr]
[/tbody][/table]
[newclass=".bog-event-header"]
border :1px solid #000000;
padding :3px 5px;
background :#000066;
color :#ffffff;
text-align :center;
font-size :2em;
vertical-align:top;
[/newclass]
[newclass=".bog-event-attribute"]
border :1px solid #000000;
padding :3px 5px;
background :#99ccff;
color :#000000;
width :150px;
text-align :center;
[/newclass]
[newclass=".bog-event-value"]
border:1px solid #000000;
padding:3px 5px;"
[/newclass]
Any help would be greatly appreciated. Attr tags only work inside [ div] elements ;0
|
|
inherit
97216
0
Nov 26, 2024 13:53:14 GMT -8
Bennett 🚀
Formerly iPokemon.
3,622
January 2007
catattack
iPokemon's Mini-Profile
|
Post by Bennett 🚀 on Feb 17, 2015 17:41:21 GMT -8
Make sure the code tags plugin is at the bottom of your plugins.
|
|
inherit
216642
0
Feb 19, 2015 7:12:17 GMT -8
hackerjack
10
December 2014
hackerjack
|
Post by hackerjack on Feb 17, 2015 23:11:39 GMT -8
I tried putting tags inside the table cells, that also failed to work.
[tr][td][div][attr="class","bog-event-attribute"]Date:[/div][/td][td][div][attr="class","bog-event-value"]Sunday, 29th March 2015[/div][/td][/tr]
|
|
inherit
216642
0
Feb 19, 2015 7:12:17 GMT -8
hackerjack
10
December 2014
hackerjack
|
Post by hackerjack on Feb 17, 2015 23:13:57 GMT -8
In fact this on it's own doesn't work either:
[div][attr="class","bog-event-header"]Archers of Underwood Great Curry Shoot 2015[/div]
[newclass=".bog-event-header"]
border :1px solid #000000;
padding :3px 5px;
background :#000066;
color :#ffffff;
text-align :center;
font-size :2em;
vertical-align:top;
[/newclass]
|
|
inherit
97216
0
Nov 26, 2024 13:53:14 GMT -8
Bennett 🚀
Formerly iPokemon.
3,622
January 2007
catattack
iPokemon's Mini-Profile
|
Post by Bennett 🚀 on Feb 18, 2015 12:37:13 GMT -8
In fact this on it's own doesn't work either: [div][attr="class","bog-event-header"]Archers of Underwood Great Curry Shoot 2015[/div]
[newclass=".bog-event-header"]
border :1px solid #000000;
padding :3px 5px;
background :#000066;
color :#ffffff;
text-align :center;
font-size :2em;
vertical-align:top;
[/newclass]
I don't know how well that CSS definition is going to go through the parser, so sticking it all on one line or getting rid of all of those spaces between the property and the colon might help too. I don't see any problems otherwise, you haven't changed any templates that would screw with that stuff. EDIT: Adding a [nospaces] tag to your post once might fix that problem though. The [newclass] tag doesn't particularly allow for new lines, which is why it's getting weird CSS output.
|
|
inherit
216642
0
Feb 19, 2015 7:12:17 GMT -8
hackerjack
10
December 2014
hackerjack
|
Post by hackerjack on Feb 18, 2015 23:47:16 GMT -8
Indeed it was the line breaks that broke it. Thanks for your help.
|
|
inherit
205200
0
Jun 25, 2015 6:36:45 GMT -8
Kouryuu
1
February 2014
kouryuu
|
Post by Kouryuu on Mar 18, 2015 9:12:28 GMT -8
Heya iPokemon! I love the capabilities and possibility with this plug in..I wonder. Besides div tags, can it do classes? Like instead of repeating the div tag over and over...It can do jcink's equalivant to er...maybe I should show you what I mean.
This thing... -points to below- <style type="text/css"> .toptitle {
text-align:center;
text-transform: uppercase;
font-family: "Times New Roman";
font-size: 25px;} </style>
So when instead I don't need to do the whole div tag...the jcink example I could do...
<div class="toptitle">TITLE HERE</div><br>
instead..
So is it possible? IF so..how do you do it? Basically you seem to allow div styles..but does this allow div classes?
|
|
inherit
97216
0
Nov 26, 2024 13:53:14 GMT -8
Bennett 🚀
Formerly iPokemon.
3,622
January 2007
catattack
iPokemon's Mini-Profile
|
Post by Bennett 🚀 on Mar 18, 2015 13:20:18 GMT -8
Heya iPokemon! I love the capabilities and possibility with this plug in..I wonder. Besides div tags, can it do classes? Like instead of repeating the div tag over and over...It can do jcink's equalivant to er...maybe I should show you what I mean. This thing... -points to below- <style type="text/css"> .toptitle { text-align:center; text-transform: uppercase; font-family: "Times New Roman"; font-size: 25px;} </style> So when instead I don't need to do the whole div tag...the jcink example I could do... <div class="toptitle">TITLE HERE</div><br> instead.. So is it possible? IF so..how do you do it? Basically you seem to allow div styles..but does this allow div classes? Check out the documentation / guide to answer that question
|
|
inherit
207280
0
May 21, 2020 11:39:11 GMT -8
RileyCasper
12
March 2014
rileycasper
|
Post by RileyCasper on Mar 29, 2015 15:37:23 GMT -8
So I seem to have a problem that a lot of other people are having, when copying the code and pasting elsewhere (no matter where, strait to the reply or into Notepad++) it loses all its spacing (enters).
I tried moving my plugins around, but that didn't work. It may be that I'm using ff as I have not tried it on any other browser. It's just rather troubling as my work computer only has ff, and we aren't allowed to download anything else.
|
|
inherit
97216
0
Nov 26, 2024 13:53:14 GMT -8
Bennett 🚀
Formerly iPokemon.
3,622
January 2007
catattack
iPokemon's Mini-Profile
|
Post by Bennett 🚀 on Mar 30, 2015 15:38:54 GMT -8
So I seem to have a problem that a lot of other people are having, when copying the code and pasting elsewhere (no matter where, strait to the reply or into Notepad++) it loses all its spacing (enters). I tried moving my plugins around, but that didn't work. It may be that I'm using ff as I have not tried it on any other browser. It's just rather troubling as my work computer only has ff, and we aren't allowed to download anything else. And are you using the code tag that I provided or what? Kind of hard to diagnose without a URL.
|
|
inherit
207280
0
May 21, 2020 11:39:11 GMT -8
RileyCasper
12
March 2014
rileycasper
|
Post by RileyCasper on Mar 31, 2015 9:12:06 GMT -8
Yes, the code tag you provided. As I said, I figured it was just using firefox as I tried it on my home computer with google chrome and it works fine. <.< Darn you browsers! rileycasper.boards.net/
|
|
inherit
97216
0
Nov 26, 2024 13:53:14 GMT -8
Bennett 🚀
Formerly iPokemon.
3,622
January 2007
catattack
iPokemon's Mini-Profile
|
Post by Bennett 🚀 on Mar 31, 2015 15:56:48 GMT -8
Yes, the code tag you provided. As I said, I figured it was just using firefox as I tried it on my home computer with google chrome and it works fine. <.< Darn you browsers! rileycasper.boards.net/Okay, then I'll look into a more cross-browser friendly select, or I'll just put it in a textarea because the select all for textareas is cross-browser.
|
|
inherit
207280
0
May 21, 2020 11:39:11 GMT -8
RileyCasper
12
March 2014
rileycasper
|
Post by RileyCasper on Mar 31, 2015 16:37:09 GMT -8
Thank you so much!
|
|
inherit
114253
0
Sept 23, 2024 7:58:54 GMT -8
Teg
Can't Wait for V6
3,157
November 2007
teg
|
Post by Teg on May 9, 2015 3:34:27 GMT -8
Is there anyway this could possibly be updated to add a divider separately for locked threads and sticky locked threads? So basically a separator for announcements, sticks, sticky locked, and locked?
|
|
inherit
97216
0
Nov 26, 2024 13:53:14 GMT -8
Bennett 🚀
Formerly iPokemon.
3,622
January 2007
catattack
iPokemon's Mini-Profile
|
Post by Bennett 🚀 on May 9, 2015 18:35:57 GMT -8
Is there anyway this could possibly be updated to add a divider separately for locked threads and sticky locked threads? So basically a separator for announcements, sticks, sticky locked, and locked? I fail to see what this has to do with style tags? Please elaborate.
|
|