Forum Moderators: coopster

Message Too Old, No Replies

Need some help fitting everything on the page nice

         

knights1

9:27 pm on Jan 24, 2006 (gmt 0)

10+ Year Member



I have 2 problems, 1) when adding images the content that is supposed to be split right goes right but under the image instead of beside and also when i try to add an adsense ad unit to the right side of the page with some other small boxes it sends all the boxes under the content. Sticky me for the URL

Derek

DrDoc

6:31 am on Jan 25, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Sounds to me like an HTML and/or CSS issue and not PHP (unless, of course, your PHP script generates code that jumbles things up).

... all of which are impossible to determine with the limited information provided. How about some brief PHP and/or HTML code?

Twisted Mind

9:22 am on Jan 25, 2006 (gmt 0)

10+ Year Member



probaly just a missing tag or something... show us some code :D

knights1

5:24 pm on Jan 25, 2006 (gmt 0)

10+ Year Member



ok here is the code for one of my pages.

<head>
<title>Goalie Stance</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta name="description" content="Learn about Goaltending. The Ultimate Resource for Goalies">
<meta name="keywords" content="goalie, goalies, goaltending, hockey, goalie instruction, goalie equipment, goalie pads">
</head>
<?php include("menu.php");?>

<h2>Basic Stance</h2>
<p>
Possibly the most important technical aspect for a goalie to master
is their stance. Almost every save or movement innitiates
from your stance. Your stance is a crouched position that you take,
with gloves out, and knees bent. Generally, your stance should
have your legs bend at a 90 degree angle, however each goaltender
must feel comfortable with what they are doing. Keep in mind that
if your knees don't bend enough you will have less power when executing
a push. The goalie should also watch that they do not get into the
habit of having an overly wide stance either. This will also impede his
ability to move laterally, which is never a good thing as a goalie.
A good guide is to have your feet a little more than shoulder width
apart (6-8 inches), but once again the goaltender's comfort comes first.
</p>

<div class="splitcontentleft">
<div class="box">
<img src="images/widestance_200.jpg" height="200" width="200" class="thumbnail" />
<div class="textbox">
Proper Stance Technique
</div>

</div>
</div>

<div class="splitcontentright">
<p>
When it comes to your glove positioning while in your stance be
sure to keep your gloves infront of your body to cover more net.
When you bring your gloves forward be sure not to bring your stick too
far forward or you will find you will be giving up alot of coverage as
your blade will be at an angle to the ice and will deflect pucks into
the net rather than stop them.
</p>

<p>
Though this may sound basic, and it is, it will be the foundation on
which you build your other skills around.
<a href="#" class="top">TOP</a>
</p>

</div>

</div>
<div id="subcontent">
<div class="small box"><img src="images/page_edit.png"> <strong>Note: </strong>If you would
like to contribute by writing goalie articles for GoalierThanThou.com, please <a href="#">contact us</a>.
</div>
<div class="small box"><img src="images/lightbulb.png"> <strong>Quick Tip: </strong> <?php include("quicktips.php");?>
</div>

<?php include("footer.php");?>

The problem is that the content that has been split right and is supposed to site beside the image is to the right but underneath the image.

Derek

Twisted Mind

12:48 pm on Jan 26, 2006 (gmt 0)

10+ Year Member



isnt it so that the img tag has to above the content? anyway you have one </div> tomany