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 3 of 3

Thread: Picture Command

  1. #1
    Junior Member
    Join Date
    Apr 2004
    Location
    London,England
    Posts
    20
    Member #
    5614
    I have been trying to center a picture, recently i have been trying to use the <align> attribute but that is obviously to allign a picture in text. Does anyone know what the command is to center a picture outside of text, because i can't find it

  2.  

  3. #2
    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
    you can use CSS:

    Code:
    margin-left:auto; margin-right:auto; text-align:center;
    or just put:

    Code:
    <div align="center">
    <img **>
    </div>
    tekp :cheeky: tekponline.com

  4. #3
    Senior Member justlivyalife's Avatar
    Join Date
    Jul 2003
    Location
    Birmingham, UK
    Posts
    2,871
    Member #
    2374
    Code:
    <div align="center">
    <img ** />
    </div>
    Try to write xHTML compliant coding
    justlivyalife - The future depends on what we do in the present. (Mahatma Gandhi)
    WDF Resources: WDF Rules
    Non-WDF: JavascriptSource | Dynamic Drive | phpBB | HTML-Kit | Winamp | Download Firefox | Morguefile


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:29 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com