Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: High
  • Security: Public
  • Views: 59
  • Last Modified:

Safari displays line under navigation differently

Beta site
http://25a.e58.myftpupload.com/

Why does Safari display the white line under the navigation bar as a 1 px line (which is what it was originally).  In Firefox, it displays correctly as a 5px line.  I don't think it is a cache issue since I normally don't use Safari.  Client brought this up to my attention and that was when I viewed in Safari.
Unknown.png
0
nsitedesigns
Asked:
nsitedesigns
1 Solution
 
Jackie ManCommented:
It is the expected behavior as Safari in OS X will not support padding in CSS unless you include the HTML and CSS files as code-blocks.

Source: https://forums.macrumors.com/threads/css-padding-problems-in-safari.506010/
0
 
nsitedesignsAuthor Commented:
Thanks!  I used Eric Meyer's reset and it worked fine.

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

Open in new window

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!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now