1
Valadorn
Re: Left (menu) block, split <{$block.content}> items to separate lines?
  • 2012/1/25 4:04

  • Valadorn

  • Just popping in

  • Posts: 3

  • Since: 2012/1/24


I was trying to add the display: block; inside the individual blocks code and it wasn't working. I understand it now lol thanks for the help man.



2
Valadorn
Re: Left (menu) block, split <{$block.content}> items to separate lines?
  • 2012/1/24 22:55

  • Valadorn

  • Just popping in

  • Posts: 3

  • Since: 2012/1/24


www.havenswatch.com



3
Valadorn
Re: Left (menu) block, split <{$block.content}> items to separate lines?
  • 2012/1/24 5:36

  • Valadorn

  • Just popping in

  • Posts: 3

  • Since: 2012/1/24


I'm having the same problem and I have tried what you said to do here and neither have worked was wondering if you would take a look at the code and tell me what is going on.


HTML:
<!-- Begin Left Cell -->
    <
td class="leftCell">
      <!-- 
Start left blocks loop -->
      <{foreach 
item=block from=$xoops_lblocks}>
        <
table class="menuCell center" cellpadding="0" cellspacing="0">
          <
tr>
              <
td class="cellMenuBarTopLeft"></td>
            <
td class="cellMenuBarTopMiddle"></td>
            <
td class="cellMenuBarTopRight"></td>
          </
tr>
          <
tr>
            <
td class="cellMenuBarMiddleLeft">&nbsp;</td>
            <
td align="center" class="cellMenuBarMiddle">
              <
table width="170" border="0">
                <
tr>
                  <
td class="menuBlockTitle"><{$block.title}></td>
                </
tr>
                <
tr>
                  <
td class="menuBlockContent"><{$block.content}></td>
                </
tr>
              </
table>    
            </
td>
            <
td class="cellMenuBarMiddleRight">&nbsp;</td>
          </
tr>
          <
tr>
            <
td class="cellMenuBarBottomLeft"></td>
            <
td class="cellMenuBarBottom"></td>
            <
td class="cellMenuBarBottomRight"></td>
          </
tr>
        </
table>
        <
table>
          <
tr>
            <
td>&nbsp;</td>
          </
tr>
        </
table>
      <{/foreach}>
    </
td>


CSS:
td.leftCell {
    
width:200px !important;
    
vertical-align:top;
}

td.menuBlockTitle {
    
color#ffffff;
    
font-weightbold;
    
text-align:left;
    
font-size:11px;    
    
padding-left:40px !important;
    
vertical-align:middle;
    
background-image:url(images/leftcol_bl_title2.gif);
    
background-position:center;
    
height34px;
    
width140px;    
    
background-repeatno-repeat;
}

td.menuBlockContent {
    
color:#e7e7e7;
    
text-align:left;
    
font-size:11px;
    
padding-left:10px;
}




TopTop



Login

Who's Online

143 user(s) are online (105 user(s) are browsing Support Forums)


Members: 0


Guests: 143


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits