Home Events! Entrance Everyone Wiki Search Login Register

Welcome, Guest. Please login or register. - Thinking of joining the forum??
November 21, 2024 - @705.95 (what is this?)
Forum activity rating: Three Stars Posts: 35/1k.beats Unread Topics | Unread Replies | My Stuff | Random Topic | Recent Posts    Start New Topic
News: :dive: Are u having fun?? :dive:

+  MelonLand Forum
|-+  World Wild Web
| |-+  ✁ ∙ Web Crafting
| | |-+  ☔︎ ∙ I need Help!
| | | |-+  Repeating Background?? help!


« previous next »
Pages: [1] Print
Author Topic: Repeating Background?? help!  (Read 815 times)
dotmidi
Sr. Member ⚓︎
****


i have grown accustomed to your face...

⛺︎ My Room

View Profile WWW

First 1000 Members!Graduate '23Pocket Icelogist!Pet BatCool Dude AwardJoined 2022!
« on: November 28, 2022 @607.36 »

For some reason my background decides to give a background to my other text and content? Does anyone know how to fix this!!
The actual photo is a functioning repeating background and does work, however it is making a 2nd background, basically?? :sad: :sad:
 grrr :angry:
Pretty sure it has something to do with my style sheet!!
Code
<!DOCTYPE html>
<html lang="en">
  <head>
   <meta charset="utf-8">
   <meta name="viewport" content="width=device-width, initial-scale=1.0">
   <title> tha blog :smile: </title>
   <link rel="icon" href="favicon.png">
   <style>	
     html,body{
     min-height:100%;
     background-image: url("https://sadhost.neocities.org/images/tiles/rrbg.gif":wink:;
    background-color: #cccccc;
     }
     h1,h2,h3{
     color:red;
     text-shadow:4px 4px 6px brown;
     letter-spacing:2px;
     text-indent:50px;
     }
     a{
     color:red;
     text-decoration:underline;
     }
     a:hover{
     color:blue;
     text-decoration:none;
     }
     b{
     color:hotpink;
     }
     i{
     color:blueviolet;
     }
     u{
     color:omg:range;
     font-weight:bold;
     }
     textarea{
     background:cornsilk;
     font-family:georgia,times,serif;
     width:100%;
     height:200px;
     }
     p {
     text-align:justify;
     margin:10px 42px;
     text-indent:25px;
     color:yellow;
     }
     img {
	   float: center
   	margin: 5px;
	   }
     .content{
     background: rgba(0, 0, 0, 0.5);
     margin:20px auto;
     min-width:80%;
     max-width:90%;
     padding:25px;
     color:black;
     font-family:times;
     font-size:25px;
     line-height:120%;
     }
     .center {
     text-align:center;
     padding:20px;
     }
     .center > p {
     color:yellow;
     text-align:center;
     }

     .image1 {
     display:block;
     max-width:99%;
     height:auto;
     margin-left:auto;
     margin-right:auto;
     border:4px solid darkslateblue;
     box-shadow:8px 8px pink;
     }
 
   </style>


* image_2022-11-28_082902276.png (86.01 kB, 549x211 - viewed 79 times.)
Logged

From time to time
I may speak in cliché
It's a sign of my age
What can I say?
Melooon
Hero Member ⚓︎
*****


So many stars!

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

View Profile WWW

Thanks for being rad!a puppy for your travelsAlways My PalFirst 1000 Members!spring 2023!Squirtle!!!!MIDI WarriorMIDI Warrior1234 Posts!OzspeckCool Dude AwardRising Star of the Web AwardMessage BuddyPocket Icelogist!OG! Joined 2021!...
« Reply #1 on: November 28, 2022 @739.63 »

You're setting a background on the html AND the body; thats your issue! Im not totally sure why its causing this exact effect, but I think its telling the browser that both the body and the html should fill 100% of the page at the same time, and thats impossible. I'd avoid styling the html tag unless you really know why your doing it!

So just change:
Code
html,body {
to
Code
body {

 :pc: :pc:
« Last Edit: November 28, 2022 @741.41 by Melooon » Logged


everything lost will be recovered, when you drift into the arms of the undiscovered
dotmidi
Sr. Member ⚓︎
****


i have grown accustomed to your face...

⛺︎ My Room

View Profile WWW

First 1000 Members!Graduate '23Pocket Icelogist!Pet BatCool Dude AwardJoined 2022!
« Reply #2 on: November 28, 2022 @782.81 »

thank you so much melon! :innocent:
knew i could count on u
Logged

From time to time
I may speak in cliché
It's a sign of my age
What can I say?
Pages: [1] Print 
« previous next »
 

Vaguely similar topics! (3)

Any Good Background Pattern Makers?

Started by PainterFightBoard ♺ ∙ Web Crafting Materials

Replies: 4
Views: 759
Last post January 26, 2024 @166.37
by DiffydaDude
tileable backgrounds + public domain images! + frames!

Started by xixxiiBoard ♺ ∙ Web Crafting Materials

Replies: 5
Views: 681
Last post May 17, 2024 @642.14
by TheFrugalGamer
lining up clickable elements on a background

Started by candycanearter07Board ☔︎ ∙ I need Help!

Replies: 1
Views: 51
Last post November 02, 2024 @66.53
by shortround

Melonking.Net © Always and ever was! SMF 2.0.19 | SMF © 2021, Simple Machines | Terms and Policies 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