Posted by Free CSS Template + Tutorial!
katie 🍃 (#106445)

Warrior
View Forum Posts


Posted on
2019-01-25 23:49:10
This template/tutorial is outdated! Find my new one HERE.




Hrt Icon 8 players like this post! Like?

Edited on 29/12/22 @ 05:04:31 by katie 🌶️ (#106445)

Ater 🐺 [Project] (#206739)

Cursed
View Forum Posts


Posted on
2020-09-13 22:52:46
Aaalso, I'm supposing all would be scrollboxes, yeah? Like, the height is fixed or will it expand?



Hrt Icon 0 players like this post! Like?

Polaroid, the mfing
Pie Lord (#163486)


View Forum Posts


Posted on
2020-09-13 22:55:50
expandable, so when you hover your mouse it goes down, and I'll set how much it does. 5 total yes



Hrt Icon 0 players like this post! Like?

Ater 🐺 [Project] (#206739)

Cursed
View Forum Posts


Posted on
2020-09-13 22:58:13
Ok, so, expandable to full content or a fixed height, scrollable?



Hrt Icon 0 players like this post! Like?

Ater 🐺 [Project] (#206739)

Cursed
View Forum Posts


Posted on
2020-09-13 23:07:18
Ok I for some reason took some time to realise that yeah, to a fixed height. xD Anyways, I need you to delete all the boxes code you have on the document and paste this:



On your den description, paste this:



Deleting all the *



Hrt Icon 0 players like this post! Like?


Edited on 13/09/20 @ 23:11:05 by Ater 🐺 CL DF Madagascar (#206739)

Ater 🐺 [Project] (#206739)

Cursed
View Forum Posts


Posted on
2020-09-13 23:20:08
Btw, I'm using percentages for the width so it won't look funky when the browser window is resized (the width of the big box is the width of the little box * 2 plus double the margin, so it's lined up with the little boxes); however, if you want to use exact pixels, you'd first give the container a width, say, 800px. Then, the little boxes around half, considering the margin between them. So, let's say you wan't a margin of 10px between each. You give Box1 a margin of 10px (10px * 2 = 20px). Now, the total space on margin horizontally would be 10px*4 (2 sides per box), so 40px. 800px - 40px = 760px space for the boxes, dividing that by 2 because it's 2 boxes would be 380px, so Box1 has a width of 380px. This way, the whole width of the container is used up: 10px + 380px + 10px + 10px + 380px + 10px = 800px.
For the large box, considering it has the same margin, 10px, the space used by the margin horizontally would be 20px (because the box has 2 sides). Then, 800px - 20px = 780px, hence, the large box would have a width of 780px.

Just be sure that the width of the little box plus the margin (considering the margin is applied on each side, this is, if the margin is 10px then you count 20px) isn't larger than half of the width of the container.

Hopefully it's not too confusing. x'D



Hrt Icon 0 players like this post! Like?


Edited on 13/09/20 @ 23:23:03 by Ater 🐺 CL DF Madagascar (#206739)

Polaroid, the mfing
Pie Lord (#163486)


View Forum Posts


Posted on
2020-09-14 00:44:09
I think it makes sense! The boxes are working! one last thing though!

how do I make the headers (like the one above the energy/hunger bars) a different color?



Hrt Icon 0 players like this post! Like?

Ater 🐺 [Project] (#206739)

Cursed
View Forum Posts


Posted on
2020-09-14 01:06:06
I think it's either h2 or h3, can't tell you right now because I'm about to head off to sleep and already turn off the computer. xD If none of those work, I'll look at it on the morning!



Hrt Icon 0 players like this post! Like?

Polaroid, the mfing
Pie Lord (#163486)


View Forum Posts


Posted on
2020-09-14 01:10:35
no, that's not the problem. tysm for all your help today



Hrt Icon 0 players like this post! Like?

Ater 🐺 [Project] (#206739)

Cursed
View Forum Posts


Posted on
2020-09-14 11:37:27
I checked and I'm pretty sure it's h3! Did you try adding that to the CSS file?



Hrt Icon 0 players like this post! Like?

Ater 🐺 [Project] (#206739)

Cursed
View Forum Posts


Posted on
2020-09-14 12:48:15
I just double checked some stuff and you need to put !important right after the colour code on h3, like color: #ffffff !important;
Also, on the .table background colour, you have an extra space on the rbga code!



Hrt Icon 0 players like this post! Like?

🐌Snaildog🐕
(HIATUS RETURN) (#213783)

UwU
View Forum Posts


Posted on
2020-09-14 13:04:36
how do i put in images. i need a pools closed meme but for lioden so people know not to give me rabies in october



Hrt Icon 0 players like this post! Like?

Polaroid, the mfing
Pie Lord (#163486)


View Forum Posts


Posted on
2020-09-14 13:39:29
@Becka
Images are able to be inserted with HTML! the code for that is:
Non-clicky
<*img src="URL" width=400>
Clicky
<*a href="URL"><*img src="URL" width=400><*/a>

@Alter what do you mean by headers? don't see any in the code...



Hrt Icon 0 players like this post! Like?

Ater 🐺 [Project] (#206739)

Cursed
View Forum Posts


Posted on
2020-09-14 14:24:42
You'd need to add it, like h1 but h3 instead, you can copy paste the h1 code!



Hrt Icon 0 players like this post! Like?

Iƈαɾ&upsilon
;ʂ [Pastel Ferus] (#135202)

Angelic
View Forum Posts


Posted on
2020-09-14 16:25:10
Goodness I think I need help! I’ve been trying to fix it but nothing has been working for me ! Everything looks good to me, but every time I try and paste it nothing comes up ! Everything just looks like the normal css for Lioden and I have no idea what I’m doing wrong ! I want to know before I continue to work!

- > https://www.dropbox.com/s/4z4ygfpaaihfjow/sweetdreams.css?dl=0



Hrt Icon 0 players like this post! Like?

Ater 🐺 [Project] (#206739)

Cursed
View Forum Posts


Posted on
2020-09-14 16:27:38
You're copying the whole link instead of what is marked by the tutorial, do that and replace it how it says and it should work!



Hrt Icon 0 players like this post! Like?







Memory Used: 653.22 KB - Queries: 2 - Query Time: 0.00083 - Total Time: 0.01151s