Need Help with a Script

Discussion in 'HTML & Website Design' started by maxgates, Jul 28, 2010.

  1. #1
    Hi Guys,

    One person recently paid me to place his widget on my website. My problem is that I want to keep that widget on right sidebar but for some reason, text is getting out of the widget. But if I place the code on the main content area, it seems fine.

    Could someone please help me fix this issue. I tried contacting the advertiser but he is out of town for couple of weeks.

    Please take a look at the following page, I have placed the widget on both content area and right sidebar you can check the problem. Widget is about P&O Cruise. http://www.easydestination.net/test.html

    Here is the code of widget.

     
    maxgates, Jul 28, 2010 IP
  2. bhuthecoder

    bhuthecoder Member

    Messages:
    245
    Likes Received:
    11
    Best Answers:
    1
    Trophy Points:
    43
    #2
    edit width of css in ur stylesheet style.css (line 792)
    
    .widget_sidebar p {
    float:left;
    margin:10px 0 0;
    padding:0 15px;
    width:195px;
    }
    
    Code (markup):
    change width to 100% or remove it.
     
    bhuthecoder, Jul 28, 2010 IP
  3. maxgates

    maxgates Well-Known Member

    Messages:
    213
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    108
    #3
    I removed the width and it worked just fine. Thanks mate you are genius.
     
    maxgates, Jul 30, 2010 IP