Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7617973
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T03:16:46+00:00 2026-05-31T03:16:46+00:00

this is my code.my image dimensions are 1024X768 but i m getting a right-left

  • 0

this is my code.my image dimensions are 1024X768 but i m getting a right-left scroll bar.and when i scroll to right ,i get a black background cutt off from my total image.
Help me out plzz

body {
  background-image: url('stareffect1.jpg');
}
h1 {
  position: relative;
  left: 480px;
}
form #Edit1 {
  position: relative;
  top: 58px;
  left: 341px;
}
form #Edit2 {
  position: relative;
  top: 67px;
  left: 341px;
}
<html>

<body>
  <img src="banner.jpg" width="500" height="70" />
  </head>

  </head>


  <hr/>
  <br/>
  <a href="forum.php">
    <div style="position:absolute; left:347px; top:165px;">
      <img src="images/forum.jpg" />
    </div>
  </a>
  <a href="credits.php">
    <div style="position:absolute; left:481px; top:165px;">
      <img src="images/credits.jpg" />
    </div>
  </a>
  <a href="rules.php">
    <div style="position:absolute; left:615px; top:165px;">
      <img src="images/rules.jpg" />
    </div>
  </a>
  <a href="logout.php">
    <div style="position:absolute; left:740px; top:165px;">
      <img src="images/logout.jpg" />
    </div>
  </a>
  <br/>
  <br/>
  <br/>
  <div style="position:relative; left:339px; top:49px">
    <img src="images/actor.jpg" width="250" height="300" />
  </div>
  <div style="position:absolute; left:600px; top:225px">
    <img src="images/river.jpg" width="250" height="300" />
  </div>



</body>

</html>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T03:16:47+00:00Added an answer on May 31, 2026 at 3:16 am

    Chris is right your html is not well formatted. Try nesting the tags like below

    <html>
    <head>
    
    <style type="text/css">
    
    body 
    {
       background-image:url('redbg.png');
    }
    
    h1
    {
       position: relative;
       left:  480px;       
    }   
    
    form #Edit1 
    { 
       position:relative; 
       top:58px; 
       left:   341px; 
    }
    
    form #Edit2 
    { 
       position:relative; 
       top:67px; 
       left:41px; 
    }
    
    
    </style>
    
    </head>
    
    <body>
    
    <img src="banner.jpg" width="500" height="70" />
    
    <style type="text/css">
    body {background-image:url('stareffect1.jpg');}
    </style>
    </head>
    
    <style type="text/css">
    h1
     {
            position: relative;
            left:  480px;       
            }   
    form #Edit1 { position: relative; 
                   top:    58px; 
                   left:   341px; 
                  }
    form #Edit2 { position: relative; 
                   top:    67px; 
                   left:   341px; 
                  }
    
    </style>
    
    <hr/>
    <br/>
    
    <a href="forum.php"><div style="position:absolute; left:347px; top:165px;"><img src="images/forum.jpg"/></div></a>
    <a href="credits.php"><div style="position:absolute; left:481px; top:165px;"><img src="images/credits.jpg"/></div></a>
    
    <a href="rules.php"><div style="position:absolute; left:615px; top:165px;"><img src="images/rules.jpg"/></div></a>
    <a href="logout.php"><div style="position:absolute; left:740px; top:165px;"><img src="images/logout.jpg"/></div></a>
    
    <br/>
    <br/>
    <br/>
    <div style="position:relative; left:339px; top:49px"></div>
    
    <div style="position:absolute; left:600px; top:225px"> 
    <img src="images/river.jpg" width="250" height="300" />
    </div>
    
    </body>
    </html>
    

    GB

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I use this code: [image setImage:[UIImage imageNamed:@some@2x.png]]; and it work on ios 4.3, but
I've got this image: I want to code this image (just the bar, not
I'm looking for some code to get the dimensions of an image on a
I am using this code to set custom background image for all UINavigationBars. The
I'm trying use this code to get image resolution from file bool GetImageSizeEx(const char
Consider this pseudo code: // an image is initialized UIImage *imagePX = [[UIImage alloc]initWithContentsOfFile:...
this code will not pass the query string to default3.aspx on Image Button ..
Consider this code: var img = new Image(); img.onload = function() { console.log(this.width); };
I have this code for changing the image of a button: - (void)mouseEntered:(NSEvent *)event
When i execute this code to load a image and store in database it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.