margins

While coding, how many columns do you format for?

in the old days everything was 80 columns. so if you wanted your code to be readable, you'd make it fit. but that's not the case anymore with wider and wider screens, so how long of line is too long? ...

Information on how to use margins

I need some info on how to use margins and how exactly "padding" works: For example: should I put a line to occupate the whole width of the page (no matter what resolution is used to display the web page) letting just a small border on each side, how could I put this? Thank you! ...

Yui, how to remove the margins for a 2 column layout?

I want the 2 columns to touch ie. remove the margins, how can I do this? My code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <TITLE>testing</TITLE> <!-- css --> <link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.5.2/build/reset-fonts-grids/reset-fonts-grids.css"&gt; <!-- js...

Color margins in VIM

Does anybody know how I can get diff's color margins in VIM (if it is possible)? I mean something like this: (e.g., in NetBeans: Netbeans color margins). It was very useful when I was working with NetBeans, maybe somebody wrote such useful plugin for VIM? Thanks! ...

How can I completely remove the Margin of textboxes in HTML/css

I have the following HTML <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title></title> <style> .box { border:solid black 1px; padding:0px; margin:0px; } </style> </head> <body> <form id="form1" runat="server"> <input class="box" style="width:300px;" /><br...

Abstract margins in LaTeX

Hi, I'm new to LaTeX and I've got a \begin{abstract} ... \end{abstract} section and I want to change the margins so the text looks more condensed and centred on the page. I need some code that will do this, without stuffing up the margins for the rest of the document. ...

In CSS, getting a logo to position over a central layout and stick out to the left?

Hello there, I'm really stuck here... I have a site layout with a central layout (it's about 922px width, centered on the page)... I have a little logo that is to the top left of this, but it sticks about 10 pixels to the left of the central design. If you can imagine, it sort of sticks out to the left of the design... Now, I was told ...

Unable to turn off automatic margins by termcap in Mac

I need to turn automatic margins off according the following statement from Screen's manual in my Mac If your terminal is a "true" auto-margin terminal (it doesn't allow the last position on the screen to be updated without scrolling the screen) consider using a version of your terminal's termcap that has ...

Custom margin settings for figure in LaTeX

I have a fairly large figure in a LaTeX document. This figure is too large for the left and right margin of the document. This results in the figure being placed flush with the left margin, and way beyond the right margin. What I want is to do, is center the figure on the page. Can I do this, e.g. by setting a different left margin for t...

CSS margin strange behavior, why ?

Having the HTML below <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml"&gt; <body> <div style="width:400px;height:200px;background-color:Gray;margin-bottom:10px;"></div> <div style="width:400px;height:200px;back...

How to set margins 0 on print preview?

Where am i doing wrong? This is the normal print preview: But I want to see this picture (without dragging margin arrows) This is the css codes and preview: ...

Dealing with the "double margin" problem between GUI elements

While creating GUIs I've come across the "double margin" problem several times, where two elements have the same margin defined and end up being spaced twice as far apart as I intended. One solution I use is to define the margin on only some sides of the element (for example, only on the top if I expect elements to be stacked vertically...

jQuery Screen Resolution Height Adjustment

In order to better balance out a page I am working on I would like to find a way to increase the top margin of a DIV depending on the screen resolution. What is my best way to set these dimensions with jQuery or Javascript? Thanks in advance. Brad ...

How to set a top margin only in XAML?

I can set margins individually in code but how do I do it in XAML, e.g. how do I do this: PSEUDO-CODE: <StackPanel Margin.Top="{Binding TopMargin}"> ...

Extra padding or margin coming from where??

October Landing Page I'm having a couple issues on a page I'm developing. In the page above you'll see three boxes toward the bottom of the page - two are the same format and the third has it's own problems. Box 1 & 2 (the ones without borders) PROBLEM: somehow the list items have some extra left padding (apparently) that is not speci...

WPF Remove Margin Animation Programmatically

How do I remove the margins of two sides of a stackpanel in an animation storyboard so it looks like the stackpanel has moved from the code behind? I need to do it in the code-behind because the number of stackpanels i use this animation on differs at runtime. Thanks :o) ...

Swing GUI components too tighly packed

Hi, In the Java Swing app I made it seems to me that all the component are too tightly packed. In QT one can specify padding and margins for the layout. Is there something similar for swing? Here is a screen shot of my application that I thing is too tight (is it? what do you think?. Thanks. ...

Is there a standard for code margins?

Similar Questions While coding, how many columns do you format for? What is a sensible maximum number of characters per line of code? Do people still live by the 80 column rule? The 80 column limit, still useful? By code margins I am referring to the lines that guide how long a particular line of code is. Different IDEs hav...

ie7 and ie8 ignore "margin:0px auto;"

http://blog.helpcurenow.org I'm working on the development of this blog and it seems ie7 and ie8 both are displaying the content so that the container seems to be ignoring the "margin:0px auto;" rule. It could be something else I'm just not getting, but either way the effect is that the content (as well as the navigational links) are f...

Setting page margins in Rave Reports

I am using Rave Report to print my reports in Delphi. Is there a way i can set the page margins(left, right, top and bottom) for printing my reports? please help me.... ...