We help IT Professionals succeed at work.
Get Started

How can I get this image to display correctly?

Bruce Gust
Bruce Gust asked
on
71 Views
Last Modified: 2015-12-26
Head out to http://loosecannonfitness.com/mobile/hammons.php

The iphone graphic is extending past my page and I want it to display within my "actual_text" div.

Here's my HTML

<?php require_once('header.php'); ?>
<div class="body_filler">
	<div class="actual_text"><br><br>
	<img src="../images/hammons.png" class="hammons"><img src="../images/iphone.png" class="iphone">John Q. Hammons Hotels invites you to experience a free workout experience designed by a former Marine that you'll want to hang on to even after you get back to the house!<br><br>Choose either "<a href="http://loosecannonfitness.com/workouts.php" target="_blank">1775</a>," which is primarily calisthenics, or the "<a href="workouts.php" target="_blank">Devildog</a>" workout, which has you using free weights, and enter your email address. You'll receive a link in your inbox that will give you access to a series of audio files that you'll import into your iTunes. Then just hit "play" and buckle up for an amazing workout!
	<br><br><br>
	<div class="conclusion"><form action="hammons_insert.php" method="Post">
		<table style="width:100%;">
			<tr>
				<td><input type="checkbox" name="1775" value="Y"></td>
				<td>"<b>1775</b>" - military style calisthenics. Can be done either in the hotel gym or in your room. Click on the red arrow to the right to hear a sample of "Burpees!"</td>
			</tr>
			<tr>
				<td colspan="2">&nbsp;<br></td>
			</tr>
			<tr>
				<td><input type="checkbox" name="devildogs" value="Y"></td>
				<td>"<b>Devildogs</b>" - weight training session based on German Volume Training. You’ll get an amazing workout with no more than a couple sets of dumbells. </td>
			</tr>
				<tr>
				<td colspan="2">&nbsp;<br></td>
			</tr>
			<tr>
				<td colspan="2">
					<table style="width:100%;">
						<tr>
							<td><b>email address:</b></td>
							<td><input type="text" class="email_address" name="email_address"></td>
						</tr>
					</table>
				</td>
			</tr>
			<tr>
				<td colspan="2" style="text-align:center;">
				<input type="image" src="../images/submit_button.png" class="submit_button">
				</td>
			</tr>
		</table>
	</div>
</div>
<?php require_once('footer.php'); ?>

Open in new window


How can I get my "actual_text" dynamic to encompass the graphic or vice versa so my graphic isn't hanging off the edge?
Comment
Watch Question
CERTIFIED EXPERT
Commented:
This problem has been solved!
Unlock 1 Answer and 4 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE