Question:
Align image to the right?
♪£yricảl♪
2008-05-04 00:05:19 UTC
I'm currently studying HTML, CSS, XHTML...There is a question which I have encountered while doing my project that I would like to clarify with you all...

You know, for HTML, XHTML, CSS we can insert images into our website right...I do know how to insert the image, but the problem is, I want to align the image to the right side of my website. So, how to go about doing that? Is there any special coding(s) for it? I know one coding is given as ....

I have tried that but the image is still not being aligned to the right...Instead, it is at the left side..

Please help.

By the way, I'm using notebook to create my website...
Three answers:
Big Robby
2008-05-04 00:50:56 UTC
Here's the good old fashioned way



Kristine M
2008-05-04 00:18:24 UTC
Most of the time when I design a site I lay out the body design in embedded tables with no borders. So you would insert a table with 2 columns and 2 rows the text would go in the first column, first row and the image would go in the second column first row. You can align each cell any way you want or merge cells to make a larger space. I hope this make sense hard to explain in words.
Twista
2008-05-04 00:11:19 UTC
you could try




of course, you should always avoid inline attributes whenever possible. but that's one way.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...