Jump to content

Problem getting form to have NO margin NO padding


cgm225

Recommended Posts

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.

Link to comment
Share on other sites

* { 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.  :-\

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.