Website Designers and Webmasters

Dedicated to all the tasks Webmasters, Website Developers and Website Designers find themselves facing.

By: Ashton Sanders

Firefox Adding and Removing Scrollbar (CSS Fix)

Nov 3 2010

Filed under: CSS,Firefox,HTML

In Firefox, if the webpage you are viewing is not taller than your screen (and doesn’t need a scrollbar), Firefox will completely remove the scroll bar from your screen. This adds 20px of more space to your view space. Unfortunately, if your website is centered, this will actually move your webpage 10px to the left or right when switching between some pages.

This CSS code will automatically force a sidebar onto every page of your website; even if the scrollbar is not needed. That will stop your webpage from moving left and right on different pages:

html { overflow-y: scroll;}

Enjoy,
Ashton Sanders

By: Ashton Sanders

WordPress: Redirect Blog to First Post

Apr 12 2010

I just created a simple WordPress installation. It was only going to be short pages and a simple shopping cart, but at the last minute, they decided to add a blog. Since the area for text was so small, we decided to only have one post for every page. As it would only act as duplicate content, there is no point in using the blog home page at all.

With some help from WP Recipes, I created this code to redirect the blog home template (home.php) to the first post:

<?php
/*
home.php (Blog Home Page):
Redirect To First Post
*/
if (have_posts()) {
while (have_posts()) {
the_post();
wp_redirect(get_permalink());
}
}
?>

It’s actually very simple. It just uses the WordPress Redirect function to redirect to the first permalink that would show up on that page.

Enjoy,
Ashton Sanders

(P.S. If you haven’t heard, Adobe just released the pre-order for CS5… If I were to get one of the packages today, I’d probably get: Adobe Web Premium CS5. It looks ridiculously epic.)

By: Ashton Sanders

Where’s Ashton Sanders

Apr 3 2009

Filed under: Ashton Sanders

It has been a crazy year so far, and we barely finished the first quarter. Websites in a Flash has been keeping me very busy, so I have been neglecting all of my blogs.

But at least I do have something to show those who ask “What has Ashton Sanders been up to?” This blog is the first unavailing of the new Websites in a Flash logo and website design branding. It’s been a long process, and it turns out: Ashton Sanders is the pickiest client I’ve ever had to deal with.

They say the cobbler’s children go without shoes, and that has really happened with Websites in a Flash. It has been years since I was able to update it. (Some of the spacing is even mixed up on the Website Clients in Internet Explorer 7.0… that’ll give you an idea of how long it’s been.)

Other things to note: I have joined a group called Montana Programmers which has quickly grown to 12+ “extreme programmers” (of all skill levels). We have monthly meetings where we can connect with and share ideas with other website programmers in the area. I’ve been working on websites for 4 years in Polson Montana, but only knew of 2 other website developers in the area.

Tomorrow will be the second meeting I will attend and will be doing a 45 minute “brain dump” (seminar) on CSS. I’ll be covering the very basics and some more advanced items.

That seems to be a good update for now. I plan to finish the new website design for Websites in a Flash, and then will be back to routine updates on this blog!

Enjoy,
Ashton Sanders

(P.S. I’ve got a great new project in the works for those looking to learn everything there is to know about CSS!)

By: Ashton Sanders

Ashton Sanders – Interview

Mar 30 2007

Filed under: Ashton Sanders

This is more of a Question and Answer with me, Ashton Sanders. Enjoy.

Q: What caused you to end up working on the Internet?

Ashton Sanders: Computers have always been my forte, and I greatly enjoy working and creating on the Internet. There is no other industry like it, and it will be one that I know I will always be learning new things about. There is no ceiling to how much I can learn and do.

Q: Why did you buy www.AshtonSanders.com?

Ashton Sanders: Ha! I bought www.AshtonSanders.com because I thought it would be a lot of fun to have and create with. I am the only Ashton Sanders who works on the Internet, (from what I could tell from the Google search) and I knew I would never forgive myself if some other Ashton Sanders bought it… or even worse, someone bought it just to spite me.

Q: What do you feel is your greatest strength in regards to Website Design and Development on the Internet?

Ashton Sanders: There are many aspects of the Internet that I am very proficient at: Website Design, PHP programming, ActionScript, Flash Animation, CSS, HTML, XHTML, etc. If I must choose one part of the Internet that I am the most proficient at, I would have to say it is Search Engine Optimization (SEO). For the last couple years, I have been under the tutelage of Jere Matlock of www.WordsinaRow.com. He is the greatest SEO resource anyone could ask for, and the things that he has accomplished with his client’s websites is truly amazing. With his help, I have begun to create some equally amazing products in the field of Search Engine Optimization. I look forward to all the SEO accomplishments that I will achieve in the near future.

Q: What is your favorite aspect of Website Design and Development?

Ashton Sanders: I love it all! I love taking a blank page, and creating a place that is pleasing to look at, and entertaining to use. I love using Cascading Style Sheets (CSS) to simplify a website’s infrastructure and HTML Coding. I love the accomplishment of programming an elaborate PHP website that does all sorts of fun things. I love putting together an extensive Flash Movie that is entertaining, but most of all I love having fun, and giving my visitors something they can enjoy.

Q: Do you have any company policies that are different from other Website Design Companies?

Ashton Sanders: Yes, definitely! First and foremost, I always answer my cell phone. I am probably the easiest-to-reach web master on the planet. Even if I am behind on a project (not likely), I am not afraid to tell my client. I will never avoid a client for any reason. That brings up another company policy: “If you ever do anything, do it ‘In a Flash!'”

Q: Any Closing Thoughts?

Ashton Sanders: The mind can never be full. No matter how much you learn, there will always be space for more. It my personal policy to never stop learning. It doesn’t matter if I’ve never heard about the subject before, I know what everyone has to start somewhere. Why not here and now? I love expand my information on any subject!

-“Never Stop Learning… Ever!”
-Ashton Sanders”

RSS

Where Am I?

You have found the semi-coherent ramblings of Ashton Sanders: a website designer, developer and webmaster. This is primarily Ashton's place to save notes about techniques and things that he learns in his never-ending conquest of the internet. Hopefully it's coherent enough to be useful to you too.

Subscribe:

Enter your email to get automatic emails whenever Ashton posts on the blog.

Email:

Advertisers:

Email Marketing $19/Month! OIOpublisher Learn how to make Money from Blogging Hillarious, High-Quality Shirts for $6/each Great Book Keeping and Invoicing Software Advertiser Here

Tags and Categories

Links

Blog Roll