HTML Help
HTML Help Central . com

» Online Users: 112

2 members and 110 guests
Most users ever online was 695, 02-16-2011 at 07:01 AM.

» Site Navigation

 > FAQ

» Domains For Sale

Results 1 to 14 of 14
  1. #1
    Join Date
    Apr 2001
    Location
    Australia.
    Posts
    1,105

    Post Image middle of page??

    how do i get an image to lie in the middle of a page?? (not centered)

    top
    |
    |
    | <<-- right there...
    |
    |
    bottom

    thanks in advance..

  2. #2
    Join Date
    Apr 2001
    Location
    England
    Posts
    606

    Post

    I think you can only do it using CSS.

  3. #3
    Join Date
    Dec 2000
    Location
    Wales, UK
    Posts
    1,780

    Post

    You could put it in a table that is centered and give the tr tag the attributes valign=center align=center (I think)

    ------------------
    Neil "Mr Moderator" Graddage - neil@htmlhelpcentral.com
    All sites being redesigned (doh)

  4. #4
    Join Date
    Apr 2001
    Location
    Australia.
    Posts
    1,105

    Post

    it has to be in a table??

  5. #5
    Join Date
    May 2001
    Location
    alpine, TX, USA
    Posts
    20

    Post

    would there be any text surround any sides of the pic?
    if so you should go with tables, if not you can just put <BR> tags till you get the desired effect
    *Note* it wont look good if you use just the <BR> tags, i highly suggest using tables. not only will all the info be aligned neatly it will make it easier for your viewers to view your page.
    i have a problem with CSS, i mainly use IE i dislike how all my pages look in NS.
    IE isnt as picky with CSS or HTML code as NS is. hahaha you can misspell something and IE will still make it work, where as NS wouldnt show what you wanted

    [This message has been edited by Ispet21 (edited 05-11-2001).]

  6. #6
    Join Date
    Apr 2001
    Location
    Australia.
    Posts
    1,105

    Post

    oh yeah! <br> tags, i totally forgot about them, thanks alot ...

  7. #7
    Join Date
    May 2001
    Location
    alpine, TX, USA
    Posts
    20

    Post

    np man

  8. #8
    Join Date
    Dec 2000
    Location
    Wales, UK
    Posts
    1,780

    Post

    Another good thing to remember would be
    Code:
    &nbsp
    This creates a space, plain and simple. Good for moving stuff around.

    ------------------
    Neil "Mr Moderator" Graddage - neil@htmlhelpcentral.com
    All sites being redesigned (doh)

  9. #9
    Join Date
    Dec 2000
    Location
    Wales, UK
    Posts
    1,780

    Post

    OK, it doesnt show, here it is with spaces between each character:

    & n b s p

    Use it without the spaces for the desired effect.



    ------------------
    Neil "Mr Moderator" Graddage - neil@htmlhelpcentral.com
    All sites being redesigned (doh)

  10. #10
    Join Date
    Feb 2001
    Location
    Stockholm, Sweden
    Posts
    1,483

    Post

    You mean &nbsp, Neil? Anyway, this can, as starla pointed out, be done with style sheets and absolute positioning. As always, http://www.htmlgoodies.com/beyond/positioning.html

    Sorry Dan for referring so many people there.

    ------------------
    Knowledge is not as much knowing a subject as it is knowing where to find information upon it.

    Have you found these boards helpful? Then please take a minute to link back to HTML Help Central. Thanks!

  11. #11
    Join Date
    Apr 2001
    Location
    Australia.
    Posts
    1,105

    Post

    so does &nbsp = 1 hit of the spacebar?

  12. #12
    Join Date
    Apr 2001
    Location
    Australia.
    Posts
    1,105

    Post

    oops i meant & n b s p (it didn't show up)

  13. #13
    Join Date
    Feb 2001
    Location
    Stockholm, Sweden
    Posts
    1,483

    Post

    Yep, it does. If you want to write   or the likes in these forums you have to use & instead of &.

    ------------------
    Knowledge is not as much knowing a subject as it is knowing where to find information upon it.

    Have you found these boards helpful? Then please take a minute to link back to HTML Help Central. Thanks!

  14. #14
    Join Date
    Dec 2000
    Location
    Wales, UK
    Posts
    1,780

    Post

    Show off

    ------------------
    Neil "Mr Moderator" Graddage - neil@htmlhelpcentral.com
    All sites being redesigned (doh)

Similar Threads

  1. Align middle
    By samliew in forum HTML / XHTML / XML
    Replies: 5
    Last Post: 06-06-2007, 09:23 AM
  2. IE only: valign=middle won't work
    By klavs in forum HTML / XHTML / XML
    Replies: 5
    Last Post: 07-29-2004, 08:22 PM
  3. Replies: 1
    Last Post: 08-18-2001, 12:47 AM
  4. Replies: 2
    Last Post: 07-26-2001, 12:03 AM
  5. To put a document in the middle of another?
    By perthomas in forum HTML / XHTML / XML
    Replies: 1
    Last Post: 07-24-2001, 06:48 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBadvanced CMPS v4.1.1