Wrap text around bootstrap image

Wrapping the title and created at date in a new column to compliment the width of the image and setting all the other text outside any column did the trick for me.A small downside is that the margins don’t line up but I am sure I’ll find a fix for that using some custom CSS.

what does this mean ? image/png;base64?

It’s an inlined image (png), encoded in base64. It can make a page faster: the browser doesn’t have to query the server for the image data separately, saving a round trip. (It can also make it slower if abused: these resources are not cached, so the bytes are included in each page load.)

How to fade an image with CSS without opacity?

You can’t fade the opacity of an element, without having what’s behind showing through. The site you linked to isn’t fading the opacity of the image, but introducing a translucent layer over the top with the text in. If you just want to fade the image, but not have the background show through, you could … Read more

Resize image with javascript canvas (smoothly)

You can use down-stepping to achieve better results. Most browsers seem to use linear interpolation rather than bi-cubic when resizing images. (Update There has been added a quality property to the specs, imageSmoothingQuality which is currently available in Chrome only.) Unless one chooses no smoothing or nearest neighbor the browser will always interpolate the image after down-scaling it as this … Read more

How to display image with JavaScript?

You could make use of the Javascript DOM API. In particular, look at the createElement() method. You could create a re-usable function that will create an image like so… Then you could use it like this… See a working example on jsFiddle: http://jsfiddle.net/Bc6Et/

Astonishing that no answer addresses or mentions the actual problem here. The CSS selector button #rock says “give me an element with the id rock inside a <button> element”, like this: But what you wanted is a <button> element with the id rock. And the selector for that would be button#rock (note the missing space between button and #rock). And as @Greg already mentioned: #rock is already specific enough to target the button and … Read more