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

  • Home
  • SEARCH
  • 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 8924191
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T07:20:36+00:00 2026-06-15T07:20:36+00:00

I’ve been probing this for hours to no avail. I’m basically converting my site

  • 0

I’ve been probing this for hours to no avail. I’m basically converting my site from the outdated table-setup to a div-setup.

Here is a sample of the kind of thing I had in a table set-up:
http://jsfiddle.net/vxgqE/2/

This is it with a div set-up:
http://jsfiddle.net/G3bNh/

I’ve managed to align DIV’s correctly using the float: left and position: relative properties, but the problem I’m finding is that when the right cell (see link above) grows in height, the left cell grows – this doesn’t happen in a similar situation in a div set-up.

How can I make sure those two middle cells always maintain the same height?

I understand there are tonnes of JavaScript and jQuery solutions out there…but are there any pure HTML/CSS solutions?

Thanks for your input, its really appreciated.

enter image description here
HTML code:

<table>
    <tr>
        <td class="top">
            <!-- image1 !-->
        </td>
    </tr>
    <tr>
        <td class="mid1">
            <p>
                exrc fdbodf nosdf ifd onsdfo nj dfnsn a fnl mfasn saf
            </p>
        </td>
        <td class="mid2">
            <p>
                exrc fdbodf nosdf ifd onsdfo nj dfnsn a fnl mfasn saf
            </p>
        </td>
    </tr>
    <tr>
        <td class="bot">
            <!-- image2 !-->            
        </td>
    </tr>
</table>

Div code:

<html>
<head>


<style type="text/css">
div {border: 1px solid;}

#arrowItem {
position: absolute;
float: left;
width: 100%;
}


#arrowItem-ArrowTop {
background-image: url('img/About-Process_ArrowsTop.png'); 
height: 70px;
width: 300px;
}

#arrowItem-ArrowCenter {
position: absolute;


}

#arrowItem-ArrowBot {
background-image: url('img/About-Process_ArrowsBot.png'); 
height: 70px;
width: 300px;
}

#arrowItem-RightText {
position: absolute;
float: left;
position: relative;
width: 600px;

}

#arrowItem-text1 {
position: relative;
float: left;
width: 300px;
background-color: #d4e0a9; 
border-right: 2px solid #a0b165; 
border-left: 2px solid #a0b165; 
}

#arrowItem-text2 {
position: relative;
float: left;
width: 300px;
}

</style>

</head>
<body>




<div id="arrowItem">
 <div id="arrowItem-ArrowTop">
 </div>
 <div id="arrowItem-ArrowCenter">
  <div id="arrowItem-text1">
   <p>
   1234567812345678
   </p>
  </div>
  <div id="arrowItem-text2">
   <p>
   23456723456789
   </p>
  </div>
 </div>
 <div id="arrowItem-ArrowBot">
 </div>
</div>
  • 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-06-15T07:20:38+00:00Added an answer on June 15, 2026 at 7:20 am

    After literally a day of tinkering I have figured it out myself…and I cant believe it took so long.

    The solution is to use a couple of carefuly placed divs using the left:-300 negative attribute as well as the negative margin attribute. The complete code for my specific project is below:

    <html>
    <head>
    
    
    <style type="text/css">
    div {border: 0px;}
    
    #arrowItem {
    position: relative;
    float: left;
    width: 100%;
    }
    
    
    #arrowItem-ArrowTop {
    position: relative;
    background-image: url('img/About-Process_ArrowsTop.png'); 
    height: 70px;
    width: 300px;
    }
    
    
    #arrowItem-ArrowBot {
    position: relative;
    background-image: url('img/About-Process_ArrowsBot.png'); 
    height: 70px;
    width: 300px;
    left: -300px;
    top: +70px;
    margin-top: -70;
    }
    
    #arrowItem-RightText {
    position: absolute;
    float: left;
    position: relative;
    width: 600px;
    
    }
    
    
    
    #arrowItem-text1 {
    position: relative;
    left: 300px;
    width: 500px;
    }
    
    #arrowItem-text2 {
    position: relative;
    top: -100px;
    width: 300px;
    height: 100px;
    background-color: #d4e0a9; 
    border-right: 2px solid #a0b165; 
    border-left: 2px solid #a0b165; 
    }
    
    #test1 {
    position: absolute;
    top: 0px;
    left: -300px;
    width: 300px;
    padding: 0px;
    margin: 0px;
    height: 100%;
    
    border-right: 2px solid #a0b165; 
    border-left: 2px solid #a0b165; 
    }
    </style>
    
    </head>
    <body>
    
    
    
    
    <div id="arrowItem">
     <div id="arrowItem-ArrowTop">
     </div>
    
     <div id="arrowItem-ArrowCenter">
      <div id="arrowItem-text1">
       <p>
    The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. 
       </p>
       <div id="test1">
       ddd
       </div>
       <div id="arrowItem-ArrowBot">
       </div>
      </div>
    
    
     </div>
    
    </div>
    </html>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a jquery bug and I've been looking for hours now, I can't
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
link Im having trouble converting the html entites into html characters, (&# 8217;) i
For some reason, after submitting a string like this Jack’s Spindle from a text
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
Does anyone know how can I replace this 2 symbol below from the string
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
this is what i have right now Drawing an RSS feed into the php,
I have this code to decode numeric html entities to the UTF8 equivalent character.
I have a French site that I want to parse, but am running into

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.