Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 6 of 6

Thread: CSS alignment

  1. #1
    Senior Member
    Join Date
    Oct 2003
    Location
    Essex/Greater London
    Posts
    167
    Member #
    3433
    Is there a CSS equivalent for the <align> tag that is used to align images? I know there is a text-align, but AFAIK this doesnt work with images... I just thought it would be easier to be able to 'align' images instead of having to relatively position everything.

    Thanks for any replies, 5 Turtle Dollars to anyone who can provide me with an answer (that works!)

  2.  

  3. #2
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    If you mean having the image be aligned such that text wraps around it like a picture in a periodical:
    Code:
    <img style="float:left|right" src="..." alt="..." width="..." height="..." />
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  4. #3
    Member
    Join Date
    Jan 2004
    Posts
    94
    Member #
    4729
    do you mean the align attribute? i've never heard of the align TAG, and can't find anything about it/how it works. floating is prolly the way to go.

  5. #4
    Senior Member tekp's Avatar
    Join Date
    Jan 2004
    Location
    A small village near a small city near a small cit
    Posts
    918
    Member #
    4667
    Liked
    1 times
    yeh floating is the same as aligning in this case
    tekp :cheeky: tekponline.com

  6. #5
    Senior Member
    Join Date
    Oct 2003
    Location
    Essex/Greater London
    Posts
    167
    Member #
    3433
    Yep I mean the align attribute sorry that I wasnt clear on this in the first place. I will try the float property now though, and see if this is what I am trying to explain

    EDIT: Yes that is exactly what I meant thanks! Filburt gets the TD then Sorry about the newbish question, but I guess I have to learn these things at some point

  7. #6
    Senior Member jlgosse's Avatar
    Join Date
    Jan 2004
    Location
    Newfoundland, Canada
    Posts
    1,037
    Member #
    4570
    Liked
    7 times
    haha, why would you give filburt the money?

    just curious.



Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 04:26 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com