NAV BAR
------------------------
table#nav {
width:850px;
height:50px;
position:absolute;
top:130px; // looks great for webkit, but not far enough down for moz
background:none;
}
SCROLL BAR
----------
div#scrollPictures {
width:450px;
height:330px;
overflow:auto; // works with webkit, but has ugly white scrollbar on moz.
overflow: -moz-appearance:none; // my failed attempt to fix.
margin:150px;
padding:10px;
}
This is an external style sheet. I'd include the entire html + css if you could do it through a link (the page isn't live), but it's quite long.
****The first image is moz, second webkit.
Last edited by ecarter202; 11-04-2012 at 07:47 PM.
Reason: forgot info.
If your positioning of elements is a problem it's most likely a missing or incomplete <!DOCTYPE> statement in the HTML document. Without seeing all of the HTML and CSS, it's impossible to know. But search on "doctype switch" and you'll find some good advice.
Vendor prefixes only work on selected properties that are not yet standardized, so you can't just add them to have a different setting for a particular browser. I'm not aware of any differences in how the various browsers handle 'overflow', but this could also be related to your <!DOCTYPE> which has a major effect on issues of margin and padding.
If your positioning of elements is a problem it's most likely a missing or incomplete <!DOCTYPE> statement in the HTML document. Without seeing all of the HTML and CSS, it's impossible to know. But search on "doctype switch" and you'll find some good advice.
Vendor prefixes only work on selected properties that are not yet standardized, so you can't just add them to have a different setting for a particular browser. I'm not aware of any differences in how the various browsers handle 'overflow', but this could also be related to your <!DOCTYPE> which has a major effect on issues of margin and padding.
Bookmarks