Bloggeries

Go Back   Blog Forum - Bloggeries > Blogging Basics of the Blogosphere > Blogging Basics

Blogging Basics Come here to learn the basics of blogging.

Learn how to set up a blog, start blogging, produce quality content and use these forums as your internet marketing courses.

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old April 30th, 2009, 11:58 AM
Nathan's Avatar
Resident Experiment Inventor
Administrator
 
Join Date: Mar 2008
Location: USA
Posts: 2,392
iTrader: (0)
Nathan has much to be proud of Nathan has much to be proud of Nathan has much to be proud of Nathan has much to be proud of Nathan has much to be proud of Nathan has much to be proud of Nathan has much to be proud of Nathan has much to be proud of
Default Blog Speed Trick: Replace your image header with text.

As some of you might know, I have recently been working to improve the load time on my blog Inkweaver Review.

Well, I was thinking yesterday, and realized that I had a huge image header for the title of my blog. Here is a picture of the old header:



I originally designed this header using an online web2.0 header creator. As you can see it is basically just text with a horizon line through it dividing it into two parts.

This looks pretty good, but I wasn't happy with the load time. The image was 9k.

However, I realized that I could replace this huge image with the following HTML and CSS code:

Code:
  <div style='position: relative; padding-top: 20px; padding-left: 20px; font: 60px Arial; font-weight: bold;'>
     <div style='position: absolute; display: block;'>
         <span style='color: #fb9233'>Inkweaver</span><span style='color: #93c600;'>Review</span>
     </div>
     <div style='position: absolute; display: block; clip: rect(38px auto auto auto); '>
        <span style='color: #fca85c;'>Inkweaver</span><span style='color: #a9d233;'>Review</span>
     </div>
  </div>
Basically, I used two copies of the text Inkweaver Review in slightly different colors. Then I clipped one so that only half of it showed. Then I stacked the elements by making them absolutely positioned in a relatively positioned parent element.

The end result is visually almost identical, and it is only bytes in size rather than kb. Now my blog title also appears instantly rather than having to load and stretch down the screen on slow connections.

The only difference is a very slight roughness around the text on older browsers and OS's because of lack of anti-aliasing.

So there is another trick that you might be able to use to make a visually appealing, fast loading logo for your site or blog.
__________________
+ Experiment Garden is my current blog for experiments and my project portfolio.
+ My first blog was Inkweaver Review. Now I work on Bookflavor

+ You should try out Duck Duck Go
Digg this Post!Add Post to del.icio.usReddit! Stumble this Post!Twit this!
Reply With Quote

Don't Like Ads?? Register as a Member and These Ads Will Disappear!

-->
  #2  
Old May 3rd, 2009, 07:12 AM
atmmultimedia's Avatar
Recent Blog: Hosted Exchange 2010
Blogger in Training
 
Join Date: May 2009
Location: Lincolnshire, UK
Posts: 17
iTrader: (0)
atmmultimedia is on a distinguished road
Default Re: Blog Speed Trick: Replace your image header with text.

CSS is great for this. Plus PHP is also awesome, it saves so much time.
Digg this Post!Add Post to del.icio.usReddit! Stumble this Post!Twit this!
Reply With Quote
  #3  
Old May 3rd, 2009, 09:19 AM
Blogger Supreme
 
Join Date: May 2008
Location: Rocky Mountains
Posts: 218
iTrader: (0)
flashgordon is on a distinguished road
Default Re: Blog Speed Trick: Replace your image header with text.

Well done, plus it is better for SEO. I like your theme too, really clean and attractive.
Digg this Post!Add Post to del.icio.usReddit! Stumble this Post!Twit this!
Reply With Quote
  #4  
Old May 3rd, 2009, 09:48 AM
Nathan's Avatar
Resident Experiment Inventor
Administrator
 
Join Date: Mar 2008
Location: USA
Posts: 2,392
iTrader: (0)
Nathan has much to be proud of Nathan has much to be proud of Nathan has much to be proud of Nathan has much to be proud of Nathan has much to be proud of Nathan has much to be proud of Nathan has much to be proud of Nathan has much to be proud of
Default Re: Blog Speed Trick: Replace your image header with text.

Thanks, I've been going for really clean and light.

I hope that this CSS trick can be useful for some of you.
__________________
+ Experiment Garden is my current blog for experiments and my project portfolio.
+ My first blog was Inkweaver Review. Now I work on Bookflavor

+ You should try out Duck Duck Go
Digg this Post!Add Post to del.icio.usReddit! Stumble this Post!Twit this!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 07:59 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 RC1

Blog Directory | Submit Blog | Latest Blogs | Blogging Blog | Blog Reviews | Blog Forum