Road
beyond salvation
- 767
- Posts
- 16
- Years
- Aomori, Japan
- Seen Apr 5, 2019
OHH this makes perfect sense! I got it to work perfectly!! Apologies for the long explanation required, but thanks a ton for the help! c:
You should be able to, just have one div that holds the image (But make sure the inside is transparent so you can use a background-color attribute, or else add the color in an image editor) and inside that div place all your text and links.
The thing I can't work out now is how to position the text inside the image, by default it is placed underneath the image.
First of all you want to fill in that transparent background in your image:
![]()
then you want to create a div with that as the background image:
Lucario
Code:[PLAIN][cd="width:653px;height:141px;background-image:url('https://i.imgur.com/BJfd5q8.png');"]Lucario[/cd][/PLAIN]
as you can see your text is now overlayed on the image.
to position and format the text you'd then replace 'Lucario' with something like:
Code:[PLAIN][cd="text-align: center;letter-spacing: 1px;"][cd="color: orange;font-size: 1.7em;padding-top: 20px;"]Lucario[/cd][cd="a;color: white;font-size: 1.25em;padding-top: 25px;"][URL="#"][COLOR="Blue"]Blog[/COLOR][/URL] | [URL="#"][COLOR="blue"]Soundcloud[/COLOR][/URL] | "[quote of the day]"[/cd][/cd][/PLAIN]
which would give you this:
LucarioBlog | Soundcloud | "[quote of the day]"
to center this just wrap it intags
[*CENTER][*css-div="background-color: white; border: black 4px solid; border-radius: 20px; width: 800px; padding: 30px; position: relative;"]
[*cd="background-color: black; color: white; border: transparent; border-radius: 20px; width: 250px; padding: 15px; position: absolute; float: left; transform: rotate(-15deg); top: -15px; left: -85px;"][*SIZE="6"]Hamlet[/SIZE][/cd][*SIZE="6"]Act III, Scene 1[/SIZE]
[*left]To be, or not to be: that is the question:
Whether 'tis nobler in the mind to suffer
The slings and arrows of outrageous fortune,
Or to take arms against a sea of troubles,
And by opposing end them? To die: to sleep;
No more; and by a sleep to say we end
The heart-ache and the thousand natural shocks
That flesh is heir to, 'tis a consummation
Devoutly to be wish'd. To die, to sleep.[/LEFT][/div][/center]
You used a colon following your height:250px rather than a semicolon, so anything after that won't parse.Hi! I've run into an issue trying to stack div's within each other, most notably that the interior one's background color does not seem to be parsing.
Here's the code:
Spoiler:[div=width:250px; height:250px; background-image:url('https://archives.bulbagarden.net/media/upload/thumb/a/a7/405Luxray.png/250px-405Luxray.png');][div=width:75px; height:250px: background-color:#000000; position:relative; left:175px;]Text testing the width of things and therefore must be long[/div][/div]
And the finished product:
Spoiler:Text testing the width of things and therefore must be long
Spoiler:[ css-div="border: 1px inset ; background-color: #C7D9D2; background-image: none; color: #000000; Padding-left: 1px;" ][ css-div="Float: right; padding-right: 8px;" ]
[ URL="https://twitter.com/Kaito_IDF" ][ IMG]https://i.imgur.com/bE5n1YD.png[ /IMG][ /URL]
[ URL="https://instagram.com/kaito_ice.65/"][ IMG]https://i.imgur.com/7JRyTat.png[/IMG][/URL] [ /css-div]
[ COLOR=#C7D9D2]aaaaaaaaaaaa[/COLOR][ IMG]https://www.serebii.net/pokedex-dp/icon/468.gif[/IMG]
[ COLOR=#C7D9D2]a[/COLOR][ FONT=georgia][ I]togekiss; #468 - the jubilee pokemon[/I][/FONT]
[ COLOR=#C7D9D2]aaaa[/COLOR][ IMG]https://www.serebii.net/pokedex-dp/icon/468.gif[/IMG][ IMG]https://www.serebii.net/pokedex-dp/icon/468.gif[/IMG]https://www.serebii.net/pokedex-dp/icon/468.gif[ /IMG]![]()
[ /css-div][/SPOILER][/QUOTE]
i had a question - how do you make the width of my sig smaller? it's probably super obvious/easy, but idk tbh.
here's the code of it if you need it -
tags!
[HTML][div="width: 500px; margin: 0 auto"]stuff[/div]
i tried it out, but i don't quite know where to put it. >.<Add "width: 500px" (adjust accordingly) in css-div. If you want to center it, add "margin: 0 auto" as well. Also, you can post CSS code without having to use spaces if you wrap them inHTML:tags! [HTML][div="width: 500px; margin: 0 auto"]stuff[/div]
i tried it out, but i don't quite know where to put it. >.<
Just add them in your first css-div. Like this:
[ css-div="width: 500px; margin: 0 auto; border: 1px inset ; background-color: #C7D9D2; background-image: none; color: #000000; Padding-left: 1px;" ][ css-div="Float: right; padding-right: 8px;" ]
[ URL="https://twitter.com/Kaito_IDF" ][ IMG]https://i.imgur.com/bE5n1YD.png[ /IMG][ /URL]
[ URL="https://instagram.com/kaito_ice.65/"][ IMG]https://i.imgur.com/7JRyTat.png[/IMG][/URL] [ /css-div]
[ COLOR=#C7D9D2]aaaaaaaaaaaa[/COLOR][ IMG]https://www.serebii.net/pokedex-dp/icon/468.gif[/IMG]
[ COLOR=#C7D9D2]a[/COLOR][ FONT=georgia][ I]togekiss; #468 - the jubilee pokemon[/I][/FONT]
[ COLOR=#C7D9D2]aaaa[/COLOR][ IMG]https://www.serebii.net/pokedex-dp/icon/468.gif[/IMG][ IMG]https://www.serebii.net/pokedex-dp/icon/468.gif[/IMG]https://www.serebii.net/pokedex-dp/icon/468.gif[ /IMG]
[ /css-div][/QUOTE]
thank you so so so so much <3 <3 <3
Hi there! Based off of my findings, I do not think tables are within the limits of what PC allows for CSS, sadly. :(Hello!
I was wondering if I can do tables in CSS?
Right not in my Trade Shop I have 2 columns that showcase Pokémon Sprites. But they're not all the same size, so often the Pokémon in the two columns will be offset. I wanted to add rows, that would adjust to the size of the sprites, but I'm not sure if it's possible, and most things I've copy pasted from the web don't seem to work.
Hi there! Based off of my findings, I do not think tables are within the limits of what PC allows for CSS, sadly. :(
Hello!
I was wondering if I can do tables in CSS?
Right not in my Trade Shop I have 2 columns that showcase Pokémon Sprites. But they're not all the same size, so often the Pokémon in the two columns will be offset. I wanted to add rows, that would adjust to the size of the sprites, but I'm not sure if it's possible, and most things I've copy pasted from the web don't seem to work.