argh...border around images but I didn't add one!

liunx

Guest
I went in to my pages and started changing the thumbnail size to the correct size......well all I'm changing is<br />
width="120" height="87" to width="127" height="97"<br />
<br />
That is *all* I changed on a page and it gives me a border around the image despite me having border="0"<br />
What could the problem? I so so need to get this site done and can't if it's adding that danged border!.....help....<br />
This is one of the pages so you can see the code and stupid border that shouldn't be there. <!-- m --><a class="postlink" href="http://georgiainc.net/evergreen_valley.html">http://georgiainc.net/evergreen_valley.html</a><!-- m --><br />
Lexi<!--content-->Lexi,<br />
<br />
the problem isn't your images, but your hrefs. Add border=0 to the href tag surrounding the images, and your borders will fall away.<br />
<br />
<a href=http://www.htmlforums.com/archive/index.php/"images/shadowestates.jpg" border=0>--><img<br />
src=http://www.htmlforums.com/archive/index.php/"images/Thumbnails/noimagavailtn.jpg" width="127" height="97<br />
border="0" alt="no image available"></a><!--content-->Maybe i'm tired....that worked on the first page then on others it doesn't?..why would that be?<br />
thanks!<!--content-->im sorry doc, but i think you are wrong (please dont send your evil monkeys of revenge after me :P ).<br />
<br />
when you use an image as a link, you have to remember to place the border attribute in the IMG tag.<br />
<br />
i dont think border is even an attribute of the A tag.<br />
<br />
<br />
so you link should be:<br />
<br />
<a href=http://www.htmlforums.com/archive/index.php/"images/shadowestates.jpg">--><img src="images/Thumbnails/noimagavailtn.jpg" width="127" height="97 border="0" alt="no image available"></a><!--content-->Horus is 100% right on this... Ouchhh<!--content-->ouch - because im right. hey, laws of probability say that i have to be right at some point of the universe's existence - you're just lucky that you witnessed it :D<br />
<br />
I only remember this because there was a time when I had it the other way round and was arguing with the guy who said I was wrong - d'oh!<!--content-->so if doc is so wrong, then why isn't it working as he does have the border in the img tag.? :) hehe, we mods have to stick together.<!--content-->Hmmm I don't know why it isn't working. Perhaps a look at the way the site is coded right now would be good. But horus is still 100% correct... no two ways about it.<!--content-->Here is an example of your code. What do you notice missing?<br />
<br />
Close the speech marks after the height data and it will work... where the smiley is<br />
<br />
<br />
<img src=http://www.htmlforums.com/archive/index.php/"images/Thumbnails/glenstonetn.jpg" width="127" height="97 :D border="0" alt="Click for larger Glenstone Lane image"><br />
<br />
<br />
Also you have lots of tiny errors all over the place, have a good look at the code again.<!--content-->I was going to say something about it maybe being the text-decoration of the links or something, but then I realized that none of your height attributes are closed. You have<br />
<br />
height="97<br />
<br />
There is no closing quotation mark. That should take care of it.<br />
<br />
Doog Xela<!--content-->Looks like entimp beat me to the punch. Oh well. I've found that it is much easier to review code with a text editor that recognizes HTML files. I use TextPad. It color codes everything so that, if I miss a quote mark, everything after the quote mark is green and I know it isn't supposed to be.<br />
<br />
Doog Xela<!--content-->k so did we decide/agree on where border="0" resides?<br />
<br />
<br />
thanks so much everyone for your help it's much much appreciated!!! It's sometimes so hard to see your own mistakes in all that messy code...i plan on cleaning it up too<!--content-->I was just making sure you people are on your toes ;):D<br />
<br />
<br />
actaully I even missed the " in the height attrib. :P<!--content-->horus, you are correct. I'm not sure what I was thinking... but thats what I get for answering questions late at night without coding the answers! :rolleyes:<br />
<br />
I did notice that the page was a dreamweaver page, no? How did those quotes get left unclosed? Usually DW does a pretty good job...<!--content-->part of it might have been done in dreamweaver...i'm not the original webmaster...my part the part we have been working on here is hand coded thus the missing " thanks!<!--content-->since ya'll were so great helping me here's another q about the same page <br />
<br />
<!-- m --><a class="postlink" href="http://georgiainc.net/almaden_valley.html">http://georgiainc.net/almaden_valley.html</a><!-- m --><br />
<br />
<!-- m --><a class="postlink" href="http://georgiainc.net/moretable.html">http://georgiainc.net/moretable.html</a><!-- m --><br />
<br />
<br />
I need to incorporate the page moretable.html into the almaden_valley.html page.......except....I want the whole moretable area to start about half way across the page...so the left edge of it starts under the areas like in the image here <!-- m --><a class="postlink" href="http://home.pacbell.net/farneys/georgia.jpg.jpg">http://home.pacbell.net/farneys/georgia.jpg.jpg</a><!-- m --><!--content-->draw a table.<br />
<br />
dont laugh, i mean it.<br />
<br />
in the page where you want "moretable.html", draw a table.<br />
<br />
+--------+----------------------+<br />
| | |<br />
|sidebar | top bit |<br />
| +----------------------+<br />
| | |<br />
| | iframe |<br />
| | src=http://www.htmlforums.com/archive/index.php/"moretable.html" |<br />
| | |<br />
+--------+----------------------+<br />
<br />
hope you understand where im coming from<!--content-->Ack phooey no I don't really understand?<!--content-->another q I have about tables....is it possible to shade them? or do we just add a very light background color like I have?<!--content-->sorry - I can't seem to put in more than one space - i tried to draw out the table in text.<!--content-->+--------+----------------------+ <br />
| | | <br />
|sidebar | top bit | <br />
| +----------------------+ <br />
| | | <br />
| | iframe | <br />
| | src=http://www.htmlforums.com/archive/index.php/"moretable.html" | <br />
| | | <br />
+--------+----------------------+<!--content-->so k so ya draw that out then...? :D<!--content-->thanks entimp.<br />
<br />
Lexi - you draw it by doing:<br />
<br />
<br />
<table><br />
<tr><br />
<td colspan='2' ... ><br />
sidebar code<br />
</td><br />
<br />
<td ... ><br />
topbar code<br />
</td><br />
</tr><br />
<br />
<tr><br />
<td ... ><br />
<iframe src='http://www.htmlforums.com/archive/index.php/moretable.html' ... ><br />
alternative for no iframe support<br />
</iframe><br />
</td><br />
</tr><br />
</table><br />
<br />
<br />
for more info about <table>, <td> and <iframe> - look at these pages:<br />
<br />
<!-- m --><a class="postlink" href="http://www.htmlhelp.com/reference/html40/tables/table.html">http://www.htmlhelp.com/reference/html4 ... table.html</a><!-- m --> <br />
<br />
<!-- m --><a class="postlink" href="http://www.htmlhelp.com/reference/html40/tables/td.html">http://www.htmlhelp.com/reference/html40/tables/td.html</a><!-- m --> <br />
<br />
<!-- m --><a class="postlink" href="http://www.htmlhelp.com/reference/html40/special/iframe.html">http://www.htmlhelp.com/reference/html4 ... frame.html</a><!-- m --> <br />
<br />
<br />
just one more thing - <iframe> is not part of the "strict" standard of html 4.0. It is part of the "transitional" standard. This will probably mean that it is going to be in a future "strict" standard. Also, be aware that older versions of browsers may not support <iframe>.<!--content-->new thread started<!--content-->Where?<!--content-->
 
Back
Top