Help

Discussion in 'CSS' started by Xtrapsp, Aug 4, 2011.

  1. #1
    ok im working on http://avoren.com/

    a
    nd im having issues fixing the padding between the video and the text

    heres the CSS:

    (Some of this wont be right as im editing it)



    
    
    #aboutbar {
        padding: 0px;
    
    
        }
      
    #aboutbar  h3 {
        color: #fff;
        font-family: Georgia, Times New Roman Times, Serif;
        font-size: 22px;
        padding: 5px 5px 5px 5px !important;
        margin: 0 0 0 0 !important;
        font-weight: bold;
        font-style: italic;
        text-shadow: 0 0px 0 #e9e5e5;
        }
    
    
    #aboutbar p {
        color: #fff;
        font-family: Georgia, Times New Roman Times, Serif;
        font-size: 14px;
        font-style: italic;
    margin: 0 0 6px;
    align: right;
        } 
    .about_image {
        border: 5px solid #fff;
        float: left;
    }
    Code (markup):
    ty guys
     
    Xtrapsp, Aug 4, 2011 IP
  2. freelancewebaz

    freelancewebaz Well-Known Member

    Messages:
    976
    Likes Received:
    23
    Best Answers:
    1
    Trophy Points:
    145
    #2
    There's not a lot of space to add padding there because the video and text almost consume the full width.  Adding this to your stylesheet will give you some padding between the video and the text.

     
    
    iframe { 
        padding-right: 8px;
    } 
    Code (markup):
     
     
    freelancewebaz, Aug 4, 2011 IP
  3. Xtrapsp

    Xtrapsp Active Member

    Messages:
    716
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    90
    #3
    would i replace iframe with the div tag that the video is in?

    edit: OH MY GOD YOUR A GENIUS :D
     
    Last edited: Aug 4, 2011
    Xtrapsp, Aug 4, 2011 IP