Design and CSS styles
Version 7.x > Design and CSS styles > image not repeating in table cell View modes: 
User avatar
Member
Member
dbraun-pediatricweb - 8/2/2013 3:30:56 PM
   
image not repeating in table cell
Hi, I am using a table for laying out some content and the background image will NOT repeat-y within two cells. Background images repeat-x fine in other cells of same table.

Here is css for items that will not repeat:

#mclside {background: url(/PediatricsWest/media/images/mcleftborder.png); background-position: left top; background-repeat: repeat-y;
width: 21px; }
#mcrside {background: url(/PediatricsWest/media/images/mcrightborder.png); background-repeat: repeat-y;
width: 30px; }

Here is table code:
<table cellspacing="0" style="width: 100%"><tr><td style="vertical-align: top; width: 21px; height: 92px;"><div class="tclend"></div></td><td style="vertical-align: top;"><div class="tcmiddle"><h1 class="whitetitle">Home</h1></div></td><td style="vertical-align: top; width: 30px;"><div class="tcrend"></div></td></tr><tr class="mclside"><td style="vertical-align: top;"><div id="mclside"></div></td><td style="vertical-align: top;"><div id="secondcontentmidsection">
</div></td><td style="vertical-align: top;"><div id="mcrside"></div></td></tr><tr><td style="vertical-align: top; height: 45px;"><div class="bclend"></div></td><td style="vertical-align: top;"><div class="bcmiddle"></div></td><td style="vertical-align: top;"><div class="bcrend"></div></td></tr></table>


Is this a Kentico bug or something?

User avatar
Member
Member
dbraun-pediatricweb - 8/2/2013 4:14:26 PM
   
RE:image not repeating in table cell
Never mind, figured it out.