Artifacts Gallery Guilds Search Wiki Login Register

Welcome, Guest. Please login or register. - Thinking of joining?
Autumn, 21 Oct 2026 - @116.15
Forum Activity: Four Stars Random | Recent Posts | Guild Recents
News: It's only life! :dog: Guild Events: Weekly zine jam 17: Fashion
Super News: ~~MelonLand's Halloween Profile Design Contest 2026~~
+  MelonLand Forum
|-+  Da Web Revival
| |-+  ✁ ∙ Web Crafting
| | |-+  ☔︎ ∙ I need Help!
| | | |-+  my grids all screwed up and idk what went wrong


« previous next »
Pages: [1] Print Embed
Author Topic: my grids all screwed up and idk what went wrong  (Read 1617 times)
eyntivemd
Newbie ⚓︎
*
View Profile WWWArt


BLEHHHH
⛺︎ My Room

Guild Memberships:
Artifacts:
Pleated SkirtCamisoleStriped Thigh-High SocksCat EarsVisited on Melon's 10th Anniversary!That’s a lot of meteors
« on: Summer, 29 Aug 2025 @083 » Toggle Font Embed

hey im tryna like set up an interests page and i have this grid with some boxes in it with info but the main info box is for some reason stuck on the far right part of the page and no matter what i do it refuses to like move over so idk lol any ideas? https://files.catbox.moe/oamhgz.png

Code
<!DOCTYPE html>
<html>

  <style>
  
  img{
  border: grey outset;  
  background: rgba(161, 88, 77, 1);
  width: 20%
  }
  
  p1{
  color: black;  
  border: grey outset;
  background: rgba(161, 88, 77, 1);;
  justify-self: left;
  width: 20%
  }
  
  body{
    background: linear-gradient( rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ), url(funni.png);;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    }
  
    
  .interest1{
    background: rgba(245, 73, 39, 0.3);
    border: grey outset;
    display: grid;
    width: 70%;
    grid-template-rows: repeat(3);
    padding: 5px;
    }
    
  .text{
    grid-row-start: 1;
    grid-row-end: 4;
    border: grey outset;
    text-align: left;
    }
    
  .favch{
    grid-row: 2 / 3;
    }
  
  </style>

  <body>
  
  <center>

      
      <div class="interest1">
    
        <img src="viynl.png" class="favch">
        
        <div class="text">
        
          <p2> pony:3 </p2>
        
        </div>
      <p1>
        <div class="name">MLP</div>
      </p1>
      <p1>
        <div>fav ch: vinyl scratch</div>
      </p1>
      
      </div>
      
    
  </center>
  
  </body>
  
</html>

Logged

:ozwomp: EYNTIVEMD :ozwomp:

Artifact Swap: old-timey tunes~♪
MediocreMetastasis
Sr. Member ⚓︎
****
View Profile WWWArt


Wishlist Skelecool: Remnants Please!!!
⛺︎ My Room
Itch.io: My Games

Guild Memberships:
Artifacts:
Joined 2025!
« Reply #1 on: Summer, 29 Aug 2025 @254 » Toggle Font Embed

I fiddled with the css to make it work. I added grid-template-columns: 20% 1fr; which gives the profile 20% of the box and the main text box the rest of the area. I made the img and p1 elements have 100% width and gave the text class 50% (I think you can increase it to 100%)
Spoiler
Code
	  <style>
	  
	  img{
	  border: grey outset;  
	  background: rgba(161, 88, 77, 1);
	  width: 100%;
	  }
	  
	  p1{
	  color: black;  
	  border: grey outset;
	  background: rgba(161, 88, 77, 1);;
          width: 100%;
	  }
	  
	  body{
	    background: linear-gradient( rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ), url(funni.png);;
	    background-repeat: no-repeat;
	    background-size: cover;
	    background-attachment: fixed;
	    }
	  
	    
	  .interest1{
	    background: rgba(245, 73, 39, 0.3);
	    border: grey outset;
	    display: grid;
	    width: 70%;
	    grid-template-rows: repeat(3);
            grid-template-columns: 20% 1fr;
	    padding: 5px;
            justify-content: center;
	    }
	    
	  .text{
	    grid-row: 1 / span 3;
            grid-column: 2;
	    border: grey outset;
	    text-align: left;
            width: 50%;
            justify-self: center;
	    }
	    
	  .favch{
	    grid-row: 2 / span 1;
	    }
	  
	  </style>
[close]

Logged


Artifact Swap: Sad DoggoNeutral Doggo
eyntivemd
Newbie ⚓︎
*
View Profile WWWArt


BLEHHHH
⛺︎ My Room

Guild Memberships:
Artifacts:
Pleated SkirtCamisoleStriped Thigh-High SocksCat EarsVisited on Melon's 10th Anniversary!That’s a lot of meteors
« Reply #2 on: Summer, 29 Aug 2025 @267 » Toggle Font Embed


I fiddled with the css to make it work. I added grid-template-columns: 20% 1fr; which gives the profile 20% of the box and the main text box the rest of the area. I made the img and p1 elements have 100% width and gave the text class 50% (I think you can increase it to 100%)
Spoiler
Code
	  <style>
	  
	  img{
	  border: grey outset;  
	  background: rgba(161, 88, 77, 1);
	  width: 100%;
	  }
	  
	  p1{
	  color: black;  
	  border: grey outset;
	  background: rgba(161, 88, 77, 1);;
          width: 100%;
	  }
	  
	  body{
	    background: linear-gradient( rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ), url(funni.png);;
	    background-repeat: no-repeat;
	    background-size: cover;
	    background-attachment: fixed;
	    }
	  
	    
	  .interest1{
	    background: rgba(245, 73, 39, 0.3);
	    border: grey outset;
	    display: grid;
	    width: 70%;
	    grid-template-rows: repeat(3);
            grid-template-columns: 20% 1fr;
	    padding: 5px;
            justify-content: center;
	    }
	    
	  .text{
	    grid-row: 1 / span 3;
            grid-column: 2;
	    border: grey outset;
	    text-align: left;
            width: 50%;
            justify-self: center;
	    }
	    
	  .favch{
	    grid-row: 2 / span 1;
	    }
	  
	  </style>
[close]

yes dude this is amazing thanks alot
and awsome signature too  :ozwomp:

Logged

:ozwomp: EYNTIVEMD :ozwomp:

Artifact Swap: old-timey tunes~♪
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