×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Oct 2004
    Posts
    2

    Exclamation between two IMG tags

    When I want to place two small images together, for example :

    <p>
    <img src="images/3g_cfsg_logo_1.jpg"/><img src="images/3g_cfsg_logo_1.jpg"/>
    </p>

    I found that there is space between them no matter i set the CSS to be 0 padding or I use table instead.

    Anyone exprience the same problem ?
    And any friends know how to solve it?

    I have been spending several days on these two images...
    Thanks in advance

  2. #2
    Registered User
    Join Date
    Oct 2004
    Posts
    2

    Re: between two IMG tags

    Solution Found
    It can be solved by setting the "margin" and "padding" of IMG tag in CSS file.

    Hope this help.
    img{padding: 0px 0px 0px 0px;margin: 0px 0px 0px 0px;}



    Quote Originally Posted by CharlesCCO
    When I want to place two small images together, for example :

    <p>
    <img src="images/3g_cfsg_logo_1.jpg"/><img src="images/3g_cfsg_logo_1.jpg"/>
    </p>

    I found that there is space between them no matter i set the CSS to be 0 padding or I use table instead.

    Anyone exprience the same problem ?
    And any friends know how to solve it?

    I have been spending several days on these two images...
    Thanks in advance

  3. #3
    Registered User
    Join Date
    Oct 2006
    Posts
    2

    Re: between two IMG tags

    Might want to set the border to zero as well if you ever plan on hyperlinking the image.

    Code:
    img{
      margin: 0;
      padding: 0;
      border: 0;
    }
    Code:
    <a href="#bottom">
      <img src="down.png" alt="Down"/>
    </a>
    In PC browsers, the border tends to come into play when an img is linked.
    Not sure if it's the same ala-mobile.

Similar Threads

  1. Where to buy MiFare Tags (NFC/RFID)
    By mobilenokia1 in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2006-02-24, 16:22
  2. Automatic voice tags modify contacts last modified date
    By edgar.alves in forum Symbian C++
    Replies: 1
    Last Post: 2005-12-02, 14:58
  3. Img distorted even palette is of same img
    By saurbh_g in forum Symbian Media (Closed)
    Replies: 1
    Last Post: 2005-08-08, 11:36
  4. Voice Dialling/Recognition via Voice Tags
    By tarunnasa in forum Symbian C++
    Replies: 0
    Last Post: 2005-05-10, 20:43
  5. Which WML tags does my 6610 understand?
    By Plenz in forum Mobile Web Site Development
    Replies: 5
    Last Post: 2003-11-28, 06:49

Posting Permissions

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