Tried all the resettings and added the css to remove default margins from elements and still have the issue.

Michael Horowitz
Your Computer Consultant
http://yourcomputerconsultant.com
561-394-9079



Tijmen Smit wrote:
Add this -> #mainNav ul {margin:0; padding:0;} to your stylesheet. Also have a look at css reset -> http://www.search-this.com/2007/03/12/no-margin-for-error/ , that prevents you from running into stuff like this,

Theres also no such thing as "left center;" :)

Regards,
Tijmen

On Wed, Jul 30, 2008 at 9:05 PM, Michael Horowitz <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    I have a div within that div I have a menu set as a ul followed
    right underneath by an image.  Currently there is unwanted space
    between the list elements and the image.  There doesn't seem to be
    any padding or margins that would cause this.

    I am including my current css for this div

    #mainNav{
      padding-left: 10px;
      padding-right: 10px;
      height: 600px;
      width: 230px;
      float: left;
      font-size:8px;
     }

    #mainNav ul a {
      margin:0;
      padding:0;
      display:block;
      line-height:45px;
      text-decoration:none;
      color:#000000;
      background:url(../images/button3.jpg);
      text-indent:35px;
      left center;
    }

    #mainNav img {
      float: right;
    }

-- Michael Horowitz
    Your Computer Consultant
    http://yourcomputerconsultant.com <http://yourcomputerconsultant.com/>
    561-394-9079



    *******************************************************************
    List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
    Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
    Help: [EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>
    *******************************************************************



*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to