Solved

Eliminating white margins around images

Posted on 2014-03-08
6
241 Views
Last Modified: 2014-03-08
A webmaster designed a site for me at www.mauivacationrental.com.  I've tried to apply a background image so that it is uniform throughout the page, but there are narrow white borders or margins around images.  The CSS is complex, and I haven't found a way to eliminate these borders.  I'd appreciate some guidance.   I think the easiest page to analyze is www.mauivacationrental.com/contact.htm    I'll upload the main stylesheet.p7affinity-1-01.css
0
Comment
Question by:ddantes
  • 3
6 Comments
 
LVL 42

Accepted Solution

by:
Chris Stanyon earned 500 total points
ID: 39914378
In your global_css.css file you have this (line 32):

.blocks-inner {
    border: 2px solid #FFFFFF;
    margin: 0;
}

Open in new window

Which is setting the white border. Just remove the border rule
0
 
LVL 16

Expert Comment

by:rbudj
ID: 39914900
Chris is correct. You need to remove the border style in your global_css.css file:

.blocks-inner {
     margin:0;
}
0
 

Author Comment

by:ddantes
ID: 39914901
Thank you!

I apologize for mistakenly awarding points to the response which affirmed a correct answer that appeared above it.  I've requested attention to correct this.

I just posted a related question, if you have time and interest...
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/CSS/Q_28383652.html
0
 

Author Comment

by:ddantes
ID: 39914929
Thank you.
0
 

Author Comment

by:ddantes
ID: 39915309
Hello again, Chris:  On smaller screens, images abut one another with no intervening space, since removal of the border style.  Is there a "transparent" border which I could apply?

Please disregard.  I found out how to do that.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

CSS3 Custom checkboxes This article shows how to style the checkbox form element using only CSS. Works in: Chrome, FF, Safari, Opera, IE9+ Uses modernizr.js to check for :checked pseudo class, falling back to plain old checkboxes (IE8 and bel…
When writing CSS, there are a few simple rules that will make your life easier.    1. Using ‘* {box-sizing:border-box;}’. Using this will wrap all your elements in a nice little compact box-model that will give you the width you want, like so... …
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

757 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now