Solved

photo border color

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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

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…
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 …
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

772 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