Artifacts Gallery Guilds Search Wiki Login Register

Welcome, Guest. Please login or register. - Thinking of joining?
Autumn, 29 Oct 2026 - @5.06
Forum Activity: Four Stars Random | Recent Posts | Guild Recents
News: :defrag: Lo and Behold :defrag: Guild Events: TIME FOR HALLOWEEN CRAFTS!
Super News: ~~MelonLand's Halloween Profile Design Contest 2026~~
+  MelonLand Forum
|-+  Da Web Revival
| |-+  ✁ ∙ Web Crafting
| | |-+  ☔︎ ∙ I need Help!
| | | |-+  The background of this forum?


« previous next »
Pages: [1] Print Embed
Author Topic: The background of this forum?  (Read 4956 times)
bingus_baby
Sr. Member ⚓︎
****
View Profile WWWArt


Baby of the bingus...
⛺︎ My Room

Guild Memberships:
Artifacts:
Great Posts PacmanFirst 1000 Members!Joined 2022!
« on: Spring, 12 Apr 2022 @126 » Embed

I absolutely adore the background of this forum, the way there's clouds with the stars on top! But what I like most is how the stars scroll, but the bg image sticks in place. How would I do that in my own site?

And what kind of element would you call the text boxes in the middle (like the main body text) is called?

Thank you for reading! And sorry if this all has been asked before, I'm pretty new here! ;v;

« Last Edit: Spring, 16 May 2022 @451 by Melooon » Logged

https://t4m4g0tch1.neocities.org/graphics/catsquish.gif
Melooon
Hero Member ⚓︎
*****
View Profile WWWArt


So many stars!
⛺︎ My Room
SpaceHey: Friend Me!
StatusCafe: melon
iMood: Melonking
Itch.io: My Games
RSS: RSS

Guild Memberships:
Artifacts:
Caught by RubbereonYou're a Star!Flinstone VitaminWavy Shoulder-Length Hair with BangsBug!Top Hat
« Reply #1 on: Spring, 12 Apr 2022 @479 » Toggle Font Embed

Hi, welcome to the forum, and glad you like the design!

Its actually a really common trick I use on my sites, the body has a regular background image; then there is an empty <div id="shade"></div> that is fixed and stretched and has the clouds as its background.

There is a bit of a glitch going on here because apparently "100% cover" is not a real setting, but it works so screw it!

Code
body {
 background-image: url('./images/starsky.gif':wink:;
 background-color: black;
 background-size: 150px;
}

#shade {
 float: left;
 width: 100%;
 height: 100%;
 position: fixed;
 top: 0px;
 left: 0px;
 background-image: url('./images/dust-clipart-cloud-smoke-12.png':wink:;
 background-size: 100% cover;
 z-index: -5;
}

I'm not fully sure what you mean by "text boxes in the middle" if you just want to center some content you can put it in a div and set a width and margin like so, then you can give it a background color and border to make it look like it is here!
Code
#mydiv {
 width: 600px;
 margin: 10px auto;
 border: 1px dashed #6b6b6b;
 background-color: #0a0a0a;
}

Hopefully that helps!

Logged


everything lost will be recovered, when you drift into the arms of the undiscovered

Artifact Swap: Have a chillpillRed Tulip
bingus_baby
Sr. Member ⚓︎
****
View Profile WWWArt


Baby of the bingus...
⛺︎ My Room

Guild Memberships:
Artifacts:
Great Posts PacmanFirst 1000 Members!Joined 2022!
« Reply #2 on: Spring, 12 Apr 2022 @718 » Embed

Thank you so much for the help!!! And what I figured out what that what I was looking for is how to use the <table> tags for layout. What I wanted was so I could put all my body text there so it's easier to read. I was able to get it working on my site after looking a few things up and finding out what I was even looking for! And again, thank you for your reply!!

Edit: It doesn't seem to work on my site, though. I have it pasted like this-

Code
body {
 background-color: black;
 color: white;
 font-family: "Consolas", "Menlo", Monospace;
 background-image: url("https://c04x14l.neocities.org/important_graphics/goodnight.gif":wink:;
 background-repeat: repeat;
 background-size: auto;
 text-align: left;
}

#shade {
 float: left;
 width: 100%;
 height: 100%;
 position: fixed;
 top: 0px;
 left: 0px;
 background-image: url("https://c04x14l.neocities.org/important_graphics/starry_overlay.gif":wink:;
 background-size: 100% cover;
 z-index: -5;
}

Is there some kind of a problem, or maybe something interfering?

« Last Edit: Spring, 12 Apr 2022 @730 by Bingus_Baby » Logged

https://t4m4g0tch1.neocities.org/graphics/catsquish.gif
Melooon
Hero Member ⚓︎
*****
View Profile WWWArt


So many stars!
⛺︎ My Room
SpaceHey: Friend Me!
StatusCafe: melon
iMood: Melonking
Itch.io: My Games
RSS: RSS

Guild Memberships:
Artifacts:
Caught by RubbereonYou're a Star!Flinstone VitaminWavy Shoulder-Length Hair with BangsBug!Top Hat
« Reply #3 on: Spring, 12 Apr 2022 @774 » Toggle Font Embed

Skimming your index page, it looks like you didn't put the <div id="shade"></div> on the page, so the style wont do anything :tongue:

It needs to go right after your <body> tag for best results. ALSO You MIGHT sometimes find that there is a blank space at the top where the background does not show, if you run into that make sure nothing is adding margins to the body ^^

Logged


everything lost will be recovered, when you drift into the arms of the undiscovered

Artifact Swap: Have a chillpillRed Tulip
bingus_baby
Sr. Member ⚓︎
****
View Profile WWWArt


Baby of the bingus...
⛺︎ My Room

Guild Memberships:
Artifacts:
Great Posts PacmanFirst 1000 Members!Joined 2022!
« Reply #4 on: Spring, 12 Apr 2022 @854 » Embed

That did the trick! I tried it over on this page https://c04x14l.neocities.org/home.html, but it seems to have frozen the background GIF, which isn't a big deal, but now the cursor glitter trail doesn't work and the page won't scroll.

I really appreciate your help with this!!

Logged

https://t4m4g0tch1.neocities.org/graphics/catsquish.gif
Melooon
Hero Member ⚓︎
*****
View Profile WWWArt


So many stars!
⛺︎ My Room
SpaceHey: Friend Me!
StatusCafe: melon
iMood: Melonking
Itch.io: My Games
RSS: RSS

Guild Memberships:
Artifacts:
Caught by RubbereonYou're a Star!Flinstone VitaminWavy Shoulder-Length Hair with BangsBug!Top Hat
« Reply #5 on: Spring, 12 Apr 2022 @872 » Toggle Font Embed

You need to close the div, its <div id="shade"></div> with nothing inside it!

Logged


everything lost will be recovered, when you drift into the arms of the undiscovered

Artifact Swap: Have a chillpillRed Tulip
bingus_baby
Sr. Member ⚓︎
****
View Profile WWWArt


Baby of the bingus...
⛺︎ My Room

Guild Memberships:
Artifacts:
Great Posts PacmanFirst 1000 Members!Joined 2022!
« Reply #6 on: Spring, 12 Apr 2022 @909 » Embed

That fixed it, thank you so much!!!!!!! I really appreciate your help, my site is going to look so snazzy now!!! ♡

Logged

https://t4m4g0tch1.neocities.org/graphics/catsquish.gif
Pages: [1] Print Embed 
« previous next »
 

Melonking.Net © Always and ever was! SMF 2.0.19 | SMF © 2021 | Privacy Notice | Send Feedback | Supporters ♥ Forum Guide | Rules | RSS | WAP | Mobile


MelonLand Badges and Other Melon Sites!

MelonLand Project! Visit the MelonLand Forum! Support the Forum
Visit Melonking.Net! Visit the Gif Gallery! Pixel Sea TamaNOTchi
@000 Melon
Land
Forum Art Hub Chat Webring Explore Random Recent Tenement Arcade Want to Login or Join ? Web Craft Guide Graphic Catalogue Wiki Help I'm Lost! Link Land Newsletters Image Stream Minecraft: Online
Zap!
Passport Sites tamaNOTchi Asatte Add your site?
Aero Archive Onio Cafe 32 Bit Cafe Status Cafe