View Single Post
  #9 (permalink)  
Old Jul 30th, 2006, 22:04
AdRock's Avatar
AdRock AdRock is offline
SuperMember

SuperMember
Join Date: Jul 2006
Location: Devon, England
Posts: 565
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Is it possible to align images in a div class?

I got the tutorial from http://www.allsyntax.com/tutorials/P...with-PHP/2.php
so i don't know about the variables.

If i set the limit to 10 it will display 10 records per page

I just tried this basic code and i noticed the first div is displayed but the second is not.

Code: Select all
<html>
<head>
<link href="includes/jack.css" rel="stylesheet" type="text/css">
</head>
<body>
<div class="news" id="top">
<img src="images/jack2.jpg"></div>
<div class="news" id="bottom">
<img src="images/jack1.jpg"></div>
</body>
</html>
I have noticed that if i remove the first div (id="top") then nothing is displayed. It seems that the problem is with the <div class="news" id="bottom">

Last edited by AdRock; Jul 30th, 2006 at 22:37. Reason: update
Reply With Quote