Alignment only happening at top.

Discussion in 'CSS' started by dura_killer, Oct 17, 2008.

  1. #1
    The nav bar is not aligning properly.Below is the screenie.

    [​IMG]

    Below is CSS code I am using to target.

    .navigation-m{
    	float: right;
    	margin: 0 0 12px 50px;
    	width: 470px;
    	display: inline;
    background: #000;
    }
    
    .navigation-m span.nav-previous{
    	margin: 0 0 0 10px;
    	padding: 0 0 0 16px;
    	background: url(images/bg-older-posts.gif) no-repeat 0 3px;
    }
    
    .navigation-m span.nav-next{
    	margin: 0 10px 0;
    	padding: 0 16px 0;
    	background: url(images/bg-newer-posts.gif) no-repeat right 3px;
    }
    Code (markup):

    below is the html code.

    <div class="navigation-m">
    					
    					<a href="http://localhost/wordpress/?paged=2"><span class="nav-previous alignleft">Older posts</span></a>					
    									</div>
    Code (markup):
    Please help it get resolved, ofcource you can expect +rep..
     
    dura_killer, Oct 17, 2008 IP
  2. wd_2k6

    wd_2k6 Peon

    Messages:
    1,740
    Likes Received:
    54
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Sorry the screenshot makes no sense to me, I don't understand your requirement.
     
    wd_2k6, Oct 17, 2008 IP