The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Help Needed — Can't Set up Div Box!
Moon the Silly Girl
post Sep 10 2023, 09:12 AM
Post #1





Group: Members
Posts: 4
Joined: 9-September 23
From: The Milky Way Galaxy
Member No.: 29,046



Hello!

I'll admit, I'm a newbie to HTML and CSS, but not like a newborn newbie lol as for what I need help with, I can't seem to add a profile picture div box right in this area!

IPB Image

I've been trying to get it, and so far the only amount of "progress" I've gotten is getting it on the left side of the top container (below marquee box), yet I can't seem to get it on the right... At all. And even with the left one, it was off-centred (If my memory serves right ☆o(><;)○)

For an example of what I'm trying to add, it'll be an img, like this!

For my site, the link is this! Don't mind how weird it is, please <3

I hope these were enough details, sorry if it wasn't, this is my first post, after all...

Thank you for reading!

This post has been edited by Moon the Silly Girl: Sep 10 2023, 09:47 AM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
coothead
post Sep 10 2023, 12:03 PM
Post #2


Advanced Member
****

Group: Members
Posts: 206
Joined: 12-January 23
From: chertsey, a small town 25 miles south west of london, england
Member No.: 28,743



Hi there Moon the Silly Girl,

putting aside that much of your code comes from the 20th century
the solution to your immediate problem would be to change this...

CODE

.the-section {
   width: 100%;
   height: 430px;  
   display: flex;
   flex-wrap: wrap;
}  

...to this...

CODE

.the-section {
   width: 100%;
   height: 430px;  
   display: flex;
   flex-wrap: wrap;
   background-image: url(RandomThings/a3.gif);
   background-repeat: no-repeat;
   background-size: 138px 150px;
   background-position: 95% 40px;
}  


coothead
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Moon the Silly Girl
post Sep 11 2023, 12:49 AM
Post #3





Group: Members
Posts: 4
Joined: 9-September 23
From: The Milky Way Galaxy
Member No.: 29,046



QUOTE(coothead @ Sep 10 2023, 10:03 PM) *

Hi there Moon the Silly Girl,

putting aside that much of your code comes from the 20th century
the solution to your immediate problem would be to change this...

CODE

.the-section {
   width: 100%;
   height: 430px;  
   display: flex;
   flex-wrap: wrap;
}  

...to this...

CODE

.the-section {
   width: 100%;
   height: 430px;  
   display: flex;
   flex-wrap: wrap;
   background-image: url(RandomThings/a3.gif);
   background-repeat: no-repeat;
   background-size: 138px 150px;
   background-position: 95% 40px;
}  


coothead



Oh my God, thank you so much! It worked!

IPB Image
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 27th April 2024 - 09:33 AM