Solved

photo border color

Posted on 2004-03-23
6
258 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:
adilkhan 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:adilkhan
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

895 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now