cgm225 Posted August 16, 2008 Share Posted August 16, 2008 I have a CSS question... I have a webpage where I post Notes/blog entries, and at the bottom there is a dropdown menu to select how many entries to display. However, I cannot get the dropdown menu to have NO margin and NO padding such that it "sits" against the lower border of the last entry displayed. Any ideas why the drop down menu has a ~4px upper margin/padding? The page is at this location. Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted August 16, 2008 Share Posted August 16, 2008 The problem is the div that contains each of your note/blog entries has a 12px margin on the bottom, this will cause your drop down container to not stick to the bottom of your notes. Quote Link to comment Share on other sites More sharing options...
TheFilmGod Posted August 16, 2008 Share Posted August 16, 2008 * { margin: 0; padding: 0; } /* Use to this to reset ALL html tags to have 0 margin and padding */ Specify margin: 0; padding: 0; for your div/form tag. Lastly, if those things don't work, use negative margins... I'm against this, but it'll get the job done. :-\ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.