Forum Support

Shape 5
March 29, 2024, 12:58:27 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Image Border not working  (Read 502 times)
cspgsl
Jr. Member
**
Offline Offline

Posts: 903



« on: June 24, 2013, 04:29:02 AM »

At http://golfgivesback.ca/ I have changed the code in template.css to place a border around the images in the top slider.

The code I used is:
Code:
.image_slide_img {
float:right;
width:30%;
border: 5px solid #000DAB;
}
Problem is, it only affects the first image in the slider and not the other 5  Huh

Any thoughts? Thanks
Logged
mikek
Administrator
*****
Offline Offline

Posts: 28743



WWW
« Reply #1 on: June 24, 2013, 07:43:54 AM »

Hello,

Because you have style="border: 0;"  directly on the element:

<img border="0" style="border: 0;" src="/images/imageslide2.jpg" class="image_slide_img">
Logged

Mike Knott
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
cspgsl
Jr. Member
**
Offline Offline

Posts: 903



« Reply #2 on: June 24, 2013, 08:06:43 AM »

 Embarrassed Look for the simple things first... I seem to keep forgetting that
Thanks
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.