Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Image borders do not appear

Status
Not open for further replies.

foalmom

IS-IT--Management
Feb 19, 2001
6
0
0
US
All my picture properties state there is a "2" border around my pictures. I can see them in "normal" mode. The HTML code says they are there. They do not show up in "preview" mode, or when published. Any idea as to where they go?? Are they there and just in black (hence matching my background and blending in?)

Thank you
 
Try changing your background to a light color and see if the borders show up. If they do, then you'll know it's just blending in with the darker background. An alternate choice if you want to highlight the photo with a border is to put it inside a table. Then you can adjust the table properties and create a sort of frame for the picture.

Linda Adams (Garridon@aol.com)
"The Importance of Being Grammarian," published in The Toastmaster, March 2001
 
Linda is right... your borders are blending in with your background.

Speaking of which it's hard to read read on black.. and a lot of men are colour blind and won't see red I think they see green which will blend in with your background.. If your's is a business site which it appears to be using a black background is a bit of a no no.... also using such large pictures all one page slows down the dl time.. would not smaller thumbnails bet better? Also you need meta tags if you want to use search engines.... probably more than you wanted to know.. but I can never resist;)

Tina AccessFP - FrontPage Resource Centre
Ezine - List -
 
WOW, that's the prettiest green font I've ever seen... NOT!

Sorry girls, you're both wrong. The border is not blending because the border is not even showing up. It is a Red border, however the code that foalmom used works only in Netscape. I viewed the page in Netscape 4.73 and the Red border shows up just fine.

So, here's the thing, Netscape likes

border=2 border=red which was used.

But that code is over looked in Internet Explorer. What IE wants is a style tag.

Try adding this to your img tag - style="border-style: solid; border-color: #FF0000"


the complete img tag could be something like this.

<p align=&quot;center&quot;><img src=&quot;sandy.jpg&quot; alt=&quot;SandyB.jpg (28465 bytes)&quot; align=&quot;left&quot; WIDTH=&quot;288&quot; HEIGHT=&quot;233&quot; border=2 border=red style=&quot;border-style: solid; border-color: #FF0000&quot;></p>

Another way to make your border work using FrontPage and this will work in FP 98 or 2000. In Normal View, right click your image, left click Properties. Then look for the Style button and click it. Then look for Borders. When you have finished, you should have code similar to the code listed above. But this approach will not insert the border=2 border=red tag which is needed if you have viewers that use Netscape.

Hope this helps you out with the border thingy.

Jim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top