www.webdeveloper.com
Page 1 of 2 12 LastLast
Results 1 to 15 of 16

Thread: ??

  1. #1
    Join Date
    Dec 2002
    Posts
    11

    wanting to credit photos like newspaper

    Why does your forum state, ask me any question, but offers no guidelines?



    I know this is very simple, but I can't figure it out, and your help will be greatly appreciated.

    When you justify an image to the right, how can you get a line of text directly below it, also justified to the right, as in;

    a photo, with the credit beneath it.

    I have had no problem with stuff justified to the left, but stuff to the right wants to line up not the way I would like.

    Any hints? All HTML, no cSS or anything, hand coding.

    THANKS!
    Last edited by useratl; 02-10-2003 at 11:45 PM.

  2. #2
    Join Date
    Nov 2002
    Posts
    984

    Re: ??

    Originally posted by useratl
    [B]Why does your forum state, ask me any question, but offers no guidelines?
    Becuse a well meaning 13 year old never realized how messy it would be to create a thread named like that where people just pour in all sorts of unrelated questions.

    When you justify an image to the right, how can you get a line of text directly below it, also justified to the right, as in;

    a photo, with the credit beneath it.
    As you still don't give a reason why you don't want to use CSS I will give you the best solution (which includes CSS).


    <div style="float:left; text-align:center;">
    <img> <br> Your photo description.
    </div>

    The rest of your page
    // Stefan Huszics

  3. #3
    Join Date
    Dec 2002
    Posts
    11

    thanks!

    for your time and responses.

    Well, I'm new, just beginning to feel fairly comfortable with HTML, and know I dont' have the time to commit to learning and executing CSS well right now. I know I need to get there, but time doesn't quite permit right now.

    I can't recall if I've seen what it is I want to do off the top of my head right now, but I can't understand why my efforts seem to be unsuccessful. The specific line of text I wish to follow directly beneath the graphic ends up everywhere but there!

    -???-

    <Did I ask the question correctly?>

  4. #4
    Join Date
    Nov 2002
    Posts
    984

    Re: thanks!

    Originally posted by useratl
    Well, I'm new, just beginning to feel fairly comfortable with HTML, and know I dont' have the time to commit to learning and executing CSS well right now.
    You are not required to learn all of CSS in one fell swoop
    But to learn CSS along the way as you learn HTML is actually a good thing, becuse it will save you a lot of time when you code your webpages.
    Also, you will learn the correct way to do things for today and future instead of how webpages USED to be done.

    I can't recall if I've seen what it is I want to do off the top of my head right now, but I can't understand why my efforts seem to be unsuccessful. The specific line of text I wish to follow directly beneath the graphic ends up everywhere but there!

    Are you telling me the code I showed doesn't work?

    If so, please give a llink to your page or paste the code onto the forum.
    // Stefan Huszics

  5. #5
    Join Date
    Dec 2002
    Location
    Seattle, WA
    Posts
    1,843
    <span><img name="" src="" width="200" height="200" alt=""><br>
    a line of text under an image</span>

  6. #6
    Join Date
    Dec 2002
    Posts
    11

    quick apology!

    I saw your post inquiring about my not using CSS, and missed the code you offered.

    Will try it within 24 hours.

    THANK YOU FOR YOUR ASSISTANCE!

  7. #7
    Join Date
    Dec 2002
    Location
    Pleasanton, CA
    Posts
    2,132
    If that's all you really want to do and you don't want to use CSS, then try this.

    <p align="right">
    <img src="" width=100 height=100><br>
    some test
    </p>

  8. #8
    Join Date
    Dec 2002
    Posts
    11

    photos aligned right need text below also aligned right

    I wanted to thank everyone for their contributions.

    I may have erred by neglecting to mention the photo is in the 2d half of a two row column.

    i.e.;

    xxxxxx xxxxxx
    xxxxxx xxxxxx
    xxxxxx xxxxxx


    xxxxxx photo
    xxxxxx shot by X

    xxxxxx xxxxxx
    xxxxxx xxxxxx
    xxxxxx xxxxxx

    -- Now; I tried everyone's suggestions, but the credit part ("by X") has wound up on every side of the photo except where I would like it. The photo is where I want it. I just can't get that tiny line of text directly beneath and to the right. My first try was to write the code opposite of left aligned photos, but it's just not coming out right.

    Any other suggestions?

    THANKS~
    Last edited by useratl; 12-23-2002 at 12:09 AM.

  9. #9
    Join Date
    Dec 2002
    Posts
    11
    I'm starting to notice I haven't seen this format much . . . am I attempting something unconventional or unused?

  10. #10
    Join Date
    Nov 2002
    Posts
    984

    Re: photos aligned right need text below also aligned right

    Originally posted by useratl

    Any other suggestions?
    I have problems visualizing exatly what you want. Could you perhaps provide a link to the code you have now or perhaps make a small graphic in an image program that shows exatly how you want it?

    I'm sure there is a way to get it like you want, but right now I don't understand what you really want.
    // Stefan Huszics

  11. #11
    Join Date
    Dec 2002
    Posts
    11

    code . . .

    I didn't want to load up an entry with too much html, but here goes.

    Ok, my first successful attempt used alot of nbsp; to shove my byline where I wanted it. I thought, though, that was not the best way to go about it, which is why I'm here.

    ATTEMPT 1:

    <p>If your travels take you out of the area for several days, our service is especially economical vs. parking at the airport etc etc

    </font></p>

    <br>

    <font face="Times New Roman, Times" size="+2" color="#CC0000"><i><a name="aeroinfo"> -- Where We Meet You</a></i>

    &nbsp;&nbsp;&nbsp<image src height=100 width=200 ALT="suitcase sculpture at airport"><br><align=center>
    (okay, there's a bunch of nbsp; here, which apparenly, the html in the forum is interpreting-- anyway, this set up achieved my wish. but I figure it would be wrong for different graphix?)
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <font size=2 color="#CC0000"><i>photo by Moody</i></font></p>


    <p>

    Arriving customers of Phoenix Star Taxi &amp; Limousine will find our vehicles.</p>

    <p>Please call once you have exited the aircraft.
    </font></p>


    ATTEMPT LOOKING FOR SOMETHING OTHER THAN 9MILLION nbsp; !!


    <ul>
    <li>
    <li>
    </ul>

    <p><image src="..\2002pix\suit3clfix.jpg" height=100 width=150 ALT="suitcase sculpture at airport" align=right></p><br><br><br>
    <p align=right><font size=2 color="#CC0000"><i>photo by Moody</i></font></p>

    <p><font face="Times New Roman, Times" size="+2" color="#CC0000"><i><a name="aeroinfo"> -- Where We Meet You</a></i>


    <font face="Arial, Helvetica" size="4" color="#000000">
    <p>
    Arriving customers etc.</p>

    <p>Please call once you have exited the aircraft.
    </font></p>


    Here, you see, I can't get "photo by Moody" to align directly beneath and to the right of the image.

    - ????? -

    Do I ask the impossible? I'll find another approach if so. I thought this would not be so challenging.

    THANKS!
    Last edited by useratl; 12-23-2002 at 03:41 AM.

  12. #12
    Join Date
    Nov 2002
    Posts
    984

    Re: code . . .

    Originally posted by useratl
    Do I ask the impossible? I'll find another approach if so. I thought this would not be so challenging.
    Well, you are still not showing an image or an url to what you got now, only snippets of broken code, but I guess something like thios would do it.

    <div style="float:right; width:100px;">
    <img> <br> your photodescription.
    </div>

    The text on your page.

    Please provide an url with your next question if this is not what you want.
    // Stefan Huszics

  13. #13
    Join Date
    Dec 2002
    Posts
    11

    back and still lost . . .

    Okay, I have again tried everybody's suggestion so I can get a photo with a line of text which aligns right directly beneath it.

    I'm still learning my tables, and I'm thinking maybe my table code is imperfect, even though the page looks alright.

    When I tried all the <div> coding, it moved the photo around, but not the line of text below. When the line of text DID move, it would go too far; maybe it's going to the edge of the table, and I should put that photo in a table all its own?

    I am wanting the text to align with the end of the photo, not go beyond it.

    anyway, here's one page where I'd like the credit to be across from where it is. it's the photo at the bottom of the left column.

    Thanks!

    http://www.phoenixstarga.com/fares/faretry.htm#airfares

    ps: I also tried to rename this thread to make it more useful, but I guess the system won't let me?
    Last edited by useratl; 02-10-2003 at 11:51 PM.

  14. #14
    Join Date
    Dec 2002
    Location
    Pleasanton, CA
    Posts
    2,132
    Here's one way to do it. Replace the code (around line 60) with this.
    Code:
    <div style="width:200">
    <IMG alt="call 770-486-1744 for a taxi" src="..\graphics\sign1.jpe" width=200><br>
    <div align="right"><FONT size=2><I>photo by Moody</I></FONT></div>
    </div>
    There are probably better solutions.
    I quickly ran a verification on your code and you have several HTML errors relative to <tr> tags. You may want to correct these

  15. #15
    Join Date
    Dec 2002
    Posts
    11
    thanks for the hint on the compliance . . . I will try out the code


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles