Negative padding

When I have 2 buttons into a container, even with a padding 0 they don't actually touch eachother. I want the buttons to the touch almost. I found that setting the padding - 4 worked perfectly.

Is this ok, or that kind of a 'hack' I should avoid?

If it is possible, it is OK. negative margins should not be a problem.we don't talk about hacks stars in IE...

Tags: BlackBerry Developers

Similar Questions

  • ListView causes large empty area below.

    I have a ListView with two entrances and a label underneath.

    ListView causes a large empty space appears below its two entriesm and I can not understand how to get rid of.

    I tried to put a negative padding or margin on the bottom, but nothing helped.

    If I replace the ListView with two LabelFields, it works fine.

    I can't quite think the use cases for a ListView with only two points inside, both currently visible. I might have a better solution if I understood why you want that, but in any case, you can at least work around the problem for now by setting preferredHeight for something. If you know the height of each entry, you can just use it. Standard are 121 pixel, for the moment, so I think ' preferredHeight: 121 * 2 "could function as a quick hack.

  • Negative margins

    I'm trying do tag div with negative margins, then it could overlap with element and in order to avoid the sidebar that appear. My idea is to make a div that will contain the image that will be "glued" to the right side of the body (main div tag have fixed width and auto margins left and right, so that we can see always in centar). Problem is that when I use negative right margin, nothing happens, but when I use negative left margin is works exactly as I want (the photo is pasted on the left side, without the sidebar). Any idea?

    Do the lower-left image in the background image for the html tag, no repeat, position bottom: left.

    Do the top right image the background image for the body tag, no repetition, in the center of the position: top and give it a pretty left canvas so that the center point is aligned as desired.  Otherwise, you could add a wrapper width fixed around the page with padding on the right wide enough for this image and this image as the high background, no repeat, position: right.

  • How to remove the padding of TextFlow?

    Hello

    I went a textflow help s Sprite. I want to remove the padding, so the text uses all available space. How can I do?

    This is a screenshot showing the selected text and the padding (left, right, top, and bottom).

    Screen shot 2010-06-18 at 7.27.28 PM.png

    I tried without results:

    <TextFlow xmlns='http://ns.adobe.com/textLayout/2008'
    fontSize='16' textIndent='0' paragraphSpaceAfter='0'
    paddingTop='0'
    paddingBottom='0'
    paddingLeft='0'
    paddingRight='0' ......
    

    Any ideas?

    If you use Flex, it has its own parameters that may apply. Otherwise, it seems to me that what you are doing should work. I suggest you to check the values of filling on the controller itself, which would negate what is on the TextFlow. If those who are not defined, look at what you use to caress the limits of controller and make sure that it matches the sprite.

    -robin

  • Eliminating the top padding of a Div tag

    I'm going to build my first website, and I want to use a div to hold all my information.  At the top of my site, I want to use a graphic banner; However, I note that there is little space between the upper edge of the div and the chart.  I tried to get into the CSS rule definition to set the padding of the DIV 0, but that doesn't seem to help.  I have also created a rule for the banner itself and set the padding and margin to zero, but it also does nothing.  Out of curiosity sake, I tried the same thing with a line of text, and it worked without any problem.  So my question is, if you use an image how to eliminate the space between the image and the upper edge of the div?

    Also, my margins of the div are set to auto, so I don't know if that would be detrimental to all.

    website.JPG

    Try using a negative margin-top value for the div.

    PZ

  • Changed my password emai on laptop, now I pad does not accept it.

    I changed my password e-mail btinternet on laptop now my I pad will not accept it.

    Hello

    Go to Settings Email change password or delete the account then add it back again.

    If you change the password of e-mail that you need to change it on all your apple devices

    See you soon

    Brian

  • Why, may, my, SIM.  Not, be, read? He is, at, the, UK, ma, I, pad, two, different, love, don't, U.S.., number, tha t, is not, good!

    It's much too American for me in the United Kingdom

    My I phone has a sim card my I have another pad but iPad think that it's one number, it is not and I don't want it to be.

    Why is it so complicated?

    If Apple is to the United Kingdom, why the page continue to the USA when I select UK?

    Hello, whocareswhowins.

    Thank you for using communities of Apple Support. I see you're wondering why your iPad cannot use the 'number' of your operator instead of the telephone number of your iPhone. I'll be happy to explain.

    Put in place the cell data on your wireless access service - Fi + model cell iPad -'Number' of your iPad is used to connect to the data of your carrier plan. It can serve as a means for others to contact you through iMessages on your iPad. Instead, you use an email address or your Apple ID see addition / removal of your phone number in iMessage or FaceTime on your iPad, iPod touch, or Mac for more information.

    Apple - Apple since is based in the United States, the default URL will take you to the US site. In the United Kingdom, the default Apple URL http://www.apple.com/UK

    Take care!

  • I use 3.6 numbers, how do I me negative totals displayed in red?

    I use 3.6 numbers, how do I me negative totals displayed in red?

    Select the cells that you want to apply to conditional formatting, and then open cell formatter:

    Click the button of "conditional formatting":

    Now click on the button 'add rule... '. »

    Now select the option ' inferior to ' under (my screenshot is less than or equal)

    now use 0 (zero) as the inferior to the value to identify negative numbers

    Now click on the "Done" button (to the right of 'add rule... »

  • I can't get my I pad for power on after updateing.

    I have an I pad 32 GB, I went to update it i0s8.4 and when he was through it powered off and now will not power back on.  I tried hard resetting. but that does nothing.  I tried also simply plug to see if it would show a charge and nothing happens or it please help.

    Hello

    Let ios 8.4.1 on main load for at least 2 hours is an old update

    If you have not been to date make sure that your PC is running the latest version of itunes 12.5.1

    Then connect to your PC to update you must keep ios updated for better performance.

    What ipad you have.

    See you soon

    Brian

  • I lost Pad wfi conection

    Hello

    I lost my wifi connection on my I pad after I installed a new router last Monday. The unit has worked fine until today. Can offer you any advice

    Colin

    It wouldn't hurt to clear old network settings, settings > general > reset > reset network settings. So, what happens when you try to connect to the new network?

  • How to save my passwords in some programs on I Pad?

    I have an I Pad, do not know to move Jet, need to know how to record passwords on some sites that I go, using Safari or Chrome, someone knows something I need to do? Help me, I'm new to this. THX

    Safari and Chrome should ask you when you connect to a new location. Check the settings of Chrome under the items at the top right. Safari can be found under settings > Safari, but there is nothing on the record of the passwords explicitly. Note that, if it is a school or work iPad, record of the passwords may be disabled.

  • Is it OK to disable services icloud, icloud photo library and icloud on PC startup disk? There will be negative consequences if I disable?

    Is it possible to disable services icloud, icloud photo library and icloud 10 PC Windows startup disk? There will be negative consequences if I disable these at startup?

    You can uninstall iCloud for Windows completely if you do not use one of its features. If you do, you should let its services run. See what is iCloud for Windows?-Apple Support for more info on what it does.

    TT2

  • Is there a keyboard internal in the I pad pro? I know there is an external, you can buy.

    I am considering buying an I Pad Pro. Y at - it internal keyboard like the others I Pads? The protests focus on the external keyboard, you have to buy separately.

    Thank you

    There is a keyboard on the screen.

    (144551)

  • I charge Pad &amp; apple logo razzia

    Hello

    My pad i conned this logo and the only apple logo to load.

    Hello

    Follow the steps here, including check for any debris loading port and/or contact our Apple support or your Genius Bar reservation if necessary:

    If your iPhone, iPad or iPod touch won't charge - Apple Support

    If your iPhone, iPad or iPod touch won't turn on - Apple Support

  • do not take into account the negative numbers

    I have a column of numbers I would like to add, but I want only to add positive numbers and ignore the negative numbers. How to do?

    I suggest that you use SUMIF.

    The result I got for this formula was 11... -4 was NOT included in the SUM

Maybe you are looking for

  • I forgot my 4 digit number for my iphone how to retrieve or change?

    I forgot my 4 digit PIN for my iphone how to retrieve or change?

  • HP Pavilion 15-ab157nr: SSD for Hp Pavillion 15-ab157nr

    15-ab157nr Hp Pavillion laptop has recently begun to slow get and I think it's from the hard disk. My question is if anyone knows of an SSD that I could use to replace the current HARD drive.

  • How to activate VT (Virtualization Technology) on Thinkpad X 220?

    Hi guys,. Summer a whole day looking in my 220 X BIOS setting to enable VT, can't find it so far, very confusing in Utility Intel it says that my X 220 is capable to VT I have to upgrade to the new firmware from the BIOS but it's always do not have t

  • LifeCam HD-5001 not seen by computer

    I just bought a LC HD-5001 and installed the software from the cd. The computer does not see the camera. I could miss a driver? If so, then where can I find it on the cd? I am running xp sp3. I could add hardware but I need a driver.

  • printer quit printing

    XP Home and Brother MFC210C printer running. Get the message "cannot find the specified path". The printer queue also indicates a local document into it. Will not remove. A second office for printer icon also appears and flashes erratically. Tried to