Solved

Line Appearing in Google Chrome

Posted on 2014-04-08
3
394 Views
Last Modified: 2014-04-08
Hi,

There is a small line appearing on a section of my page that i just can't seem to debug - http://goo.gl/ji6QQJ

If you scroll down to the 'Shop Locally Globally' section and look at the bottom of this section close to the 'Up & Down' arrows, you will see a small thin white line above them (see screenshot).

screenshot
It only appears in Chrome, and it only appears if i add the 'Up & Down' arrows to the section above it.

Can anyone see why this is happening? Thanks in advance...
0
Comment
Question by:oo7ml
[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 Comments
 
LVL 35

Accepted Solution

by:
Dan Craciun earned 300 total points
ID: 39986547
It disappears if you set
padding-bottom: 6.4rem;

Open in new window

instead of 6.5 on .home-section

Line 442 in template.css

HTH,
Dan
0
 
LVL 22

Assisted Solution

by:Kim Walker
Kim Walker earned 200 total points
ID: 39986730
It seems that Chrome is having trouble rendering the exactly one-half pixel resulting from the rem unit. Chrome is calculating 6.5rem as 123.500 pixels. While 6.49rem or 6.51rem are rounded and rendered properly, 6.5 is not.

I wonder if the rem unit is ready for prime time. I noticed that Firefox calculates 1rem as 19px while Chrome calculates it as 17px. It might be wise to include the following in order to standardize the root em size across browsers. (Replace "XX" with your preferred root font-size in pixels).
:root { font-size: XXpx; }

Open in new window

0
 

Author Comment

by:oo7ml
ID: 39986935
Thanks guys, i changed it to 6.4 and it worked fine, thanks for insight into how Chrome renders it too, much appreciated.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
When the s#!t hits the fan, you don’t have time to look up who’s on call, draft emails, call collaborators, or send text messages. An instant chat window is definitely the way to go, especially one like HipChat. HipChat is a true business app. An…
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

726 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