Alternative
f i r e f l y .
- 4,262
- Posts
- 16
- Years
- Age 32
- Adelaide, Australia
- Seen Mar 28, 2025
Lately I've seen sigs with text overlapping other text and/or images. any idea on how to do that? I'm assuming it's something about padding?
This question is most likely so simple that I totally overlooked how to do it D:
How can I move the text over in my signature so it's not on the edge of the image?
I went looking for a code that could make this shape:
https://prodimages.branders.com/img...ermanent_Adhesive_1_3_4_x_2_5_8_-30654_bs.jpg
But only found ones that make rectangles, is there a code for making those shapes that I can put text over?
I tried ajusting the padding but I got like half of the image next to the original sig D:
One more question, I've seen some CSS coding that highlights the border of this rectangular shape, is there a code to do that? Or is it not possible?
Sorry my bad ><Well, if you find a more specific definition of what you want, I'll do my best to see what code you're referring to. You didn't offer too much clarity in your latter description.
I'm still learning how to use it properly, and the shadow is not what I'm talking about. I would have used it to see what code it was, but the person changed their theme so I can't use it now :x
Sorry my bad ><
I mean I've seen some CSS with borders around it, the border is a different color from the CSS overall tho.
Sorry once again, not good with explaining things ><
The code I use (If I'm right) is:
border: 3px solid #000000;
[PLAIN][center][div="width:90%; background-color: #CC0000; padding: 5px; border: 1px solid #000; text-align: left;"][size="5"]Welcome to redsaber's hack![/size]
[CENTER]blah[/CENTER]
[RIGHT]blah[/RIGHT][/div][/center][/PLAIN]
Hey, I was directed here by Rukario, he said he didn't know where else so...
Can anybody make me a css template for a hack thread? basic, but can you make one please?
Welcome to redsaber's hack!
blah
blah
background-color: #CC0000; The underlined in this bit of the code can be changed to another hex code for a colour.Code:[PLAIN][center][div="width:90%; background-color: #CC0000; padding: 5px; border: 1px solid #000; text-align: left;"][size="5"]Welcome to redsaber's hack![/size] [CENTER]blah[/CENTER] [RIGHT]blah[/RIGHT][/div][/center][/PLAIN]
Basically, the first part of the code, width:90%;, will make the css 90% wide of the screens width. The background-color: #CC0000; tells the code to make our css have a coloured background, in this case, a red color. Next, we have padding: 5px;, which basically means that all content will be pushed in five pixels from the border. It makes things seem nicer (see spoiler for example).
Spoiler:Without padding.
With padding.
Next, we have the border, border: 1px solid #000. Basically, it means that we want a border, one pixel thick, solid decoration (so it's not dotted or whatever, it's just a straight line), and is black (or #000 (or even #000000)). The reason why I only wrote #000 and not #000000, even though hexadecimal colour codes are assumingly eight characters long, is because if they contain an equally divided amount of colours, they can be 'compressed'. For example, #CC00FF could become #C0F. Either way though, they always need to start with a hash (#). Finally, we have text-align: left;. This means that the text inside the CSS will be to the left by default. You could change that to the right, or to the center. I did this because the CSS is in the centre of the page, which would then make the text inside it go to the centre, but I didn't want that, so, yeah. Last note, I hope you noticed that after every bit of code, there is a semicolon (;). That tells the code we're finished with the last bit of code and are moving on. Furthermore, the whole code is wrapped within some quotation marks: " ".
So hopefully now you didn't tl;dr that and now understand basic CSS. <: