CSS HELP needed please
-
Hi.
I’m struggling. I have the Social Media Badge widget that I want to include on page templates. I want them to “float” right, with all the rest of the text on the page flowing around it, in the normal way of things.
The problem is that I can float the widget “right” without any problems, but when I do, the rest of the text is pushed down to the bottom of the page. The only solution so far has been to have 2 Div’s with the text in the left Div. This then looks silly after the bottom of the widget when the left div keeps to it’s width.
example – https://www.ukmartin.com/chris-harris/
The Social Meda Badge widgetr is contained within a <div class=”twittersb”> div whereas, to keep the rest of the site “safe” I created the <div class=”entry-content-2″> for the text.
The CSS is:
<
.twittersb {
float:right;}
.entry-content-2 {
width: 465px;
float:left;
margin-left: 5px;
margin-right: 5px;
}
>Can someone please suggest how to get to my desired end-point?
Many thanks in advance for any kind help forthcoming.
Martin
- The topic ‘CSS HELP needed please’ is closed to new replies.