Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Jan 2007
    Posts
    1
    Member #
    14768
    Hi all , Iam facing a problem ,I want a table with 4 columns, in that 2 columns should be text, two columns should consist buttons(span classes). But the column which is having button , is having extra margin(or padding).How can I resolve that.

    HTML Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>
    <HEAD>
    <STYLE type="text/css">
    .asdf{ 
    padding: 1px 10px 0px 10px; 
    display:inline;
    }
    .qwer{
    width:48px;
    }
    .gobutton {
    border: #00329A 1px solid; 
    background: url(X:/images/aral/butt_back.gif);
    min-width:5px; 
    }
    .gobutton4
    { 
    background: url(X:/images/aral/butt_back.gif);
    border: medium none;
    padding-left: 14px; 
    padding-right:6px;
    font-weight: bold; 
    font-size: 8pt; 
    color: #ffffff; 
    padding-top: 0px;
    padding-bottom: 1px;
    font-family: verdana, arial, sans-serif; 
    height: 16px; 
    background-color:transparent;
    white-space:nowrap;
    text-align:left;
    overflow:visible;
    min-Width:1px;
    text-decoration:none; 
    vertical-align:middle;
    }
     
    </STYLE>
    </HEAD>
    <body>
    <table border="1" cellpadding="0" cellspacing="1" bgcolor="#d9e2f0" id="Data">
    <tr>
    <td><span class='gobutton'><input name='submitfilter' type='button' onclick='filter_aral_onclick("""& authList &""");'
    class='gobutton4' value='fdfs' ID="Button1" /></span></td>
    <td style="padding-right:0px">
    &nbsp;&nbsp;<span class='gobutton'><input name='submitfilter' type='button' onclick='filter_aral_onclick("""& authList &""");'
    class='gobutton4' value='I am new to this forum' ID="Button2" /></span>
    </td>
    <td>Iam new to this forum</td>
    <td>fefghghhjrtgrthr</td>
    </tr>
    </table>
    </body>
    </html>

  2.  

  3. #2
    Senior Member raspberryh's Avatar
    Join Date
    Aug 2004
    Location
    Erie, PA
    Posts
    882
    Member #
    7208
    Liked
    1 times
    I think you need to set your margins to 0 for class gobutton4.
    choosy developers choose gif!
    website | paintings | blog


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 03:18 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com