Solved: Adjustments to a template's image tags

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

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!!
 

colinsp

Colin
Joined
Sep 5, 2007
Messages
2,322
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.
 

piscespassion

Thread Starter
Joined
Aug 25, 2009
Messages
147
There is an error in your html as you have detailed above. The ? before img. I think that both should be replaced by /.
OMG, you're right!! I hadn't noticed that! Ok, I'll check the links you provided, thx!(y)
 
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.
 

piscespassion

Thread Starter
Joined
Aug 25, 2009
Messages
147
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.
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:
 

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.
 

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)...?
 

colinsp

Colin
Joined
Sep 5, 2007
Messages
2,322
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.
 

piscespassion

Thread Starter
Joined
Aug 25, 2009
Messages
147
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.
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
 

colinsp

Colin
Joined
Sep 5, 2007
Messages
2,322
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.
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

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 807,865 other people just like you!

Latest posts

Members online

Top