•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 423,575 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,422 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 396 | Replies: 3
![]() |
•
•
Join Date: Dec 2007
Posts: 52
Reputation:
Rep Power: 1
Solved Threads: 1
why won't my code work?
everything works except for the margin-bottom.
also this is my html:
everything works except for the margin-bottom.
a.link{
background: orange;
margin-top: 10px;
margin-right: 10px;
margin-bottom: 100px;
margin-left: 10px;
padding: 10px 10px 10px 10px;
}<ul> <li><a href="link.html" class="link">LINK</a></li> </ul>
•
•
Join Date: Mar 2008
Posts: 153
Reputation:
Rep Power: 1
Solved Threads: 19
Try this:
Matti Ressler
Suomedia
li {
margin-bottom: 100px;
}Matti Ressler
Suomedia
If you want your dreams to come true, the first thing you must do is to wake up....
Suomedia - Dynamic Content Management
Suomedia - Dynamic Content Management
![]() |
•
•
•
•
•
•
•
•
DaniWeb HTML and CSS Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Similar Threads
- padding vs margin? (HTML and CSS)
- c++ function that displays at the left margin of the screen a solid square of asteris (C++)
- Manipulating Paper orientation, size & margin in Data Report... Need help.. (Visual Basic 4 / 5 / 6)
- Firefox2.0 and margin-top (HTML and CSS)
- open office: 1. how to set labels bottom margin? 2. how to set all labels to be right (Windows NT / 2000 / XP / 2003)
- Can get margin to work (HTML and CSS)
- Margin below list (HTML and CSS)
- printing is off margin (Python)
Other Threads in the HTML and CSS Forum
- Previous Thread: Website loading Problem
- Next Thread: Help with inline lists for horizontal navigation



Linear Mode