Hey, i use NextGEN Gallery and want to set text to the right off my image, i use this [singlepic id=1 w=320 h=240 float=left] And some text here (right to the image) Only problem is that all the other text in the post getting to the right side off the image aswell I only want some small text to be on the right side not all :/ Any idea how to fix this ?
Use a "clear:both;" in your CSS stylesheet for the post text. The reason is that the text has room to begin to the right of your image text. Clearing the "float" will instruct it to begin on the line below.
Wont that make so all the text is under the image ? As said before i want a few lines to be to the right off the image, like a small description or whatever just some smal text
Clear the float for just the "post text" which you said was creeping up into the right side of your image description text. Also, a Url to the page in question would be helpful if you need further assistance.
Dont think i have any float for the text atleast not in the post, only thing i have in the post is the nextgen code for the galley link,this is exactly how my test post looks like [singlepic id=10 w=320 h=240 float=left] Text to the right off the image here Text that should appear under the image, but also gets to the right off the image :/
Well, the text that you want under the image is not clearing your float that you set up on the image itself. I guess you will have to cheat a little by doing this: <p style="clear:left;">Text that should appear under the image, but also gets to the right off the image</p> OR <p class="clear-left">Text that should appear under the image, but also gets to the right off the image AND in CSS .clear-left {clear:left;} Code (markup):
Thanks a lot, will try it out and tell how it went Btw the code goes into post and not in a php file right?
Yep. In the post, using the Html editor ... not the Visual editor. And I am not familiar with this plugin, but isn't there a way to insert a caption? If there is, then your problem would go away because it would be inside another DIV element where you can correct for this.