CSS realizes image and text mixing

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<style type="text/css">
	.picture{
		Float: left; /* image on the left side of the text */
		 Border:1px solid red;/*The color, size, and style of the picture border*/
		 Margin-top: 10px; /* above 10px*/ with other elements
		 Margin-botton: 10px; /* below 10px*/ with other elements
		 Margin-left: 10px; /* left to keep 10px*/ with other elements
		 Margin-right: 60px; /* right and 10px*/ with other elements
		height:80px;
		width:100;
	}
</style>
</head>
<body>
<img alt="cc" src="imgs/tp.jpg" class="picture">
 <a> We are all little monsters, and one day they will be killed by the righteous Altman. Yeah, you are a little monster, but a little monster also has a good friend of a little monster.
 Lonely little monsters are afraid to lean together, but if the right Altman is coming to kill you, I will help you kill the right Altman. But I promised
 But did not do it. We are all l ittle monster "s, one day will be just Ultraman kill. Yeah, you little
 monster, but little monsters have little monster's good friend, afraid of being lonely little monsters get t
   Ogether, but if justice Ultrama - Jiangnan Everyone will meet someone in their life and like him/her. Some people meet at the right time
   It’s like meeting flowers in the spring, so everything is fine, they will fall in love, get engaged, get married, live together. And some people meet at the wrong time,
   It is like watching fish floating in the air in the winter, so I can only watch it. When the fish is changed to the water and sinks into the water, it will not be seen. There is no follow-up. but 
   Yes, we can say that it is right to meet flowers in the spring. Is it wrong to encounter fish in the winter? Can you restrain yourself from the wrong person when you encounter it at the wrong time? Is it still used?
   I tried my best to get close, trying to hide myself, and even pretending to be another fish. It may be wrong for one person to like another because the time is wrong or the identity is wrong.
   So I can't give my partner a good life. Can that kind of love be wrong? So what kind of like is right? 
</a>
</body>
</html>

Intelligent Recommendation

Android rich text editor (two): graphic mixing and image upload processing

For a rich text editor, graphics and text mixing is the most basic function. From the previous article, we know that image and text need to use ImageSpan. The following code picks up the RichEditTextS...

Customize TextView to achieve image and text mixing and custom omission

As shown in the above figure, there are several ways to achieve the above-mentioned graphic mixing: 1. Using SpanableString However, SpannableString is more complicated to implement row limit and omit...

jspdf converts html to pdf, supports pagination, image and text mixing

  Need to print factory orders in batches, but also have product pictures and descriptions HTML must remember the parent element to be printed, plus the width and spacing, otherwise the pdf will ...

Simple code to realize the image and text mixing of TabLayout entries

Recent projects want to achieve similar effects It is implemented with TabLayout plus Fragment, but it used to be a text title, now there is a graphic title, and then it is difficult, then it depends ...

Image replacement text with CSS

Introduce the method of Gilder/Levin        First, set the position of H2 to relative , which will make the position of H2 in H2 as the reference, then position the SPAN element ab...

More Recommendation

css replace text image

Quote a piece of code. Replace text with an image, and has a hyperlink. <a> default label inline, first element block to block, to define its width and height, to adapt to the width and height o...

CSS realizes text vertical layout

[Foreword] Just now, a classmate asked the question: "How do you make the text appear vertically?" The usual method is to reduce the width of the elements, and the text will naturally be arr...

css realizes the scattered display of text

css realizes the scattered display of text Add the following attributes to the container where the text is located...

CSS realizes text vertical typography

1, vertical arrangement of a sentence 2, multiple sentence vertical arrangements (such as ancient poems) 3, font horizontal, overall vertical typography...

Copyright  DMCA © 2018-2026 - All Rights Reserved - www.programmersought.com  User Notice

Top