Funky_Finny
Banned
+456|6412|Carnoustie, Scotland
So my dad is making a photographing site, and he drew a little graphic to sign his front page, but we can't get it into position. Here is the current code:

Code:

<p>I've also found a great 3-star Paris hotel that will make your trip-especially if you get room 501! And don't forget my blog for updates on photography<br><img src="<?php bloginfo('template_url'); ?>/images/signature.gif" alt="<?php bloginfo('name'); ?></a>" />exhibitions, galleries and festivals<br>and other events just made for your<br>lens. So stay a while and enjoy!<P ALIGN="RIGHT"><em><strong>Bruce Robbins</strong></em></p>
That's for the final paragraph, "><img src="<?php bloginfo('template_url'); ?>/images/signature.gif" alt="<?php bloginfo('name'); ?></a>" />" being the image code. We're trying to get it to go to the right of the text, but can't for the life of us figure out how to put it there.


https://i198.photobucket.com/albums/aa178/Funky_Finny/screenshot.jpg

This is what it looks like just now.

Thanks for any help.

EDIT: I hate imageshack.

Last edited by Funky_Finny (2008-01-30 16:30:39)

Cheez
Herman is a warmaphrodite
+1,027|6718|King Of The Islands

align="right"

??
My state was founded by Batman. Your opinion is invalid.
cospengle
Member
+140|6766|Armidale, NSW, Australia
I think you need to use the float style in the image tag, something like:

Code:

<img style="float: right" src=url(filename)>
But you'll probably have trouble positioning it properly. Sorry I can't give a better answer, I'm at work ATM and don't have time to think about it.
Pokoyo
Member
+2|6214

Code:

<p>I've also found a great 3-star Paris hotel that will make your trip-especially if you get room 501! 
And don't forget my blog for updates on photography exhibitions, galleries and festivals 
and other events just made for your lens. So stay a while and enjoy!</p>


<div style="text-align:right;">
<img src="<?php bloginfo('template_url'); ?>/images/signature.gif" alt="<?php bloginfo('name'); ?></a>"><br>
<b>Bruce Robbins</b></div>
Is what I would do. Divs are immensely useful.


PS: It's also a really bad idea to code line breaks into bodies of text. Firefox and IE render widths differently most times, and people can adjust their font size easily. If you want that flush width thing, use style="text-align:justify" on whatever is holding the text.

Last edited by Pokoyo (2008-01-30 20:22:54)

Board footer

Privacy Policy - © 2025 Jeff Minard