Login | Register | FAQ
Anonymous

Wrapping text around images not working

+ Post a reply

4 posts Page 1 of 1


Wrapping text around images not working

by ThaFrozone » Sun Aug 12, 2012 2:08 pm

Hi guys,
I am trying to create a news page for my website and have the text wrap around some of the images but the images do not even show up when i look at the page. Why is this? Hope you can help. Thanks.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" lang="en">

<head>

<title> News </title>
<link rel="stylesheet" type="style/css" href="style.css" />
<style type="text/css" />
</style>
</head>

<body>
<h1> News- In and Around the Game </h1>

<h2> PGA Tour News </h2>

<div id="picture1">
<img src="tedpotter.jpg" alt="Ted Potter Jr."
</div>

<p> Ted Potter Jr. Wins It! <br /> <br /> Ted Potter Jr's first PGA tour victory came Sunday in a playoff at the Greenbrier Classic. And guess what? He's got a ticket to the Masters because of the victory. It has just been an astonishing day for the rookie receiving a huge check of 1,098,000. He sunk a huge 4-foot birdie putt to earn this check in a 3 hole playoff against Troy Kelly. He deserved his victory by showing up Sunday and shooting a 64 going -6 for the day alone. How do you win on the PGA tour may I ask? You show up on Sunday and the golfing gods will do the rest. The proud new champion is now under America's watch in the coming tournaments and hopefully he can pull out a couple more wins. Everybody loves an underdog. Well he now has jumped to 51st in the FedEx Cup standings from a horrible 173rd. Potter Jr has opened up many opportunities to succeed. All he needs to do now is focus. </p>

<hr />

<img src="tigerwoods.jpg" alt="Tiger Woods"

<p> Tiger Wins AT&T National <br /> <br /> Woods has won again, reaching his 74th career victory on the PGA tour. He passes the great Jack Nicklaus on all-time wins on the PGA tour to be 2nd to Sam Snead. Tiger's stellar performance had him dueling out the back-nine with Bo Van Pelt. Tiger with his Sunday Red on, won the battle at Congressional birding the 15th with a huge putt. They remained tied until 17, where Van Pelt bogeys and Tiger pars. Tiger up by a shot going onto the 18th; what does he do? He launches a 346 yard drive down the middle of the fairway. If he is not clutch then who is? Bo Van Pelt has no chance and ends up bogeying the hole under pressure. Tiger finishes strong with par and takes home the trophy to add to his other 73. The exciting AT&T National had roars of joy to see Tiger back to way he used to be (minus the women). Are the players scared again of Tiger? Who will stand up? We look to the Greenbrier Classic to answer these questions. </p>

<div id="picture2">
<img src="congressionalcc.jpg" alt="Congressional Country Club"
</div>

<p> Players are ready for Congressional <br /> <br /> The AT&T National is hosted at Congressional Country Club this year and was very promising last time around. The leader at the last time at Congressional was 16 under. The tour players may be ready for a wonderful contest of golf after the tough time at the U.S Open last week. Little renovations have been done to the course since the last time which begs the question of will someone reach 20 under? I do not think so but it could be a historic event at the AT&T National. </p>

</body>

</html>

and here is the css


#picture1 {
float: left;
width: 100px;
}


#picture2 {
float: left;
width: 100px;
}
User avatar

ThaFrozone

  • Posts: 12
  • Joined: Sat Aug 11, 2012 4:19 pm

Re: Wrapping text around images not working

by ThaFrozone » Sun Aug 12, 2012 5:22 pm

Oops! thank you for finding that mistake but the images still will not show up when i put in a closing tag.
User avatar

ThaFrozone

  • Posts: 12
  • Joined: Sat Aug 11, 2012 4:19 pm

Re: Wrapping text around images not working

by ThaFrozone » Sun Aug 12, 2012 9:37 pm

Thank you so much the images have shown up now but the text is not wrapping around them how do you fix this?
User avatar

ThaFrozone

  • Posts: 12
  • Joined: Sat Aug 11, 2012 4:19 pm

Re: Wrapping text around images not working

by ThaFrozone » Tue Aug 14, 2012 12:02 am

thank you so much Cubesquare! that was a huge help.
User avatar

ThaFrozone

  • Posts: 12
  • Joined: Sat Aug 11, 2012 4:19 pm


+ Post a reply

Page 1 of 1

?>