HTML Help

Emma Caulfield

Salty Goodness
Joined
Dec 28, 2003
Messages
1,564
Age
37
Location
WnH Lobby
I'm currently in the process of building a personal website purley on HTML. Now I'm not doing too bad but I do need some help so if your good at HTML heres your chance to show off 😉

Basicly I need the code for placing text NEXT too an image.

When you place an image like this:

http://img.photobucket.com/albums/v43/monicuddle/base20.pngText appears like this next to it. Is there any way I could get it placed like this:

203961


Also, any tips?
 
Last edited by a moderator:
Eudial is right. You should use tables.

But DIV layers are far easier and they are for lazy people

<DIV style="position: absolute; top:100px; left:50px;">
<img src="yourpicname.gif" width="113" height="113">
</div>


then do the same for the text

<DIV style="position: absolute; top:100px; left:200px;">
text text text text
</div>

Change the top and left pixels.

Its pretty easy once you get the hange of it
 
The easiest way of them all (simple is best! almost all of the time) is to do nothing special just ad the align="left" atribute to the image and then the text will be formated around the pic. I mean if it's just your own page it doesn't have to be all fancy, right?!
 
I agree, I think Tables are your best bet, just don't forget to turn off the borders, and adjust the cell spacing and alignment, and you're good to go!
 
Slayer said:
Eudial is right. You should use tables.

But DIV layers are far easier and they are for lazy people

<DIV style="position: absolute; top:100px; left:50px;">
<img src="yourpicname.gif" width="113" height="113">
</div>


then do the same for the text

<DIV style="position: absolute; top:100px; left:200px;">
text text text text
</div>

Change the top and left pixels.

Its pretty easy once you get the hange of it

If you are a newbie you shouldn't be getting into CSS and Divs just yet. And you should never, and i can't stress this enough, absolutely never mix absolute and relative positioning. It will screw up your site beyond recoctnition when you decide to change something later on.

Jenny: Borders have been disabled by default since like 1985 😉
 
eudial said:
If you are a newbie you shouldn't be getting into CSS and Divs just yet. And you should never, and i can't stress this enough, absolutely never mix absolute and relative positioning. It will screw up your site beyond recoctnition when you decide to change something later on.

Jenny: Borders have been disabled by default since like 1985 😉


Actually I think DIVs are a lot easier to understand and just because your using DIVs doesn't mean you have to use CSS.

That only happens when you want to use classes and such.
 
You're right, but what i'm saying is that Divs are a bit tough to start out with.

And you can't get away with CSS-free webdesign using divs, divs are nothing but worthless dummy objects without the style-tag (=inline CSS).
 
Back
Top Bottom