Solved

photo border color

Posted on 2004-03-23
6
261 Views
Last Modified: 2010-04-25
I'm adding borders to photos in a gallery page, but can't seem to change the color from black. Is there a way to do it in Dreamweaver 3?
0
Comment
Question by:pinkwaz
  • 2
6 Comments
 
LVL 23

Accepted Solution

by:
Saqib Khan earned 50 total points
ID: 10662471
Create a Table Set the Color of your Table Border to whatever you want and put the Photo's in.
0
 
LVL 23

Expert Comment

by:Saqib Khan
ID: 10662483
or with CSS

<img src="images/aktitle.jpg" style="border-style: solid; border-color: #FFFFFF" border=10 alt="" align="left">
0
 
LVL 14

Expert Comment

by:Esopo
ID: 10664326
I agree with adilkhan. Just a couple of notes:

- If you use the table thing, remember to give the image a "0" border.

- I would go with the CSS style because of it's simplicity and several advantages, but I would set the style in the header (inside the <HEAD> </HEAD> tags):

************************
<style type="text/css">
<!--
.ImageBorder {
      border: 2px solid #990000;
}
-->
</style>
************************
So you can simply assign the class to all your images and make the changes only in the style declaration, your images would look like:

<img src="one.jpg" width="149" height="70"  class="ImageBorder">
<img src="anotherone.jpg" width="250" height="120"  class="ImageBorder">

Whenever you want to change the color or the border width, you just have to change the

      border: 2px solid #990000;

declaration.


Best regards,

Esopo.
0
 
LVL 19

Expert Comment

by:webwoman
ID: 10668420
Does the photo itself have a border? Anything you do in HTML isn't going to do anything to the actual graphic.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For those who don't know, Adobe Dreamweaver is a popular commercial web editor that enables you to design, build and manage complex websites. The editor is a WYSIWYG (What You See Is What You Get) web editor, which means that you can create your web…
Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question