Skip to main content

How to optimize web pages across the browser.

Google Chrome is my favourite browser. It has given immense developer features.
When I opened my first web page on Firefox for the first time, it disappointed me.
I found some length, padding, margin, font etc. mismatches.
The pages which correctly rendered in Chrome were not that much accurate on any other browser.
It was because of the default values stored in them. Different browsers may have different default values for them. I used Google Chrome to develop my website - thus chose values for margin, padding etc. in a way that it balances the default values. Those chosen values cannot balance the default values stored in other browsers.

Mainly there are 2 solutions.

You should use one of these solutions while developing a website.

1. Use a css reset.

The simplest method is to use a CSS reset.
here is one..


2. Use a framework.

Using frameworks are one of the best choices. They offer fast development and responsiveness.
Most popular frameworks are Bootstrap and Foundation.

Polymer from the Internet Giant!

Recently Google released Polymer 1.0 which is a UI designing 'stuff" based on web components. In my opinion this is the one which is going to rule the web soon.

Popular posts from this blog

How to pass variables to res.render() in Node.js

I was trying to figure out how to render a view inside a view, as I was stuck with this issue.

Horrible Effects of Misplaced Extensions ;)
I was using Node.js platform with ejs template engine.

My index.ejs file has an included header.ejs file.
Everything works well except that I can't pass values to the variable status in header.ejs.

Here is my abstract code...




The most funniest solution ever!
The solution is as easy as this.
Just remove .ejs extension from the include command.
I spent at least an entire night to figure it out.

Talky Messenger Documentation & Setup

Just created a chat app that runs in Node and Socket. By the Grace of God, this attempt was worthy.

Talky is a messenger app built with Node, Express, Socket, Angular & Bootstrap.
It's like a server-client structure. (But obviously not like the one we done at OS lab using shared memory). It has a broadcasting structure. Talky does not keep a log on chat. i.e., It doesn't have a memory or database. When we close the browser window, chat history is lost. There I also added a basic console, protected by a password, to send real-time notifications to active clients.

The name 'Talky' was suggested by a friend of mine. (hey, thank you for that. The fact is that I am not really good at naming...😝)

What if sometimes your college blocks WhatsApp? Try Talky.

(There is also a website on internet in the name of 'Talky' which has no connection with this one.)

Download Talky Messenger To use Talky, all you need is 3 things:

Node serverSource code.Three commands.