Eric J in MN
(1000+ posts)
Send PM |
Profile |
Ignore
|
Wed Jun-08-05 09:06 PM
Original message |
HTML question about aligning images |
derby378
(1000+ posts)
Send PM |
Profile |
Ignore
|
Wed Jun-08-05 09:11 PM
Response to Original message |
|
...is simply to redo the picture with a little white space at the bottom of the image. Insert whatever text you like into the white field and upload the new image to your server. Problem solved!
|
Eric J in MN
(1000+ posts)
Send PM |
Profile |
Ignore
|
Wed Jun-08-05 09:15 PM
Response to Reply #1 |
2. But that could be a lot of work if I did that often (nt) |
TreasonousBastard
(1000+ posts)
Send PM |
Profile |
Ignore
|
Wed Jun-08-05 09:21 PM
Response to Original message |
3. Oohhh, I'm rusty, but... |
|
there's an <align right> command that should work with a few breaks to put the text properly underneath the picture.
There are other ways, too, but I'd have to dig out the books to remember them.
|
trotsky
(1000+ posts)
Send PM |
Profile |
Ignore
|
Wed Jun-08-05 09:22 PM
Response to Original message |
4. Probably have to use tables. |
|
The picture goes in one cell, the text in the cell right below it.
Have you ever looked at Mozilla? (The full-featured browser package related to Firefox.) It includes a really decent HTML editor that could help with this kind of stuff.
|
no name no slogan
(1000+ posts)
Send PM |
Profile |
Ignore
|
Wed Jun-08-05 09:22 PM
Response to Original message |
5. Try something like this |
|
Edited on Wed Jun-08-05 09:25 PM by no name no slogan
It's a little Cascading Style Sheets trick that I've used before (here's the source):
<span style="float:right;text-align:center;"> (insert img tag here) <p> (insert caption here) </> </span>
The "span" tag is a bit like an inline version of the "div" tag, and like any object in HTML, allows you to attach certain style attributes to it. In this case, you're telling it to float to the right of any regular text, and to center all elements.
By doing it this way, your other text will flow AROUND the photo and its caption, in a magazine-style layout. Also, you avoid the kludge of using tables for layout-- a method discouraged by XHTML rules.
Give it a shot and let me know if it works. :)
|
Eric J in MN
(1000+ posts)
Send PM |
Profile |
Ignore
|
Wed Jun-08-05 09:36 PM
Response to Reply #5 |
9. thanks, I followed your advice (nt) |
UTUSN
(1000+ posts)
Send PM |
Profile |
Ignore
|
Wed Jun-08-05 09:24 PM
Response to Original message |
6. This Is a Serious Question---in the LOUNGE?? |
|
Prolly more serious than I know.
|
Eric J in MN
(1000+ posts)
Send PM |
Profile |
Ignore
|
Wed Jun-08-05 09:37 PM
Response to Reply #6 |
11. it's not that serious (nt) |
WannaJumpMyScooter
(1000+ posts)
Send PM |
Profile |
Ignore
|
Wed Jun-08-05 09:26 PM
Response to Original message |
Eric J in MN
(1000+ posts)
Send PM |
Profile |
Ignore
|
Wed Jun-08-05 09:37 PM
Response to Reply #7 |
10. Thanks, that is a good approach (nt) |
frylock
(1000+ posts)
Send PM |
Profile |
Ignore
|
Wed Jun-08-05 09:28 PM
Response to Original message |
8. set the text in one table.. |
|
and the photo in another table. Put the caption in the table that contains the photo.
|
DU
AdBot (1000+ posts) |
Wed Apr 24th 2024, 08:21 AM
Response to Original message |