Website Laggy on Chrome Firefox but not Safari - css

Here's my website, I used a template for it
http://www.hdilapp.com
I tried it with 4 browsers:
Safari
Google Chrome
Firefox
Internet Explorer
Out of the 4, Safari performs the best. By "best", I mean the scrolling process is smooth. However, the scrolling is not smooth on Chrome occasionally. Well, for Firefox and IE, the scrolling is simply disappointing. It is very laggy.
This is my assumption right now: the reason that makes the scrolling so laggy is the way of the browser interpreting my code. However, I do not know which part of my code I should improve on.
My website is around 4.4MB. Is it because my website has too much to load? If that's the case, then why would Safari load my website so smoothly?
I'm not too familiar with html languages, thus, I don't understand the cause of this problem. Please help me!
Thanks :D

try analyzing your page here, it helped me a lot optimizing my sites:
https://developers.google.com/speed/pagespeed/insights/
Could be Hardware-dependent too, if you use different Devices for FF and Safari - some of my old Android Phones lag extremely...

Related

Website completely broken in Safari

I've noticed something really strange; my website (http://wizztune.com) looks absolutely and completely fine in Chrome and Firefox but broken and some sections are missing in Safari. Also, Safari treats my "position: fixed" attributes as if they were ignored. There's just a lot of stuff that seems broken; any idea why is this and if there's any way for me to fix it without rewriting every single line of the stylesheets?
Screenshots - also notice that Safari leaves out a few sections of the page in the second screenshot and breaks the "fixed" elements in the fourth one:
http://wizztune.com/wt_chrome.png
http://wizztune.com/wt_safari.png
http://wizztune.com/wt_chrome2.png
http://wizztune.com/wt_safari2.png
Thank you, any help will be greatly appreciated!
That is Safari for Windows, that project was abandoned many years ago. Your site looks totally fine here on Safari for Mac. Don't worry.
So Chrome and Safari shares the same engine WebKit, although Chrome switched to Blink a while ago, but it is still WebKit (slimmer version). Ideally, if the site runs fine on Chrome, it will be generally fine on Safari too (I'm not talking about the older versions).
One more thing: Chrome is CSS prefix free, however Safari may need -webkit* prefix for some cutting edge features. You can quickly find out on http://caniuse.com/ or Mozilla https://developer.mozilla.org/ if you need.

What could cause Safari to be choppy while scaling the browser?

I have a Drupal 7 site with a fluid image grid (4x4). As the browser scales down, the images do as well so everything fits nicely.
This runs smoothly on my PCs in Firefox, Chrome, and Safari 5. On the several Macs I've tested, it runs well in Firefox and Chrome.
If I try to do this in Safari on a Mac, it is extremely choppy. However, Safari 5 on certain Macs seems to run just fine, but one was a bit choppy. Across the board, Safari 6 is not smooth at all.
So far I've tried getting rid of all my js files, and I've also compressed my css and js through Drupal's settings.
Any suggestions would be welcome. Thanks!
After going though all javascript and css transitions, I couldn't find anything. We then switched the site from a cheap shared godaddy server to Rackspace cloudsites. Everything is smooth as can be.

Why does my page start higher in Safari and firefox than in Chrome?

I'm coding www.rootologyhealth.com and I cannot figure out why the Nav Bar on the homepage starts so high up in Safari and Firefox but looks perfect in chrome. I've done all the work I can to try to diagnose the problem. I'm certain its a stylesheet issue, but the styles I'm using are relatively simple and shouldn't be causing this problem.
For me, it's broken in Chrome 21 and fine in Firefox 14 on Windows 7.
When messing around with the developer tools in Chrome, if you take div#top-menu out of div.container, it no longer floats up above the viewable portion of the browser. You'll be left with a spacing issue between that and the large advert, but that should be simpler to deal with.

Which reference browser should I use for developing a new website?

I'm unsure which browser is the best for a web development. I know that Firefox is the most favoured for the common but it also does tolerate programming failures, so it is not 100% strict.
With what browser should I develop my website to have the best result on all other browsers, so I don't have to fix too much in the CSS?
From personal experience.
I use chrome. For me 100% fine on chrome is like 70% on IE, so I switch between the two a lot.
Chrome 100% = 98% FF , 99.9% Safari and 70% IE.
This is what I've noticed from my experience.
I personally use Chrome, as its built-in developer tools work great, and it has the widest HTML5 support. However, that's not necessarily a good thing because even if your website works 100% with the better browsers, it will probably break with IE.
If you need your website to work with IE, you should constantly test with it. Use the lowest common denominator.
At this point, all of the major browsers implement a lot of CSS3 features a little differently (box-shadow vs -moz-box-shadow vs -webkit-box-shadow for instance). Honestly, your best bet is to use IE, Opera, Firefox and Chrome (I'm pretty sure Safari and Chrome both run off of webkit, so they should be the same). As for what to use as your primary browser, it all depends on what you're looking for really. I enjoy using Chrome, but others swear by Firefox (I find it too clunky).
Now as for older browser support, well that's just an entirely different discussion ;)
Simple answer, all the major ones.
When you develop for the web it's best to think from the view point of the user viewing the site. The main issue is that each browser will render a webpage a little different and that is the main problem you need to solve.
To help with this issue, you'll need to work with some cross-browser rending web-apps such as http://browsershots.org/
To more directly answer your question, I'd go with Chrome with Firebug. Asides from that, you should be able to create CSS browser-compliant sites with practice.
Good luck!
Develop in the browser of YOUR choice with the best development tools for YOU (e.g. Firebug, FirePHP in FF or the Developer Tools for Chrome). Try to use standard, crossbrowser compatible framworks for JS, CSS and available templates for HTML like "Boilerplate" HTML 5. And then test everything continously on the mainstream browsers (IE, FF, Chrome, Opera, Safari).
This way you won't waste your time afterwards fixing browser specific bugs...
I prefer using Firefox, simply because there are so many useful tools for it - Firebug, Web Developer's Toolbar and so on - but really it doesn't matter as long as it's not Internet Explorer.
This is because IE has so many quirks that it's best to get it right in all other browsers, then worry about adding workarounds or other fixes to make it look right in IE (getting things right in IE can take a very long time).

css rollover buttons- great in safari,and firefox/ ie but not chrome?

i've been trying out a bit of code posted to make image rollover buttons using only css,
this seems to work fine.
local testing showed no problems, IE, Firefox, safari all ok. even chrome displays as intended on the local version.
Once i move to a hosted test, IE, Firefox and Safari all display as intended but chrome offsets all the buttons right about 8-10 pixels.
here's the test page
http://www.fierysurprise.pwp.blueyonder.co.uk/bga/bgd.html
can anyone enlighten me as to what's happening?
site built in Kompozer
I assume you're referring to the squares under the "architectural design..." phrase.
I can't recreate this problem in Chrome v5.0.375.125.
What version of chrome are you using? Chrome tends to doggedly cache resources. Have you tried a cache refresh?
What version of Chrome are you using? I looked at your site in Chrome 5 and can't seem to tell a difference between any of the browsers you've mentioned.

Resources