Jump to content

how do i get the images on this code to float left


deansaddigh

Recommended Posts

As above really i have this code and i need the images to float to the left of each other.

 

<div class='icons'><img src='images/noSmoking.jpg' alt='No smoking'></div>


<?			if ($cottageResults[0]{'pets'} == 'checked')
		{
?>				<div class='icons'><img src='images/Pets.jpg' alt='Pets allowed'></div>				
<?			}
		else
		{
?>				<div class='icons'><img src='images/noPets.jpg' alt='No pets'></div>


<?			}

		if ($cottageResults[0]{'linen'} == 'linen' || $cottageResults[0]{'linen'} == 'both')
		{
?>
			<div class='icons'><img src='images/linen.jpg' alt='Linen provided'></div>
<?			}
?>
<?			if ($cottageResults[0]{'linen'} == 'towels' || $cottageResults[0]{'linen'} == 'both')
		{
?>
			<div class='icons'><img src='images/towels.jpg' alt='Towels provided'></div>
<?			}
?>
<?			if ($cottageResults[0]{'changeOver'} == 'Friday')
		{
?>				<div class='icons'><img src='images/friday.jpg' alt='Friday changeover'></div>
<?			}
		if ($cottageResults[0]{'changeOver'} == 'Saturday')
		{
?>				<div class='icons'><img src='images/saturday.jpg' alt='Saturday chnageover'></div>
<?			}
		if ($cottageResults[0]{'parking'} != 0)
		{
?>				<div class='icons'><img src='images/parking.jpg' alt='Parking available'></div>
<?			}
?>

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.