|
|
#1 |
|
Silver Member
![]() Join Date: Oct 2010
Location: Bunbury, Western Australia
Posts: 114
|
I want a fine border around the six big images on this page but I don't want that same line around the head photo in the top left corner. Could someone please tell me what I need to do? The reference is:
http://d7806.mysite.westnethosting.com.au/index.php Thank you in advance. |
|
|
|
|
|
#2 |
|
Diamond Member
![]() Join Date: Feb 2011
Location: Newcastle, Australia
Posts: 1,133
|
Code:
img {
border:1px solid #231f20; /*or any colour you choose */
}
.headimage {
border:0;
}
HTML Code:
<!-- image in header --> <img class="headimage" src="headimage.jpg" alt="blah blah" /> |
|
|
|
|
|
#3 |
|
Platinum Member
![]() Join Date: Sep 2010
Posts: 509
|
of instead simply target all the images in the main content
.content img {border:1px solid #000;} |
|
|
|
|
|
#4 |
|
Silver Member
![]() Join Date: Oct 2010
Location: Bunbury, Western Australia
Posts: 114
|
Thank you both very much. Problem is now fixed. Much appreciated.
![]() Jean |
|
|
|
|
|
#5 |
|
Platinum Member
![]() Join Date: Sep 2010
Posts: 509
|
btw is this a new site because most/all the links are broken?
and it would be really nice to have some bigger images available form those smaller ones using something like http://www.huddletogether.com/projects/lightbox2/ for example. you have some really nice stuff there! |
|
|
|
|
|
#6 |
|
New Member
![]() Join Date: Apr 2011
Location: Sault Ste Marie, Ontario Canada
Posts: 5
|
I would use phreadee's suggestion as the more you can avoid inline styling the better
__________________
Trevor Seabrook Sault Web Design - For all your web design needs info@saultwebdesign.com |
|
|
|
|
|
#7 |
|
Platinum Member
![]() Join Date: Sep 2010
Posts: 509
|
|
|
|
|
|
|
#8 |
|
Diamond Member
![]() Join Date: Feb 2011
Location: Newcastle, Australia
Posts: 1,133
|
hehe.
in fact I prefer daves method.
|
|
|
|
|
|
#9 |
|
Bronze Member
![]() Join Date: Mar 2011
Location: Portland, OR
Posts: 98
|
i always reset this in my first few lines of css with the below.. and I get rid of outlines too.
a img { border:0;} and then if theres a specific need for a border ill target that class' children. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|