SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Guru
    Join Date
    Feb 2007
    Posts
    874
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Removing space between the T-Join

    Dear All,
    I have a page here http://183.78.169.53/tyre2/page2.html. My only problem is that all the centre T-join I would like to link them together but there is space appearing between them. Any idea how to remove the space such that they appear as joined.

  2. #2
    Resident curmudgeon bronze trophy gary.turner's Avatar
    Join Date
    Jan 2009
    Location
    Dallas
    Posts
    990
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Set your images to {vertical-align: bottom;}

    cheers,

    gary
    Anyone can build a usable website. It takes a graphic
    designer to make it slow, confusing, and painful to use.

    Simple minded html & css demos and tutorials

  3. #3
    SitePoint Guru
    Join Date
    Feb 2007
    Posts
    874
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Dear Gary,
    I have done changes based on your suggestion. The link is here http://183.78.169.53/tyre2/page2.html but is not working.

  4. #4
    Resident curmudgeon bronze trophy gary.turner's Avatar
    Join Date
    Jan 2009
    Location
    Dallas
    Posts
    990
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No, you didn't. You did this:
    Code:
    <img vspace="0" src="longJoin.png">
    That is not equivalent to declaring a style rule
    Code:
     img {vertical-align: bottom;}
    . You could have used
    Code:
    <img align="bottom" ...>
    but align hasn't been valid since 1999, though browsers will still support it. The valign attribute has never been valid on images nor on the parent element, div.

    See "That Mysterious Gap under Images" for an explanation of what's happening and for some options.

    cheers,

    gary
    Anyone can build a usable website. It takes a graphic
    designer to make it slow, confusing, and painful to use.

    Simple minded html & css demos and tutorials

  5. #5
    SitePoint Guru
    Join Date
    Feb 2007
    Posts
    874
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Dear Gary,
    http://183.78.169.53/tyre2/page2.html. I have updated my page it looks much better. Do you know how to put label as in font on the black images.


Bookmarks

Posting Permissions

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