PDA

View Full Version : Searched for green box - but could find answer


ChristopherJAshdown
Jun-14-2008, 08:18 AM
hi there - I know this has been answered before, but I can't find it here anywhere - so here goes.

How do I change the green on my webpage to another color?

Specifically for borders around gallery pixs and wording.


Thanks for the help.

J Allen
Jun-14-2008, 09:39 AM
Look at # 31 here: http://www.dgrin.com/showthread.php?t=26043

Also check out these other great site's:

http://www.dgrin.com/showthread.php?t=18104

http://www.alvit.de/handbook/

http://www.w3schools.com/default.asp

Your site looks pretty good so far. :thumb

ChristopherJAshdown
Jun-15-2008, 02:36 AM
Thanks for those - checked them out and applied the following:

/* Border style */
.imgBorderOn { border:2px solid red; }
.imgBorder { border:1px solid white; }
top_border, .bottom_border { border: 0px; }
.left_border, .right_border { border: 0px; }
edit pixels ("on" = chosen/hover item):
.imgBorderOn { border:2px solid red; }
.imgBorder { border:1px solid white; }

#pageNav {color: red;}
.pageNav a.nav { color: red; }
.caption { color: red; }


I have four pages where this is not taking effect
1. in my homepage when logged in I can see galleries with green borders
2. in my galleries page where I can see gallery categories with green borders
3. in my albums pages for each category same as above
4. in my actual gallery where I can see the page 1 of 2 in green text

any more ideas would be greatly appreciated.

Many thanks.

J Allen
Jun-15-2008, 04:07 AM
Try this code:


/* Change default image border color */

.imgBorder {
border-color: #FFFFFF;
}


a:hover img.imgBorder,
.imgBorderOn {
border-color: #FF0000;
}

Or try this one also:


a:hover img.imgBorder,
.imgBorderOn {
border-color: #FF0000;
border-style: ridge;
border-width: 5px 5px;
}

ChristopherJAshdown
Jun-18-2008, 04:50 AM
Thanks so much for helping me out with this - tried over and over - but now you've fixed it. Cheers.