English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I'm trying to get an image to the top right of my webpage and then have text running alongside it in the middle of the page. Can anyone tell me how to do this?

SAMPLE HEADINGSTRONG>


SAMPLE TEXT SAMPLE TEXT SAMPLE TEXT SAMPLE TEXT SAMPLE TEXT SAMPLE TEXT SAMPLE TEXT SAMPLE TEXT SAMPLE TEXT SAMPLE TEXT


SAMPLEIMAGE.jpg


 


 

2007-09-22 02:21:17 · 5 answers · asked by jenny84 4 in Computers & Internet Programming & Design

That's the wrong code by the way... at the moment the image is under the text on the right but I'd like it to run along the text

2007-09-22 02:46:49 · update #1

5 answers

Consignment area, food available and FREE parking. Admission $5.00 - Under 12 and spouses FREE



Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.



img#pimg { float: left; } or right...

A couple things looking at your code...

You have too much and are making too much work for yourself being redundant with your code. You can do a lot less typing using stylesheets if you're not already.

p {
font-family: georgia,times new roman,times,serif;
color: #000;
}

use heading tags for headers.

Sample heading



h1 {
font-weight: bold;
}

and justifying text is the worse thing to do because of the gaps that it can cause in-between the words of a paragraph. It makes the eyes hop, and reading a site should be as fluid as reading a book.

good luck.

2007-09-22 03:23:33 · answer #1 · answered by Dirty Randy 6 · 0 0

You should put the image call into the same paragraph as your text.

text text text



That will align it to the RIGHT side of the text but it does have to be inside the same paragraph or it will show below it. Just like hitting Enter with a word processor!

If you want even MORE control you can use a table to setup as many columns as you want.
Or use CSS to exactly place items where you want them but that is a whole other discussion.

2007-09-22 09:57:01 · answer #2 · answered by Tracy L 7 · 0 0

You could try having a look at one my web pages where I do something like what you are trying to achieve (I think). Go to http://www.lionelbeck.net/usacan.htm then from your browser's menu bar select "View" and "Source". The first part of the HTML coding lays out the Cascading Style Sheet criteria used for how the page looks.

2007-09-22 09:49:07 · answer #3 · answered by Anonymous · 0 0

You should really be using CSS, but, in keeping with your existing work...











SAMPLEIMAGE.jpg
SAMPLE HEADINGSTRONG


SAMPLE TEXT SAMPLE TEXT SAMPLE TEXT SAMPLE TEXT SAMPLE TEXT SAMPLE TEXT SAMPLE TEXT SAMPLE TEXT SAMPLE TEXT SAMPLE TEXT






2007-09-22 10:16:23 · answer #4 · answered by richarduie 6 · 0 1

Paste your html code then add spaces and write that should work?!?

2007-09-22 09:27:27 · answer #5 · answered by Anonymous · 1 2

fedest.com, questions and answers