Solved

Eliminating white margins around images

Posted on 2014-03-08
6
257 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
6 Comments
 
LVL 43

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Bootstrap 3 - Style a dropdown 1 31
How can I make my tabs look like this? 1 48
TypeError jquery issues with site - CSS conflicts 3 43
toggle content 12 39
Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
This article discusses four methods for overlaying images in a container on a web page
In this Micro Tutorial users will learn how to embed custom fonts into websites using @font-face in CSS Select a font: Ensure the EULA allows you to use @font-face: Download the font: Get the browser-compatible files you need: Edit your CSS       - Name …
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

739 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