padding

Why are IE6 and IE7 not completely showing this div?

I'm having problems in IE6 and 7 with a div that doesn't complete the bottom padding that is attributed to it, so doesn't appear to finish the div down to the white content area like required. Here's the coded homepage with the problem. http://qwibbledesigns.co.uk/preview/Softwear/ The div house's this content: Services : Design, Xht...

css - get rid of spaces between spans

I'm trying to emulate a tab bar with html I'd like the width of each tab to be set according to the text lenght (that is, no fixed width) and to word wrap in case it exceeds the screen width I've almost achieved it <html> <head> <style type="text/css"> #myTabs .tab { float: left; } #myTabs .tab_middle { margi...

IE8 padding-bottom not appearing on scrollable div

I have been looking for a solution to an IE8 issue regarding padding on a div with overflow: auto. When the content is scrollable IE8 doesn't seem to honour the bottom padding. An example of the issue can be seen here http://jsfiddle.net/Gbp5U/ (issue only appears in IE8) In IE8 when the content is scrolled to the bottom there is a bott...

CSS: Chrome and Safari seem to 'add' border to width, while IE, Firefox & Opera don't

Hey guys, I'm trying to achieve cross-browser consistency for my website, but I have been trying all day now and its driving me nuts (0.38 am here in Europe now..). It's about this page: http://www[insert-dot-here]geld[insert-dash-here]surfen[insert-dot-here]nl/uitbetalingen.html (please note that I prefer this URL not to be made crawlab...

AES code throwing NoSuchPaddingException: Padding NoPaddin unknown

The following code is a try to encrypt data using AES with asymmetric key: import java.io.OutputStream; import java.math.BigInteger; import java.security.Key; import java.security.KeyFactory; import java.security.interfaces.RSAPrivateKey; import java.security.interfaces.RSAPublicKey; import java.security.spec.RSAPrivateKeySpec; import j...

Unwanted White space (poss padding) for wordpress site on Internet explorer 6

Hi there, I have unwanted White space about the header image but this only visable from IE 7 back, IE 8 and other browsers display it perfectly. If anyone could point me in the right direction of how to correct this then that would be fab. Thanks in advance tim ...

Android: Making padding dynamic in a FrameLayout

Hi, I'm following an example where the author hard coded a paddingTop to 370px. ... How do I make that paddingTop dynamic? When I run this in 2 AVDs with HVGA and WVGA80 I get the frame floating at different heights. I'd like to say something like paddingTop=80%, but that doesn't work... Thanks! llappall ...

Padding in 24-bits rgb bitmap

Hi, could somebody explain to me why in 24-bit rgb bitmap file I have to add a padding which size depends on width of image ? What for ? I mean I must add this code to my program (in C): if( read % 4 != 0 ) { read = 4 - (read%4); printf( "Padding: %d bytes\n", read ); fread( pixel, read, 1, inFile ); } ...

XHTML Column Padding Bug

Try setting the padding of <td> to more than 1px, you can't. You can only specify 0 or 1px padding for this td. But why ? It's same in both transitional and strict document types. http://www.pro-turk.net/xhtml_col.html ...

CSS gaps between image links for no reason

Hi, I've been trying to get this horizontal navigation sorted for the past few hours now and nothing is working. I've tried reset.css stylesheets, *{padding: 0; margin: 0) etc. and I still have gaps inbetween my image links. You see, the navigation is made up of an unordered list of image links displayed inline, but there are gaps in b...

Extra padding in Chrome and Safari

Safari and Chrome seem to be adding extra padding/margins in regards to the text within the boxes at one of the pages within my website. What can I do to make it appear the same way it does in Firefox and IE? ...

Firefox ignoring padding

I have this CSS code: #tweet-container{ width: 290px; height: 272px; border: 1px solid #CCC; color: #CCC; font-size: 28px; text-align: center; letter-spacing: -2px; min-height: 10px; display: table-cell; vertical-align: middle; padding: 15px; } But firefox doesn't seem to recognize the top and bottom padding. Safari and Ch...

Winforms, creating padding when using Dock properties.

How do I add padding, or some space between the textboxes when using dockstyle.top property? for(int i =0; i< 10; i++) { textboxes[i] = new TextBox(); textboxes[i].Dock = DockStyle.Top; mypanel.Controls.Add(textboxes[i]); } The code above puts textboxes right beneath each other. Can't figure this out without using mass pa...

Padding between images doesn't pad

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml"&gt; <head> <style type="text/css"> #action-icons { float:right; } #action-icons.img { position:relative; top:-30px; padding-right:200px; } </style> </head> <body> ...

Remove JButton padding in MigLayout

I have a small "popup" like this: But I don't want the padding around the button, I want it to be as small as it can be with the supplied text. btn.setMargin(new Insets(1, 1, 1, 1)); panel.add(lbl, "wrap"); panel.add(btn); frame.pack(); frame.setVisible(true); At least this doesn't work... Can this be achieved on MigLayout or shoul...

what's the difference between padding and margin?

In W3 CSS and also in XUL/CSS? (not between CSS and XUL/CSS). ...

Scrolling Textbox Content Overflows into padding area

How can I stop my scroll bar and the text when scrolled from appearing in my top padding area. I am new to Microsoft Expression Web and CSS and I am very frusterated with this. Here's what I have so far but as mentioned above the text still wants to scroll into the top 75px of padding as well as the scroll bar is permantly displayed th...

How to replace string of digits with a padded version of that string in regular expression substitution?

I've got a string of digits that is either 4 or 5 digits long and it needs to be padded with "0" till it's 6 digits long. Is this possible? I'm using .Net framework. ...

extra padding/Margin in Firefox+CHrome None in IE

There is 20px margin/padding below the catmenuconatiner (second navigation bar). This is only showing in firefox and chrome not in IE 6+ Here is the page: www.fish-and-web.blogspot.com Another problem related to the same issue is between the comments. The comment boxes have 15px margin between them. Again, this is only showing in Firef...

BadPaddingException Error in RSA enryption/decryption

hello everyone, I am currently facing an error of BadPaddingException. I am sending the encrypted data from client to server. The server will do the decryption upon received data. Could anyone help me take a look at the codes and point the error, please. client side try{ Cipher c = Cipher.getInstance("RSA"); c.init(Cipher...