When your site gets a visitor and finds that one of your sidebar has been pushed below the posts, he’ll consider your site of not a decent quality and you might lose a regular reader
The ready made templates which are available for Bloggers are from the side of some world class designers but when a blogger places an image, video etc. in the middle of the post and the width of the images/video is more than that space provided, in some versions of Web browser, the sidebar tends to drop ,ie, it slips down blog posts this is also known as float drops.
I had a similar problem when one of my friends said that the left sidebar is dropping for my Minima three column template in some old versions of Internet Explorer. My site is loaded with a lot of stuff and maybe in some web browser my sidebar falls. My site in short was looking a piece of crap without one sidebar.
A normal css definition for a sidebar looks like
{
width: 240px;
float: right;
word-wrap: break-word; /* fix for long text breaking sidebar float in IE */
overflow: hidden; /* fix for long non-text content breaking IE sidebar float */
}
word-wrap:break-word property for fixing long floating text works only in Internet Explorer
Too make your sidebar fixed in one location, add these three CSS properties to the sidebar-wrapper property of your template
{
positon:absolute;
magin-top:0px;
margin-left:0px;
}
So now the code looks like this
{
positon:absolute;
magin-top:1px;
margin-left:1px;
width: 240px;
float: right;
word-wrap: break-word; /* fix for long text breaking sidebar float in IE */
overflow: hidden; /* fix for long non-text content breaking IE sidebar float */
}
This confirms to the Web Browser that the sidebar has to remain fixed at one place only in all versions of the Web Browser. The Sidebar will remain static and should not be affected by any long floating image/text/video.
Thanks for this tip. My blog really looked crappy with Firefox.
ReplyDeleteI tried your sidebar code, and hopefully it works in my blog. However, I experimented and increased my #main width just to check if the sidebar will no longer be pushed down. Unfortunately, it still got pushed down. Do I also need to place some code in the #main? Thanks
Hi topsin!
ReplyDeleteActually all your content is wrapped inside a div called container
You may see it in you css definition
if you increase main{width} then you will have to increae the container{width} same.
Then it will fly up!
Best of luck
This comment has been removed by a blog administrator.
ReplyDeleteashwini khare stole my tips.
ReplyDeletehttp://www.supershiva.blogspot.com
Hi Ashwini,
ReplyDeleteMy 3 column minima has dead sidebar links below the latest (top) post in IE7 browser.
Any ideas??
Thanks!
http://stratoblogster.blogspot.com
bizthin at yahoo dot com
The best one I ever read !!!
ReplyDeletehello, i like this post, outstanding write-up, as usual.
ReplyDeleteThanks. i havent tried the position absolute tag. Just the wordwrap and overflow. Seems okay now
ReplyDeleteThanks you really helped me fix my template in a hurry... appreciate the tips.
ReplyDeleteWow, this post was such a lifesaver! :)) My blog looked out of line in IE but looked normal in FF.. Hahaha, thanks for the info! :P
ReplyDelete~Bunny.
http://onegoldenafternoon.blogspot.com
All the Chanel are from a factory near Paris, each one requires six workers to spend 10 hours to process through to complete a full 180. If you’re into vintage bags, then perhaps you’ll find this Chanel handbags interesting; but if you’re not fond of vinyl handbags, then you shouldn’t be reading this the moment you see the photo. This chanel glasses indeed made from clear vinyl material and it is trimmed in contrast black patent leather for a bit of refined and sophisticated style and design. The strap has 12-inch of drop, enough to carry this with ease over your shoulders.And since this chanel black is vintage, the tag of $2,860 isn’t any more surprising. Be sure that whatever you place inside this clear bag is pleasing to the eye and that it doesn’t include your private stuff. replica Gucci handbags, black chanel and sundry more!
ReplyDeleteFumatul si sex oral e cel mai tare articol de pe Blogu lu fumatoru asa ca intrati si ne vizitati sa cititi despre fumuri, fmatori efecte tigari si mod de preparare.
ReplyDeleteI am still having this problems with this. I am doing everything you say but is still dropping. Am going to rest for a while and try again in a while. Am too stressed to think clearly right now.
ReplyDeleteJeans online.
ReplyDeleteJeansPilot blogspot
eey you did it, you found the way to keep clean my blog, you don't know how many time I spent trying to get this, and finally and thank to you I got it, dude definitely we need to party.
ReplyDeletemy site naijan.com is still dropping I will try your tips when I wake up
ReplyDeleteNice Hack, Just keep them coming...
ReplyDeleteYou SAVED my life. gosh.. i've been hours awake searching for this.. and i didn't figured out the word "absolute". thanks!
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDelete