Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

photo border color

Posted on 2004-03-23
6
Medium Priority
?
267 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
6 Comments
 
LVL 23

Accepted Solution

by:
Saqib Khan earned 200 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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying 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

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 article is very specific and is only intended to help if you are installing Dreamweaver 8 in a Windows 7 environment with Office 2007 installed.   I'm not sure why Microsoft tends to release OS' that should not be released but they do.  Windows…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…

604 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