Tumblr - wrapping text around image - word-wrap

The blog: takekey.tumblr
I'd like the text beneath the 'Rick Hanson' image to run down it's right-hand side with a margin of about 8px.
I found another answer on here, but the solutions are not working for me.
Other answer

Solved. I didn't realise I could get to the html of the post itself.
I just needed to add: img style="float: left; padding: 0px 14px 0px 0px;" before the src

Related

Correct use of Sass parent selector?

I'm trying to make all links on my page have a custom underline similar to this.
Here's what I have so far of a menu that's going to use this feature:
CodePen
The underline, instead of appearing under each link, appears under the "toolbox" div (the link objects' grandparent).
I've tried just making the first CodePen but with the features SCSS allows you (& and nested rules), but I seem to be missing something and won't even show the underline. I'm guessing it has something to do with my use of the parent selector.
How do I make my current code work correctly? If the issue is with my use of parent selectors in general, what is the correct selector to use in this case?
(Stack Overflow is making me put this)
You are using position: absolute in ::after therefore the underline will have absolute position not related to the <a>. Just add position relative to <a> thus inclosing the absolute ::after content to it.
.navbar {
background-color: #191919cc;
padding: 10px;
border-radius: 10px;
a {
position: relative; // here
margin: 0 10px;
}
}
codepen link: https://codepen.io/ashwin-chandran/pen/BaZjQLz

How to use react-multi-carousel with typescript

I need a component exactly like below picture.
image code is here but i need that codes for typescript.
and also copy codes not working!
any body can help with an example in https://codesandbox.io/.
thanks a lot
Recently I used react-multi-carousel with typescript.
Maybe that carousel's parent style is like this.
display: flex;
Carousel doesn't work with that style so you should change the parent style.
It's not a problem caused by Typescript
display: block or add this style.
min-width: 400px; max-width: 400px;
it works for me.

Slick grid - Slick.Editors.LongText working as Slick.Editors.Text & remains non-editable due to wrong version of jquery

I am working with editable slick grid and copied the code from here:
Code
Demo Example
I have included required JS files and the CSS. But when the grid loads, the LongText fields acts as Text field and remains uneditable.
See below image for more information.
I do not see any JS error on the console. What could be the reason for this behavior??
Upon further investigation, my friend found out that the pop-up which shows the textarea, does comes up but the its style is set as disply:none . This style is applied to the div which actually shows the pop-up. If we change the style for this div to diplay:block I can see the pop-up.
element.style {
z-index: 10000;
position: absolute;
background-color: white;
padding: 5px;
border: 3px solid gray;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
top: 489px;
left: 505px;
display: none;
background-position: initial initial;
background-repeat: initial initial;
}
Update: I just came to know the issue is due to wrong version of jquery being used. Please check this link for working example:
problem: On index.html page, if I change the jquery version from 1.7 to 1.9, the pop-up on description field does not appear. I am using following CDN for jquery. I cannot switch back to lower version of Jquery as I am using version 1.9 for other purpose in my project.
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
To answer my own question, I am now using latest version of slick grid (2.2.2 at the time of publishing this answer) which supports jquery 1.9 as well. I must give credit to #BelowTheRadar for his suggestion.

Displaying images from RSS feed

I use NewsRepublic to access feeds. My feed http://www.ukcorporategifts.co.uk/blog/feed is there and the text displays correctly, however I can't get it to show images and inks. Do you know where the issue might lie?
I will be very grateful for your advice.
Some of your image links are relative urls (the src part)
<img style="display: block; margin-left: auto; margin-right: auto;" src="/assets/images/promotional-prime-tv-towels.jpg" alt="Promotional Beach Towels" />
You should use absolute urls, like http://example.com/assets/images/promotional-prime-tv-towels.jpg

HTML Emails, text-decoration on links

I am making a html mail template and I cant figure out how to remove text-decoration completely. I works very well in Thunderbird, but not in Outlook and Gmail. In Outlook, the visited links get a different color and i Gmail all the links become blue. I want the to be black all the time.
Here is my code:
<span style="font-weight: bold; font-size: 16px; text-align: left;">
<a style="text-decoration: none; color: black;" href="[% doc.url %]">
This is a link
</a>
</span>
I also have a problem in Gmail, with a transaprent 1x1px spacer image ("spacer.gif") which shows with ca. 5px in height.
I have based my layout on tables, but I don't know if it is relevant information.
In answer to your comment, style the href like this:
click here
Gmail doesn't like pure black (#000000) or white (#FFFFFF) codes for some reason.
Don't use html-reserved words, for black color use #000000 (and not #000).
For spacer image add display:block;.
I have based my layout on tables
that's right.

Resources