Forum:Cellpadding

Can someone please fix the cellpadding (height?) on this template for me? For some reason all the other fields are larger than the Information one (I want the others to be like the latter). ―  T hailog  21:19, 31 January 2007 (UTC)


 * There were a few problems (and some still exist, fixed some with this edit):


 * The cellpadding="4" variable in the  tag is not overwritten by a cellpadding="0" variable in the   tags.
 * There is no "spacing" property in css. Probably you meant "padding" ? (But correctly placed in that the vertical/horizontal padding has to be applied to each cell individually.)
 * All the input cells have  blocks which add their own vertical padding.
 * This could probaby be done much easier with a few definitions in MediaWiki:Common.css. Define the outer table as and then:
 * This could probaby be done much easier with a few definitions in MediaWiki:Common.css. Define the outer table as and then:

.infobox-image { float:center; clear:all; margin:0 0 .5em 1em; width:100%; background:#ffffff; border-collapse:collapse; border:1px solid #999999; line-height:1.5; font-size:95% } .infobox-image table { float:left; margin:0 0 0 0; width:100%; background:#ffffff; border-collapse:collapse; } .infobox-image table td { padding:0 5px; border-top:1px solid #999; border-bottom:medium none solid #999; border-left-style:none; border-left-width:medium; background-color:#f0f0f0; width: 12%; } .infobox-image table td.infoboxcell { width: 68%; } .infobox-image p { margin:0; padding:0; }
 * And then add any other classes and styles to the css and HTML as needed. --Splarka (talk) 02:21, 1 February 2007 (UTC)