text coming outs its div

Discussion in 'HTML & Website Design' started by Riots, Sep 19, 2008.

  1. #1
    hey all I parsed my blog feed. My page is http://www.graffintheno.com/new/ I have a new layout im creating right now. What i having an issue with is it keeps on coming out its div. I have included a php on my index page to parse the blog.
    My include page
    <div class="rss"><?php
     
     
    require('simplepie.inc');
    $feed = new SimplePie("http://blog.graffintheno.com/?feed=rss2");
    $feed->handle_content_type();
    foreach ($feed->get_items() as $item) {
    echo '<h3><a href="'.$item->get_permalink().'">';
    echo $item->get_title().'</a></h3>';
    }
     
    Code (markup):
    what I used to style this
    .rss { 
      font-size: .9em;
      
    }
     
    .rss h3 {
      font-size:.9em;
    }
    .rss h3 a{
      
    }
     
    .rss h3 a:hover{
      color: #000000;
    }
    .rss p,
    .rss h3 
           { 
    	      padding-bottom:0px;
    	    }
    .rss h3 {
         margin-top: 0px;
    }
    Code (markup):
    If anyone could be of assistant I appreciated it..
     
    Riots, Sep 19, 2008 IP
  2. DnixDesigns

    DnixDesigns Peon

    Messages:
    9
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    not sure if you can fix it while keeping the gradient there. whats happening is that the div has a fixed height, and there is too much text to fit in that box. only sollution i can think of at the moment is to dump the gradient and just make it have a solid color background and change the height of the dove to auto.
     
    DnixDesigns, Sep 19, 2008 IP
  3. Riots

    Riots Active Member

    Messages:
    374
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    83
    #3
    look at this one http://graphilthyclothing.com/ its also has a fixed height i did this one too. But cant remember how i fixed it. Someone had helped me here on dp and i cant remember the user. but ill try what yu said nd see how it goes.
     
    Riots, Sep 20, 2008 IP