Solved

Eliminating white margins around images

Posted on 2014-03-08
6
244 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 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Help position a graphic properly via CSS 4 23
Why won't this text float to the left 8 26
Angular JS Route 3 47
bootstrap footer centering and expand problems 7 28
Unordered lists (HTML ul tags) are very handy to create menus of all types, shapes and sizes.  All it takes is a little knowledge of CSS and the possibilities are endless. First off, you should know the general format for menus created using the …
This is a how to build your own CSS3 slideshow and when I say CSS3 I mean just CSS with no javascript in sight! There a few examples online of how to do this but most just show you an example without any explanation, others make it more complicat…
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …

912 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