1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Solved: Adjustments to a template's image tags

Discussion in 'Web Design & Development' started by piscespassion, Jan 3, 2011.

Thread Status:
Not open for further replies.
Advertisement
  1. piscespassion

    piscespassion Thread Starter

    Joined:
    Aug 25, 2009
    Messages:
    147
    Ok, I'm working on my site and I'm wondering if there's any way I can "remove" the border of an image? It's a template... the sitepage in particular is "ordermex.com/advertise.htm" and I'm talking about the mexican flag image... and the html tag is:
    <h3><img class="imgright" style="WIDTH: 306px; HEIGHT: 204px" height="90" hspace="0"
    src="img/photo.gif" width=132 border=0 ? img>SUPPORT YOUR<br>HISPANIC
    COMMUNITY!!</h3>
    Is it possible to remove the border? Or am I stuck with it because it's part of the template?
    Thanks so much!!
     
  2. colinsp

    colinsp

    Joined:
    Sep 5, 2007
    Messages:
    2,270
    First Name:
    Colin
    There is an error in your html as you have detailed above. The ? before img. I think that both should be replaced by /. Have a look here at how the tag should be made up.

    There are other errors on this page have a look here at the W3C validator report on the page.
     
  3. piscespassion

    piscespassion Thread Starter

    Joined:
    Aug 25, 2009
    Messages:
    147
    OMG, you're right!! I hadn't noticed that! Ok, I'll check the links you provided, thx!(y)
     
  4. Lusi123

    Lusi123

    Joined:
    Oct 1, 2010
    Messages:
    6
    Good observation colinsp, The "?" is creating problem i think. But i also have less idea how to manipulate template image. Very few times i have tried to do that.
     
  5. piscespassion

    piscespassion Thread Starter

    Joined:
    Aug 25, 2009
    Messages:
    147
    You know what tho??? I'm looking at all my other sitepages, and it has the same thing on "all" the images! Could it be that the template has it? Or might it be a mistake that "I" made??? :rolleyes:
     
  6. piscespassion

    piscespassion Thread Starter

    Joined:
    Aug 25, 2009
    Messages:
    147
    I just checked a fresh copy of that template (thank God I saved the original in a separate folder!) and I've fixed the ? replacing it with the obvious / that should be there, but when I save it, it reverts back to the ?, only this time it's posting it "after" the word "img"!!! I've even tried editing in FTP while my host/server is "open"! And it keeps changing back to the ?... wierd.
     
  7. DrP

    DrP

    Joined:
    Jul 23, 2005
    Messages:
    739
    Got a link?
     
  8. piscespassion

    piscespassion Thread Starter

    Joined:
    Aug 25, 2009
    Messages:
    147
    Wadyamean? To what? To the original? I tried to upload it as "original.htm" but it wouldn't show up in my browser! I'll try again today... brb
     
  9. piscespassion

    piscespassion Thread Starter

    Joined:
    Aug 25, 2009
    Messages:
    147
    Ok, I feel dumb now... I was uploading files into the wrong folder!!! Can get kinda tricky when working w/ftp... guess plenty of sleep is required first.
    You can view the original at ordermex.com/original.htm
    I just want to know if it's possible to get rid of the image border (in the tag it says "border=0" already, but the border still shows)...?
     
  10. colinsp

    colinsp

    Joined:
    Sep 5, 2007
    Messages:
    2,270
    First Name:
    Colin
    If you look at your css

    Code:
    .content .imgright {
    padding: 5px;
    border: 1px solid #ADD1E7;
    margin-left: 4px;
    float: right;
    }
    
    
    The .imgright declaration has a border. Border=0 will not remove this you need to alter the styling in the css because the border is placed on the DIV by the CSS not by the img tag.
     
  11. piscespassion

    piscespassion Thread Starter

    Joined:
    Aug 25, 2009
    Messages:
    147
    Yeah, that's pretty much what I thought... oh well.
    I don't know anything about CSS to mess with that stuff, and I don't see anything in the code that "I can view & edit", so I'll just leave well enough alone then, lol, thanks!!!:D
     
  12. colinsp

    colinsp

    Joined:
    Sep 5, 2007
    Messages:
    2,270
    First Name:
    Colin
    Just create another rule in your css

    Code:
    .imgright {border: none;}
    
    Add it at the end of your current css file. This isn't the best way to do it BUT it will get you the result that you want.
     
  13. Sponsor

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/972323

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice