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 6801985
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T19:10:05+00:00 2026-05-26T19:10:05+00:00

* RESOLVED BY INTENSE RESEARCHING * [DOWNLOAD CODE, NO COPYRIGHT =)] .rar file (

  • 0

* RESOLVED BY INTENSE RESEARCHING *

[DOWNLOAD CODE, NO COPYRIGHT =)] .rar file ( always scan before opening .rar – F4LLCON

Problem is that without text the boxes are placed 2 on each row, but with text the boxes
appear under each other with spacing. To get the text in the boxes I used <style> in <head>.

How can I FIX this annoying problem?

IMAGE: LINK

Without the p and h3, both echo text will appear under the box and not in the box IMAGE

Code:

<style>
        p {
        position:relative;
        top:-240px;
        left:180px;
        }
        h3 {
        position:relative;
        top:-270px;
        left:30px;
        }
</style>

and

<div class="offers">
    <div class="content_box">
        <?php
            while($products = mysql_fetch_array($result)) {
                echo '<img src="includes/images/content_box.png" border=0/>';
            //  echo "<h3>" . $products['products'] . "</h3>";
            //  echo "<p>" . $products['description'] . "</p>";
            }   
        ?>
    </div>
</div>

RESOLVED BY DOING:

<STYLE TYPE="text/css">
#title{color:red; padding-bottom: 240px; padding-left: 25px;}
#desc{color:blue; padding-bottom: 135px; padding-left: 5px;}
</STYLE>
</head>

and

<div>
    <?php while($products = mysql_fetch_array($result)) {?> 
        <table align="left" background="includes/images/box.gif" width="473" height="285">
            <tr>
                <td width="35%" height="100%" id="title">
                    <?php echo $products['products'] . "&nbsp"; ?>
                </td>
                <td width="70%" height="100%" id="desc">
                    <?php echo $products['description'];?>
                </td>
            </tr>
        </table>
    <?php
            }   
        ?>
</div>
</body>

This might be easy for some, but I’m new to this.
Now working correctly.

Thank you for giving me directions and Thank you Google and Stackoverflow for so much help =)

enter image description here

  • 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-26T19:10:06+00:00Added an answer on May 26, 2026 at 7:10 pm

    I am asuming that content_box.png is the background for the box right?

    instead of including it in a create it in the background of a div with a class like this

    CSS:

        .product_box {
             bacground:url(includes/images/content_box.png);
             width:xxxpx; /* the width of conrent_box.png */
             height:xxxpx; /* the height of conrent_box.png */
             position:relative;
             float:left;
        }        
    

    php:

        <?php 
            while($products = mysql_fetch_array($result)) {
                echo '<div class="product_box">';
            //  echo '<img src="includes/images/content_box.png" border=0/>';
                echo "<h3>" . $products['products'] . "</h3>";
                echo "<p>" . $products['description'] . "</p>";
                echo '</div>';
            }   
        ?>
    

    Hope it helps!

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

Sidebar

Related Questions

RESOLVED From the developer: the problem was that a previous version of the code
Here is a little problem that cannot be resolved by me such a Linux
I have an XML file (urlrewrite.xml) that needs a property placeholder resolved. I enable
I'm trying to get this resolved in .NET 2.0 and unfortunately that is not
I need to have resource messages that contain EL expressions be resolved when loaded
While I have the problem itself seemingly resolved, I'm hoping someone can shed some
I already posted a similar problem and it was resolved, but now I'm trying
(resolved: see bottom) I have the following code snippet: Protected Sub SqlDataSource1_Inserted(ByVal sender As
Edit 4: The main issue has been resolved - turned out the problem was
Couldn't the diamond problem be resolved just by using the first inherited declaration found?

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.