margins

Margin Problem with Chrome and Firefox 2

Have been searching for a solution to this problem for a while now. I'm creating a Wordpress based site: http://alturl.com/jw2i IE8 and Firefox 3.5 display everything correctly, but Chrome and Firefox 2 is ignoring my margin (margin-right:300px) on the scrolling div. Is there something that can be done to resolve this? Any help will be...

Why don't diametrically opposed margins overlap with a table being involved?

I wonder why diametrically opposed margins (a margin-top following a margin-bottom) between to block elements (eg. divs) are merged, while between a block element and a table, those margins add up. Example: <style> .a { margin-bottom: 18px; } .b { margin-top: 6px; } </style> <div class="a">Foo</div> <div class="b">Bar</div> ...

LaTeX book class: Twosided document with wrong margins

I am trying to write my thesis in latex... Cannot get the layout straight though :? I'm using the following document class: \documentclass[11pt,a4paper,twoside,openright]{book} My problem is: on the odd numbered pages there is a big margin right, and a small margin left - it should be the other way round... (for binding & stuff) I am ...

IE6 list issue - First list on page ignores horizontal margins

Hi Folks, I am creating a store in Magento and have a weird issue with IE6 and the ordered lists on my page. For some reason, IE6 ignores the horizontal margin on my first list. Not the first element in the list but the whole list. I have multiple list on the page. Here is a link to the offending page: http://byerofma.nexcess.net/produ...

How do I get hold of the margins of the Paper when using java printing?

I'm trying to print a JPanel with some painted graphics on it (overriding paintComponent). The graphics is so big that they wont fit on a single page and therefor I'm letting it span across multiple pages. My problem lies within the fact that if I let the user choose the pageFormat/Paper type by calling: PrintRequestAttributeSet aset =...

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? ...

How to add a margin to a CheckedListBox in .NET?

I'm writing an windforms application using .NET (actually IronPython, but that's not relevant), and I have a CheckedListBox object in my GUI. It's working fine, it has about 20 items in a multicolumn layout. But I can't figure out how to give the thing a nice internal margin--I want to insert around 20 or 30 pixels of whitespace ar...

I have a web page that has two divs moving down when resized in IE8. I have set a min width, to no avail... what do I do?

http://www.akben.com/The%20Winton%20Group/contact_us.php I have a set of five divs sitting side to side. The last two move down approximately 20px in IE8 when the page is made smaller from the right hand corner... can anyone point out what I am messing up? Thank you! ...

Is it possible to have a SeekBar's thumb image extend outside the bar?

I have set negative paddings on my custom seekbar so that the round thumb image can go outside the bar, but the thumb isn't rendered out there, is there anyway to force the thumb to be drawn outside those bounds? Sorry guys, I'm new to Android development, and have been tasked with fixing an existing application. The problem is that we ...

UILabel: adjusting margins to match a UITextView

I have a UILabel and if i adjust the size of the text i can make it look loke a UITextView however the left margin is different, on the UIlabel the text is right up against the left border where the UITextView has a slight margin. How do i adjust the UILabel so that when these controls are placed above one another, they look consistent? ...

Latex: Different pages with different margins

Hello everybody! I'm making a latex template for a document type to use at work. For that document, I have two different "commands" one to make the title page; and other to make the rest of the document. The margins that I need in the title page are different from the ones in the rest of the document. Because of that I have some "\setl...

moving text div tags individually

I am trying to move text next to my header, but it is not working using margins - when i try to move it all the text boxes move, even though each text box is a seperate div tag. Here is my code for this part <body> <div id="wrapper"> <div id="header"> <h4><strong>Qtek Australia</strong></h4> <div id="home">Home</div> <div...

To use layout_marginLeft in a button style applied as a theme?

Hi, I used an attribute layout_marginLeft="30dip" in a style defined for buttons. When I apply this style individually for each button, the left margin is placed as I wanted. But then I defined another style inheritting from theme. In this style, I assigned my button style to the attribute android:buttonStyle and applied this as theme. ...

CSS Margins Overlap Problem

Please see my code, I don't understand why the margins of these divs are overlapping. <div class="alignright"> <div class="social"> <a href="#" class="twit"></a> <a href="#" class="fb"></a> </div><!-- social --> <div class="contact"> Get in Touch: <span>+44 10012 12345</span> </div><...

asp controls acting strange

Hi! Im making a site on wich i need to make a search. So i made it like this (check picture) as you can see the asp dropdown lists arent in line with the div (blue box) and they have no css on them... All this happens in FF, in internet explorer the textbox is lowered and the dropdowns are at the correct height... What could be wrong? h...