Showing posts with label Web. Show all posts
Showing posts with label Web. Show all posts

Saturday, May 14, 2011

Tip of the Day

One of the most efficient ways of making sidebars is: using CSS and the "table" element, and then inserting an iframe that shows a separate page, which would be your sidebar's content. You can do the same.

The coding below is the start of what you'll need:
<table>
<tr>
<td>Your left sidebar here</td>
<td>Your main content here</td>
<td>Your right sidebar here</td>
</tr>
</table>

So you should get the picture by now. Then we will add CSS to control the left and right sidebar's width, and we'll use CSS for the "iframe" elements inside the left and right sidebars to make the iframes as big as those "td" elements. That's what I did for my coding.

The "table" element should be set to as wide as you want, using CSS.

Just a tip. It's easier than doing lots of "div" elements. Hopefully useful. Your feedback is welcome.

Friday, May 13, 2011

Tip of the Day

When changing the layout of a webpage, you don't want your visitors to see any of the pages that will be affected.

So heres a tip: change the name of the pages who's layouts will be affected, and make sure that you have a page that will display a "temporarily unavailable" page. With GoDaddy, a file named "welcome.html" will be the default page, useful for when you are editing the layout or doing another minor change. I have actually never used any other hosting providers except for Blogger, which hosts your blog on blogspot.com.

A useful tip. Hope it helps.

Monday, May 9, 2011

Tip of the Day

Do you have a website and you don't get any visitors?

Currently, my blog has almost no visitors. But I got my first follower on May 7th, 2011 (thanks, manish sharma!), because I commented on a post of his on web building. To get more visitors on your site, you should try these tips:

  • Make sure you have a blog. Then seek out blogs similar in content to yours and comment on them.
  • On your blog, you should have a sidebar. Put a link to your website on it. This way, people will easily find your site.
  • Link your site to your public profile (Twitter, Google, etc.).
  • To see the visitor stats, use a tracker like Google Analytics.
  • Post good content on your website, and don't keep it "blah, blah" and make sure it loads in less than seven seconds.
  • Check out the W3Schools Web Building Tutorial.
Let me know how it goes! It may take a month or more. I have been waiting for over two months for people to land and stay on my site. You just have to be patient. Your site is probably similar to hundreds of other sites.

A good tip.

Thursday, May 5, 2011

Tip of the Day

Don't create the website just for your browser. Make sure that at least the website is supported in all major browsers.

What I mean is: don't design your website with technologies that are supported in only certain major browsers. Your site needs to display the same on all 5 of the major browsers. Those are:


  • Microsoft Internet Explorer
  • Mozilla Firefox
  • Google Chrome
  • Safari
  • Opera
Do not worry about Netscape. Netscape has left because of nobody using it. Just only focus on the browsers shown above. I use Google Chrome, which continues to increase in popularity. Also remember to use the latest standards.

Some useful tips below (using today's standards):
  • When aligning elements to the center, the CSS coding "margin:auto" should be used. For it to work in Internet Explorer, add a !DOCTYPE declaration that will work in IE.
  • If adding HTML5 video or audio to your website, make sure you also have an older way of playing media on your website. For example, the "audio" and "video" element both allow you to tell when they are supported in a browser or not. Just insert text in between the start and end tags. In the text should be a link to the same video, just done in a way that all browsers will support it. If you don't understand what I'm talking about, ask me in the comment box.
  • In the future, browsers will not support the "font" tag.
  • It can be useful to look up what to and what not to use when making a website. You even want your website to work in IE6.
This should be a useful tip for you. Most experienced developers already know this stuff.

Tuesday, April 26, 2011

Tip of the Day

Don't burst your page with content.

Pages filled with lots of content can take a long time to load. A visitor that first lands on your page will not be interested in a webpage that takes 7 seconds to load. Keep your page content minimum, and place lots of content in separate pages.

Just a tip on speed.