Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-28-2012, 09:01 AM   PM User | #1
pumalean
New Coder

 
Join Date: Jul 2008
Posts: 42
Thanks: 19
Thanked 1 Time in 1 Post
pumalean is an unknown quantity at this point
How To Get Rid of Lines Around Image?

Here is the page.

scroll down to the mid of the page and you'll notice there are lines around the buttons- ''small business computer repair'' and ''residential computer repair''.

Those are png image files. And I'm using Wordpress for the site.

How to get id of the lines?

thanks

Last edited by pumalean; 12-29-2012 at 03:04 AM..
pumalean is offline   Reply With Quote
Old 12-28-2012, 01:14 PM   PM User | #2
Paripka
New to the CF scene

 
Join Date: Dec 2012
Posts: 4
Thanks: 0
Thanked 2 Times in 2 Posts
Paripka is an unknown quantity at this point
Hello pumalean,

The borders around those images are being created by the same styling that is adding borders to the images directly above them. If you only want to remove the borders from the buttons you mentioned then you have a few options.

1. You can edit the HTML. This would mean finding the two image tags, and editing them to include a style attribute:

Code:
<img src="http://richmondcomputerdoctor.com/images/business-button.png" style="border-width: 0px" />
If you have the same situation across several pages then this method would become inefficient, as you would have to find each tag on each page.

2. You could change the style declaration. It is in line 528 of the file "/wp-content/themes/clockstone/style.css".

Code:

#container a img.image_shadow {border:1px solid #dadada;}
The above change to the style declaration would mean the border applies only to images with the class of image_shadow, like the two images above your mentioned buttons. However, if this specific border is being relied on for other images in other sections of your site this may cause them to loose their border as well.
Paripka is offline   Reply With Quote
Users who have thanked Paripka for this post:
pumalean (12-29-2012)
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:13 AM.


Advertisement
Log in to turn off these ads.