|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (4 bit)
Join Date: Aug 2003
Posts: 13
|
HTML question
Being relatively new to the HTML game, I have a question IRT image placement in a document.
I have 2 jpegs that I am trying to place side by side, inbetween paragraphs, like so: paragraph paragraph paragraph paragraph jpeg1 jpeg2 <--would like side by side centered paragraph paragraph The best I can get so far is jpeg1 on the far left margin and then jpeg2 right below it: paragraph paragraph jpeg1 jpeg2 paragraph paragraph This is using the img src tag, but im not sure what the proper tag is for getting these 2 pics centered and side by side. Any ideas??? |
|
|
|
|
|
#2 |
|
Barefoot on the Moon!
Staff
Premium Member
Join Date: Aug 2002
Location: Northeastern USA
Posts: 13,385
|
What are the pixel sizes of the images?
__________________
There are two secrets to staying young, being happy, and achieving success. You have to laugh and find humor every day, and you have to have a dream.
|
|
|
|
|
|
#3 |
|
Member (4 bit)
Join Date: Aug 2003
Posts: 13
|
the starting sizes of the pics are:
194 x 277 and 201 x 431 the bigger one will be cropped when ready so it roughly matches the smaller one..... just didnt know how to get them side by side and roughly centered on the page.... |
|
|
|
|
|
#4 |
|
Moderator
Staff
Premium Member
Join Date: Aug 2003
Location: Richmond, VA
Posts: 7,835
|
First, you would have all the normal headers (like head and html). The things in parenthesis are commments - not part of the syntax.
PHP Code:
Hope that helps, kram
__________________
"For today, goodbye. For tomorrow, good luck. And forever, Go Blue!"
University of Michigan President Mary Sue Coleman |
|
|
|
|
|
#5 |
|
Member (4 bit)
Join Date: Aug 2003
Posts: 13
|
Yes that got me on the right track, thanks. I used the HSPACE tag in the IMG SRC tag to center the 2 photos evenly. Now im trying to figure out how to get a name under each photo.
I have an embedded CSS that sets the format for text on the page, so im not sure how to get around that to get a name directly under each photo..... Like so: ======= photo ======= NAME |
|
|
|
|
|
#6 |
|
Member (7 bit)
Join Date: Sep 2003
Location: Edmonton, Alberta, Canada
Posts: 105
|
I would try using a table. Make it 2 cells wide by two high. Put Pic1 in the first, 2 in the second, pic1 description in three, pic2 description in the fourth. If this doesn't make sense, let me know and I can post the code.
AJ |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|