In Manhatten a block measures 200 feet, so each side of the street the frontage of all the stores should total 200 feet.
Go trust a client to make sure the data is correct! Sometimes the block was 130' and sometimes it was 275'. So what I did was add up all the frontages on left and right sides of the page (2 different variables) , divide those number into 200. This way I could multiply the individual store frontage by the result that I got to set the height of the rows in the left and right tables for each store front.
The logic works but the results are not correct. I've checked the frontages and they do add up.
The display in the lower left corner shows the left and right frontage totals. "lm" and "rm" are multipliers that I'm using.
Attachments:
Page 1:
This is what the screen should look like if the client entered the data correctly. Left and right both add up to 200 and the multiplier is one.
Page 2:
Left and right frontages are both short. So I take the multipliers (1.25 for left and 1.42...... for the right), multiply this by the store frontage and use that result to set the height of the table row.
Page 3:
This is where it gets weird. The left, right and multiplier are the same as on page 1, but the south street names got forced to the right.
I first posted this at php and was told that I should wrap the tables, so I added the following to the css:
#map_wrap
{
width: auto;
height: 220px;
}
I add the <div id="map_wrap"> and the </div> to the code and I get the same results as with out the wrap.
The one thing that I have noticed is the tables appear to be a couple of pixels different in height.
”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.
-Mike Kapnisakis, Warner Bros
With your subscription - you'll gain access to our exclusive IT community of thousands of IT pros. You'll also be able to connect with highly specified Experts to get personalized solutions to your troubleshooting & research questions. It’s like crowd-sourced consulting.
We can't always guarantee that the perfect solution to your specific problem will be waiting for you. If you ask your own question - our Certified Experts will team up with you to help you get the answers you need.
Our certified Experts are CTOs, CISOs, and Technical Architects who answer questions, write articles, and produce videos on Experts Exchange. 99% of them have full time tech jobs - they volunteer their time to help other people in the technology industry learn and succeed.
We can't guarantee quick solutions - Experts Exchange isn't a help desk. We're a community of IT professionals committed to sharing knowledge. Our experts volunteer their time to help other people in the technology industry learn and succeed.
Our community of experts have been thoroughly vetted for their expertise and industry experience.
The Fellow title is reserved for select members who demonstrate sustained contributions, industry leadership, and outstanding performance. We will announce the experts being inducted into the Experts Exchange Fellowship during the annual Expert Awards, but unlike other awards, Fellow is a lifelong status. This title may not be given every year if there are no obvious candidates.
The Most Valuable Expert award recognizes technology experts who passionately share their knowledge with the community, demonstrate the core values of this platform, and go the extra mile in all aspects of their contributions. This award is based off of nominations by EE users and experts. Multiple MVEs may be awarded each year.