1 Replies - 581 Views - Last Post: 09 September 2013 - 09:38 AM

#1 codespook  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 148
  • Joined: 31-October 12

no space wanted between pic & menu

Posted 09 September 2013 - 12:00 AM

Below the pic, there should be the nav menu with no space between. I've tried inserting <br> and combining them into <p> and both place the nav menu beside the pic. However, in Dreamweaver, the <div> combines only the photo. If I edit to make the <div> contain the nav menu as well, it places it to the side of the pic. THe nav menu is in a file called nav.php. (All it is is a <ul><li> menu...for a horizontal menu.

Here's the html
<div class="top">

  
<img src="photos/head.jpg" height="195" /></div>
<?php include 'includes/nav.html';
?>




CSS

body {
	background-color:white;
	color:black;
	margin:0;
}

#top {
	height:100px;
	

}





Thanks

Is This A Good Question/Topic? 0
  • +

Replies To: no space wanted between pic & menu

#2 Pogaca  Icon User is offline

  • New D.I.C Head

Reputation: 2
  • View blog
  • Posts: 44
  • Joined: 24-August 13

Re: no space wanted between pic & menu

Posted 09 September 2013 - 09:38 AM

I need PHP code you have.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1