midnite Posted November 10, 2006 Share Posted November 10, 2006 excuse me, may i ask, can CSS achieve words around the pic ??i can't find any example on the web (if i can, i won't ask ==)a good example will be essays we found in newspapers :)if CSS can't, can i make it in another approach ?thanks for any help in advance !! Link to comment Share on other sites More sharing options...
aalbetski Posted November 10, 2006 Share Posted November 10, 2006 try this, note the float:right;clear:right (swap left for right if desired) <html><img src="http://w3schools.invisionzone.com/style_images/w3sbanner.gif" style="float:right;clear:right;margin:10pt"><img src="http://w3schools.invisionzone.com/style_images/w3sbanner.gif" style="float:right;clear:right;margin:10pt">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Suspendisse egestas ultricies pede. Phasellus suscipit blandit risus. Praesent nonummy. In erat. Duis nibh pede, accumsan eu, pulvinar et, volutpat vel, elit. Curabitur nec dui sed nunc congue tempus. Nulla ac dui ac libero fringilla nonummy. Maecenas ullamcorper sodales risus. Vivamus pretium dolor. Proin eu turpis. Phasellus ut mauris non nulla mattis luctus. Nunc porttitor dapibus sapien. In malesuada fermentum metus. Nulla egestas, tellus a vestibulum pharetra, nunc purus auctor lacus, ut semper purus ipsum eu velit. Praesent dui. Nulla accumsan turpis at erat.</html> Link to comment Share on other sites More sharing options...
tantachar07 Posted November 11, 2006 Share Posted November 11, 2006 Lmao, u could usually do text put-on image in paint . . . Link to comment Share on other sites More sharing options...
midnite Posted November 12, 2006 Author Share Posted November 12, 2006 i want the text around the pic. it means text on the both left, right, top and down of the pic. not just moving the pic to the right/left side.for example, i use "T" for text and "P" for pic. TTT TTTT TT TTTTTTTT TT PPPPP T TT TTTT T P P TTT TTT TTT PPPPP TT TTTTT TTTTTTT TT TTTT for instant, i think the html layout may be:first line text<br>second line text<br>third line text<br>forth line text01 <img src="the_pic.jpg"> forth line text 02<br>fifth line text<br>normally, it shows like this: TTT TTTT TT TTTTTTTT TTT TTT TTT TTTTTT T TT TTT TT TT PPPPP P PT TTT PPPPP TT TTTTT TTTTTTT TT TTTT right? but it is too ugly and i want the above one, it is possible? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now