Picture Size and Alignment in Text Box Sidebar
-
Can someone take a look at this and tell me how to make both the text and the picture line up neatly in a single box without overlap? Thanks. http://vetyourlawyer.com
-
Put
<p>at the beginning of the stuff in the text box, and then put</p>at the very end -
What I always do is compose the widget as if it were a draft Post, in the Visual editor. I add whatever formatting I want, links, etc, then when it looks the way I want I click to the HTML editor, copy the code, and put it in a text widget.
-
-
This is what I see for your code in that widget:
<div class="textwidget"><img class="alignright size-full wp-image-139" title="blusweater31" src="http://vetyourlawyer.files.wordpress.com/2009/01/blusweater31.jpg" alt="blusweater31" width="63" height="96"> Nat Colley Attorney Hiring Consultant</div> </li>I’d suggest you try this instead:
<img class="alignright size-full wp-image-139" title="blusweater31" src="http://vetyourlawyer.files.wordpress.com/2009/01/blusweater31.jpg" alt="blusweater31" width="63" height="96"> <p>Nat Colley</p> <p>Attorney Hiring Consultant</p> -
@edpub: Try this and see if you like it:
<table> <tr> <td valign="top">Nat Colley<br />Attorney Hiring Consultant</td> <td valign="top"><img src="http://vetyourlawyer.files.wordpress.com/2009/01/blusweater31.jpg"></a></td> </tr> </table>If you prefer a different arrangement of the text in relation to the pic, let me know.
-
panaghiotisadam: that finally worked. And I was able to tweak it ;-). Thank you so much.
-
- The topic ‘Picture Size and Alignment in Text Box Sidebar’ is closed to new replies.