CSS Relative Positioning Not Working
Adding display:inline-block
seems to fix it:
#drshow { position: relative; display:inline-block }
Why not use floats?
.twitter-timeline {
float: left;
}
#bannerArea {
clear: left;
}
Not sure if the #bannerArea
is where you want to clear, but it's a start! One major advantage is that the layout will adjust if the visitor's screen is too narrow to display both horizontally. You can also apply the float to other major elements, and you don't need to worry about relative or absolute positioning.
If #twitterfeed is position:relative
, #drshow must be position:absolute
to achieve this.
#drshow {
position: absolute;
top: 0px;
left: 30px;
}