Text and Pictures on New Pages - Post...

User 364143 Photo


Guest
5,410 posts

You should use
style="text-align:center;"

or
style="margin:0px auto;"

not
<center>
CoffeeCup... Yeah, they are the best!
User 117361 Photo


Ambassador
6,076 posts

Which I think is more or less what I had just said...
:(
User 411087 Photo


Registered User
31 posts

Thanks everyone for the great suggestions. It's great that this forum has so many knowledgeable members willing to share their expertise with those of us who really need the help! It's the way I learn best!!!
User 364143 Photo


Guest
5,410 posts

Janys Hyde wrote:
Which I think is more or less what I had just said...
:(

You did not provide examples, so there. :P
CoffeeCup... Yeah, they are the best!
User 38401 Photo


Senior Advisor
10,951 posts

Janys Hyde wrote:
Terry... to place an image over to the left you are going to have to use a little css in that html box otherwise the image will remain above the text. Here is a little code to do that
<div style="text-align:center;"> DUIS autem vel eum iriure dolor in hendrerit in vulputate velit
esse molestie consequat, vel illum dolore eu feugiat nulla facilisis
at vero eros et accumsan <div style="float:left; border:none;"><img src="yourimage.png" width="128" height="128" alt="my image" title="my image" /></div></div>


You will notice that I have used a slightly different system to align the text in the centre of the page... that is by the use of css and text-align since the center tag is now deprecated.
http://www.codehelp.co.uk/html/deprecated.html even though most browsers still recognize it.
Using float will have the text wrap around the image which will remain over on the left of the page. To have the text wrap on the other side, just save the float left to float right.

Just bear in mind that having the text centred will not work well aesthetically with the image block over on the left.



No examples? What's this? Chopped liver? LOL :P
User 117361 Photo


Ambassador
6,076 posts

:D:cool:
Thanks for championing me Jo Ann!
User 38401 Photo


Senior Advisor
10,951 posts

User 364143 Photo


Guest
5,410 posts

Well, my bad. Sorry that I did not read down through the entire thread. Is this where I call someone a jerk? :lol:
CoffeeCup... Yeah, they are the best!
User 117361 Photo


Ambassador
6,076 posts

naaaaaaaaaah... no point in stating the obvious
:P
:rolleyes:
User 364143 Photo


Guest
5,410 posts

She is not going to like that. Maybe it will just disappear like it never happened. :)
CoffeeCup... Yeah, they are the best!

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.