Artifacts Gallery Guilds Search Wiki Login Register

Welcome, Guest. Please login or register. - Thinking of joining?
a Summer night - @1.81
Activity rating: Four Stars Posts & Arts: 50/1k.beats Random | Recent Posts | Guild Recents
News: It's the silly things you'll remember :trash: Guild Events: There are no events!

+  MelonLand Forum
|-+  Life & The Web
| |-+  ✁ ∙ Web Crafting
| | |-+  ☔︎ ∙ I need Help!
| | | |-+  sphinx's ongoing n00b questions (currently: overlapping graphics)


« previous next »
Pages: [1] Print Embed
Author Topic: sphinx's ongoing n00b questions (currently: overlapping graphics)  (Read 66 times)
sphinx
Jr. Member
**
View ProfileArt


da doy dought da dasketdall
⛺︎ My Room
SpaceHey: Friend Me!

Guild Memberships:
Artifacts:
Visited on Melon's 10th Anniversary!Joined 2026!
« on: a Summer day » Embed

I used to tinker with myspace, livejournal, and neopets & gaiaonline pages but I've pretty much forgotten everything I learned from back then. I'm starting a simple page for my vintage pony collection as a springboard for re-learning stuff. Here's what I have so far:

https://stellaluna.neocities.org/home

It goes without saying that a lot of what I have so far is a simple base that I modified the heck out of. Right now the thing that's stumping me is I want to have Autumn Skye there in the far right to mostly overlap the image at the top but I don't know how to do that yet. My impulse is to go in and combine the graphics in photoshop as a single .png with transparent bits, but I know I'm not learning anything if I do that. So any help is appreciated.

I'd also like to have every page's heading ("Stellaluna's Pony Page", for example) to overlap the image at the top but one thing at a time.

I will surely have more questions later but this is the focus right now.

« Last Edit: a Summer day by sphinx » Logged

i'm your only friend, not your only friend
but i'm a little glowing friend
but really i'm not actually your friend
https://stellaluna.neocities.org/brakad.png

Artifact Swap: HamtaroLisasimpsonVisited on Melon's 10th Anniversary!
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:
Bug!You're a Star!Flinstone VitaminI got robbed by Dan Q on Melonland!Always working hard!Known Apple shill
« Reply #1 on: a Summer day » Embed

So the way you'd do this in classic CSS is to put both the header image and your pony image in a DIV, set the div as position "relative", then set the pony as position "absolute". Absolute position will always be absolute relative to the nearest parent "relative" position element.

With inline CSS, it would look like this for you! (see the attached screenshot too)
Code
<div style="position: relative;">
<img src="g3_background.png" style="width: 100%;">
<img src="autumn_skye.png" style="position: absolute;bottom: -50px;right: 20px;"></div>
Then you can just tweak the bottom and right values of your pony to get it where you want it; its position should scale with your page too depending on how you code the header width in.




* Screenshot 2026-08-20 at 15.37.53.jpg (190.15 kB, 1500x586 - viewed 7 times.)
Logged


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

Artifact Swap: Red TulipLurbyhere comes the bapSmile on, rainbow flower!Plank
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 MelonLand Editor Recent Edits Tenement Arcade Want to Login or Join ? Forum Art Hub Chat Webring Web Guides Graphics Catalogue Wiki Newsletters Image Stream
Melon's Sites TamaNotchi Textures PixelSea GifyPet MoMG Ozwomp Online Loom Videos Leaky Webring Melonking
Tools Melon Software ArtHub Embed Maker ML Passports
Outlinks Frutiger Aero Forum Onio Club m15o's Web Services 32Bit Cafe iMood Webrings Internet Phone Book HTML Energy Declarations Hackers & Designers
Zap!
Minecraft: Online
Join: craft.melonking.net