Solved

photo border color

Posted on 2004-03-23
6
257 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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

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…
I still run into .cgi files every now and then. In some instances, I actually prefer the simplicity of a .cgi script to other options. Since I use DreamWeaver extensively, what I needed was a way to open .cgi scripts in Dreamweaver. And I wanted to …
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

747 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

11 Experts available now in Live!

Get 1:1 Help Now