Removing the border around an image in FAQ

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Parture
    Senior Member
    • Sep 2005
    • 364
    • 4.2.x

    Removing the border around an image in FAQ

    In my FAQ I put in an image but I don't know how to get rid of the border around it. I tried border=0 and cellpadding=0 and cellspacing=0.

    Help.
  • Shamil.
    Senior Member
    • Feb 2008
    • 4755
    • 4.2.X

    #2
    HTML Code:
    <img src="link" border="0" />
    should work. Can you link to the page?
    Shamil Nunhuck, - Radon Systems Ltd.
    VPS + Dedicated Server Hosting and Management
    vBulletin Hosting and Services
    Server / Website Consultation

    Comment

    • Parture
      Senior Member
      • Sep 2005
      • 364
      • 4.2.x

      #3
      I tried your border=0 in my <iframe >. Doesn't work. I don't know how to get rid of the border, but I can change the color to white

      HTML Code:
      <td style="border-color:#FFFFFF">
      MY PAGE: http://biblocality.com/forums/faq.ph...g_place_finder

      But on the same page I used your approach on the other image <img border=0 src=...> and I still can't get rid of the border, but I guess I will change it to white also.
      Last edited by Parture; Sun 13 Mar '11, 11:47pm.

      Comment

      • Lynne
        Former vBulletin Support
        • Oct 2004
        • 26255

        #4
        I don't see any borders around the images on that page.

        Please don't PM or VM me for support - I only help out in the threads.
        vBulletin Manual & vBulletin 4.0 Code Documentation (API)
        Want help modifying your vbulletin forum? Head on over to vbulletin.org
        If I post CSS and you don't know where it goes, throw it into the additional.css template.

        W3Schools &lt;- awesome site for html/css help

        Comment

        • Parture
          Senior Member
          • Sep 2005
          • 364
          • 4.2.x

          #5
          It's because the border is white, same color as the background.

          border=0 does not work.

          Comment

          • Lynne
            Former vBulletin Support
            • Oct 2004
            • 26255

            #6
            If I change the background color, I can then see a large 'box' around the images. The border if from your <td> tag around the images.
            HTML Code:
            .restore th, .restore td {    border: 1px solid #000000;    padding: 0.5em;}
            Except the border color gets changed in your td tag here:
            HTML Code:
            <td align="center" style="border-color:#FFFFFF">
            I would strongly advice you get firebug for firefox to figure out CSS issues like this.

            Please don't PM or VM me for support - I only help out in the threads.
            vBulletin Manual & vBulletin 4.0 Code Documentation (API)
            Want help modifying your vbulletin forum? Head on over to vbulletin.org
            If I post CSS and you don't know where it goes, throw it into the additional.css template.

            W3Schools &lt;- awesome site for html/css help

            Comment

            widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
            Working...