Spacing Problems

Dec 26, 2006

I aqm trying to do some spacing on a form between two text input fields
within a <td>. It works on IE but not FF or Opera :-

var spacer = document.createElement("span");
spacer.style.width = "3pt";
td.appendChild(spacer);

I have tried :

spacer.setAttribute( "style", "width:3pt");

as well but that does not work either.

Whats the best way of doing spacing in DOM without using tables.

View 1 Replies


ADVERTISEMENT

How To Add Spacing Between Columns

Jun 21, 2011

This looks as it should except that it needs more spacing between the columns. How would I do that?

<script type="text/javascript">
/* <![CDATA[ */
var numRows = "10";

[code]....

View 1 Replies View Related

JQuery :: Superfish Spacing Between Modules/Row Height?

Jun 25, 2009

I'm definitely not a coder, don't know very much about css, know nothing about Java Script.So that said, I'm trying to make the table row height smaller on a Joomla! site with Superfish menu module, and have managed to do that a bit, but not as much as I wanted to, (don't even know how I did it now!) but ended up with space between the H3 module header/title, and menu content items, and also at the end of each menu to the header of the next. Purpose in changing row height is to save 'real estate' so I have to close up these gaps. Plus it looks weird.[URL]...

View 3 Replies View Related

Jquery :: Expand / Collapse DIV Spacing - DOM Affected?

Jan 18, 2010

I've created the following page: [URL]. When you click on the "More" or "Close" links to expand and collapse the grey content boxes they start to impact the layout - try clicking them a couple of times to see. I've tried heaps of combinations but can't figure this out. Something must be adversely affecting the DOM.

View 2 Replies View Related

JQuery :: Datepicker Plugin - Icon Seems To Have No Padding/margin/spacing Between The Input Box And The Image

Nov 22, 2010

I have successfully implemented the Datepicker plugin but am having very difficult problems with the image alignment of the calender icon.

The icon seems to have no padding/margin/spacing between the input box and the image, and is also not aligned correctly.

I have viewed the documentation but can see no reference on how formatting is achieved.. I looked at jquery-ui css (redmond) and can see no reference to how this is aligned.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved