Forum Replies Created

Viewing 7 replies - 16 through 22 (of 22 total)
  • Thread Starter magicfun1

    (@magicfun1)

    anyone?

    Thread Starter magicfun1

    (@magicfun1)

    will it work with just height:100%?

    I have a few problems in IE that I am working on and need some help.

    https://www.refi-home-loan.com

    In IE the categories box on the lower right isn’t in 2 columns with bullets. Firefox looks the way I need it.

    In IE the article pictures (3) of them to the left has a spacing issue where the first header has a space on top (margin?), and doesn’t have a space on the third picture.

    For the life of me, I can’t find it with firebug what the difference is in IE and firefox. Is there some sort of hacks I need to impliment?

    Thread Starter magicfun1

    (@magicfun1)

    Another question about the ul element with the following simple code:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="https://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>test</title>
    
    <style>
    ul	{
    
    	background-color:red;
    
    }
    
    ul li {
    
    	float:left;
    	width:50%;
    
    }
    </style>
    </head>
    
    <body>
    
    <ul>
    	<li>Category 1</li>
    	<li>Category 2</li>
    	<li>Category 3</li>
    	<li>Category 4</li>
    </ul>
    </body>
    </html>

    why isn’t the background of ‘ul’ red? What does one do to keep it red?

    Thread Starter magicfun1

    (@magicfun1)

    Thanks, I think i’ve got this running the way I want.

    Thread Starter magicfun1

    (@magicfun1)

    here is my whole sidebar code, is it correct?

    <div id="right-content">
    			<div class="widgets">
    
    				<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?>
    
    				<?php include( TEMPLATEPATH . '/ad_space.php' ); ?>
    
    					<h4>Categories</h4>
    
    				<ul class="cat-list">
    <?php wp_list_categories('title_li=&hierarchical =0');?>
    </ul> 
    
    				<?php endif; ?>
    
    			</div>
    
    </div>

    It still doesn’t display in two columns.

    Thread Starter magicfun1

    (@magicfun1)

    instead of all the cat_left and cat_right code?

    Thread Starter magicfun1

    (@magicfun1)

    when i plug that in I get this as the output:

    <li><a href="#">Category 1</a></li>
    <li><a href="#">Category 2</a></li>
    <li><a href="#">Category 3</a></li>
    <li><a href="#">Category 4</a></li>
    <ul class="left"> </ul>
    <ul class="right"> </ul>

    It doesn’t wrap it correctly. What am I doing wrong?

    I’m using this code:

    <?php
    				$cats = explode("",wp_list_categories('title_li=&echo=1&depth=0&style=list&hierarchical=1&show_count=1'));
    				$cat_n = count($cats) - 1;
    				for ($i=0;$i<$cat_n;$i++):
    				if ($i<$cat_n/2):
    				$cat_left = $cat_left.'<li>'.$cats[$i].'</li>';
    				elseif ($i>=$cat_n/2):
    				$cat_right = $cat_right.'<li>'.$cats[$i].'</li>';
    				endif;
    				endfor;
    				?>
    				<ul class="left">
    				<?php echo $cat_left;?>
    				</ul>
    				<ul class="right">
    				<?php echo $cat_right;?>
    				</ul>
Viewing 7 replies - 16 through 22 (of 22 total)