Forums

Sidebar problem.. (3 posts)

  1. sg-GOD
    Member
    Posted 3 years ago #

    Hi guys..

    Im using wordpress 2.x m a kinda new to this..
    I find problem with the sidebar. okay..as for everything, links, blogroll,etc appears fine (not touching the left side of the sidebar or right side too) that looks pleasant..But if i want to put a picture exactly the width of side bar..then the problem arises..it appears a bit right from my desired location..which on the other side, goes out of the side bar. just see for yourself http://www.sg-god.com/blog (the old paper with google adsense in it)
    what should i do? or wjere should i alter the code to put it in place.

    Another problem is im using firefox while browsing and altering the codes so everything looks fine. but when i open the page in Internet explorer, the whole layout looks screwed-up..sidebar goes to the bottom of the page.

    i need help with this also..thanx in advance.

  2. moshu
    Member
    Posted 3 years ago #

    if i want to put a picture exactly the width of side bar.

    Well, you cannot. There is always margins, paddiongs, borders etc. - so the width of your pic has to fit in all those.
    Say, the sidebar is 150ox, and has 2px border, the remaining width is 150-2x2=146. Now if you have a padding of 4px... what reminas is 138. That's the width of the picture that can fit in.

    Oh, and anytime you have something wider - the sidebar will go down. Just search for IE and sidebar down.

  3. sg-GOD
    Member
    Posted 3 years ago #

    Thanx for the reply..yup i undesrstand that.. thanx again :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags