Hello lovely humans!
I'm playing around with some BBCode for a project and I've run into a bit of a snag. I'm trying to make tiles that are clickable in a design that will link either to another post URL within RPN, to Youtube, etc. I can't seem to figure out how to accomplish this. Usually with HTML you'd just wrap your div tag in an anchor, do your styling, and call it a day, but the anchor tags don't seem to be working like that when I try.
For Example: Let's take a box.
Let's try to wrap it in an anchor:
[a=[URL="https://www.rpnation.com/"]RpNation[/URL]]
BBCode, please...
I'm just curious if this is just a limitation of BBCode, or if there's some way a magical BBCoder has gotten around this? I know I can probably just make the text clickable with a URL tag like it's trying to do itself, but I'd like the whole tile to be clickable if possible.
Thanks in advance for any suggestions you may be able to offer!
I'm playing around with some BBCode for a project and I've run into a bit of a snag. I'm trying to make tiles that are clickable in a design that will link either to another post URL within RPN, to Youtube, etc. I can't seem to figure out how to accomplish this. Usually with HTML you'd just wrap your div tag in an anchor, do your styling, and call it a day, but the anchor tags don't seem to be working like that when I try.
For Example: Let's take a box.
Click Me!
Code:
[border=10px solid #5cbdb9; background:#ebf6f5; Height: 150px; Width: 150px; border-radius:5px; text-align:center; margin: 15px auto; line-height:150px; Color:black;] Click Me![/border]
Let's try to wrap it in an anchor:
[a=[URL="https://www.rpnation.com/"]RpNation[/URL]]
Click Me!
[/a]
Code:
[a=https://www.rpnation.com/][border=10px solid #5cbdb9; background:#ebf6f5; Height: 150px; Width: 150px; border-radius:5px; text-align:center; margin: 15px auto; line-height:150px; Color:black;] Click Me![/border][/a]
BBCode, please...
I'm just curious if this is just a limitation of BBCode, or if there's some way a magical BBCoder has gotten around this? I know I can probably just make the text clickable with a URL tag like it's trying to do itself, but I'd like the whole tile to be clickable if possible.
Thanks in advance for any suggestions you may be able to offer!