• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Tables HTML

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    Tables HTML

    Could someone correct the following code?

    I have 2 pictures in this table, There is a gap between the images (I want rid of it) as it's one image sliced.

    Cheers

    WC2



    <table width="75" border="0">
    <tr>
    <td><img src="central_1x1.jpg" width="870" height="157"></td>
    </tr>
    <tr>
    <td height="38"><img src="central_2x1.jpg" width="870" height="36"></td>
    </tr>
    </table>
    Throw them to the lions - WC2 5.4

    #2
    Try

    <table width="75" border="0" cellspacing="0" cellpadding="0">

    Comment


      #3
      Originally posted by NickFitz View Post
      Try

      <table width="75" border="0" cellspacing="0" cellpadding="0">
      That works

      Thanks
      Throw them to the lions - WC2 5.4

      Comment


        #4
        Look, can the rest of you just answer the complicated stuff about networks and databases n' stuff and leave these easy ones for us senile old retired sorts? I saw that title and said I know that, me, me me me me me oooh sir please sir me sir and then I clicked on it an found some other bastard had already done answered it. I will have to kill myself now.
        bloggoth

        If everything isn't black and white, I say, 'Why the hell not?'
        John Wayne (My guru, not to be confused with my beloved prophet Jeremy Clarkson)

        Comment


          #5
          Originally posted by wc2 View Post
          That works

          Thanks
          NP

          Originally posted by xoggoth View Post
          Look, can the rest of you just answer the complicated stuff about networks and databases n' stuff and leave these easy ones for us senile old retired sorts? I saw that title and said I know that, me, me me me me me oooh sir please sir me sir and then I clicked on it an found some other bastard had already done answered it. I will have to kill myself now.
          Oops, sorry xog

          Go play with your wasps, that'll make things seem better (only seem, mind)

          Comment


            #6
            Divs and CSS. Come on guys, tables are soooo 20th century.

            Comment


              #7
              Yeah, and close your img tags:

              <img src="central_2x1.jpg" style="width: 870px; height: 36px;"/>

              Comment


                #8
                Originally posted by dang65 View Post
                Yeah, and close your img tags:

                <img src="central_2x1.jpg" style="width: 870px; height: 36px;"/>
                He said HTML, not XHTML. You don't close the image tag in HTML.

                HTH

                Comment


                  #9
                  Originally posted by Weltchy View Post
                  Divs and CSS. Come on guys, tables are soooo 20th century.
                  Absolutely, but I couldn't be bothered to get into it at that time in the evening - I was more interested in getting out of the office

                  A more interesting question is, why not just use one image? There doesn't appear to be any reason whatsoever for there to be two of them.

                  Comment


                    #10
                    Supposed to discourage copying innit?
                    bloggoth

                    If everything isn't black and white, I say, 'Why the hell not?'
                    John Wayne (My guru, not to be confused with my beloved prophet Jeremy Clarkson)

                    Comment

                    Working...
                    X