Mekaboo Posted March 4 Share Posted March 4 Hey all!! Trying to delete huge empty space between 2 divs...here is my code: <div class="wrapper"> <div class="page-content"><h1>Welcome <?php echo $username;?></h1></div> <div class="menu"> <ul> <li><a href="profile.php">Profile</a> </li> <li><a href="trip.php">Reservations</a> </li> <li><a href="firms.php">Companies</a> </li> </ul> </div> </div> </div> <div class="container"> <!-- Calendar container --> <div id="calendar"></div> </div> Thank ya!!! Link to comment Share on other sites More sharing options...
Ingolme Posted March 4 Share Posted March 4 If you set the margin of the <ul> element to zero it should remove the space between the divs. The <h1> margin also has an effect and might also need to be set to zero. 1 Link to comment Share on other sites More sharing options...
Mekaboo Posted March 5 Author Share Posted March 5 @IngolmeĀ Thank Yaš§” Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now