Archive for August, 2010

How much difference does this url make?

Tuesday, August 31st, 2010
Forum: Google Optimization Posted By: chedderslam Post Time: August 31st, 2010 at 6:17:11 pm

(Advertisement) Cloud Servers in Demand - GoGrid Start Small and Grow with Your Business. $0.10/hour

Bing and Yahoo

Tuesday, August 31st, 2010
Forum: Search Engine Optimization Posted By: KernelPanic Post Time: August 31st, 2010 at 3:11:32 pm

Overseas Expansion: Tips from a Global Exec

Tuesday, August 31st, 2010
Jim_mcgeever_netsuite_thumb_thumb

Once merchants are successful in domestic markets, many of them weigh the benefits of expanding their operations abroad. The many challenges accompanying overseas expansion, including language optimization, SEO, taxation and credit card processing, can seem daunting. We asked Jim McGeever, chief operating officer of NetSuite, a publicly-traded ecommerce and management platform, about his company’s experiences in overseas expansion and how ecommerce merchants can learn from them. Practical eCommerce: Please tell us about NetSuite’s efforts to facilitate overseas expansion efforts. Jim McGeever: "Our OneWorld product allows people to operate in multiple countries around the world. A company with a headquarters in the U.S. could hav...

SEO newbie question

Tuesday, August 31st, 2010
Forum: Google Optimization Posted By: seoconan Post Time: August 31st, 2010 at 10:02:38 am

(Advertisement) GoGrid Cloud Center Connect Cloud and Dedicated Servers on Your Private Data Center

Sytling Submit Buttons for Mobile Safari

Tuesday, August 31st, 2010

As discussed on the most recent episode of Think Vitamin Radio we have been working hard on the redesign of this site and have been looking at how the site reacts when rendered on the iPhone using media queries (if these are new to you then Brian Suda’s most recent article will get you started).

One thing both Mike and I had noticed is that submit buttons, when styled with CSS, appear to have a will of their own when viewed on the iPhone.

Submit Button Demo

Here’s some basic CSS for a submit button:

1
2
3
4
5
6
7
8
9
10
11
input[type="submit"] {
    background: #262C32;
    width: 150px;
    padding: 9px;
    letter-spacing: 1px;
    border: none;
    color: #EFDDA8;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
}


There’s nothing complicated here. We are just adding some basic properties such as background colour, padding, letter-spacing and applying vendor-specific border-radius. Here’s what we get when viewed in the browser (Firefox in this case):

So far so good. Now let’s look at a screenshot of that same button viewed on the iPhone (screenshot taken from iPhone 4 Apple SDK simulator):

For some reason the button now has a gradient, the text is in the wrong position, the corners are very rounded and the padding appears to have not been applied. Not the intended result.

The Solution

Luckily there is a very quick solution to this problem. After some searching I found out that unless explicitly told mobile Safari will change the appearance of buttons & controls to resemble a native Apple control. Thankfully there’s a simple fix.

1
2
3
4
5
6
7
8
9
10
11
12
input[type="submit"] {
    background: #262C32;
    width: 150px;
    padding: 9px;
    letter-spacing: 1px;
    border: none;
    color: #EFDDA8;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    -webkit-appearance: none;
}

Notice the last line of our CSS? By adding -webkit-appearance: none; we are telling mobile Safari that we explicitly don’t want our button to be styled like a native Apple UI control.

After adding this to our button’s CSS we get the following result on the iPhone:

As you can see (and they are different screenshots) this is identical to our first picture.

If you haven’t already I am sure you will come across this when developing for the iPhone, I hope this saves you a few minutes head scratching.

Further Reading

Free directory list |Directory of Directories

Tuesday, August 31st, 2010
Forum: Other Directories Posted By: forumdirectory Post Time: August 31st, 2010 at 8:40:16 am

(Advertisement) GoGrid Cloud Center Connect Cloud and Dedicated Servers on Your Private Data Center

Joomla Layouts: Customizing Your Website

Tuesday, August 31st, 2010
This is part two of a series on Joomla web development in Ubuntu. In the first part, you learned the basic but very important website development skills in Joomla. In this part, you'll learn how to work with templates and other aspects of creating a customized Joomla-based website.
- Just to refresh your memory, the skills covered in the first part included the following: Changing your password in phpMyAdmin (in case you forget your administrator password). Changing the default and uploading Joomla templates. Working with and activating new Joomla templates. Working wi...

How optimize website regionwise

Tuesday, August 31st, 2010
Forum: Local Search Techniques Posted By: mana Post Time: August 31st, 2010 at 4:36:37 am

Link Building With Industrial Machinery Website

Tuesday, August 31st, 2010
Forum: Link Popularity Posted By: alexrabe Post Time: August 31st, 2010 at 4:16:15 am

(Advertisement) Cloud Servers in Demand - GoGrid Start Small and Grow with Your Business. $0.10/hour

Increase Google Traffic: Long Tail Content Techniques

Tuesday, August 31st, 2010
Forum: Search Engine Articles Posted By: SEO Chat Post Time: August 30th, 2010 at 9:00:12 am

Created by DesignForWeb company. All rights reserved © 2007-2010. Check also the iPhone / iPad developers blog
Disclaimer
The materials collected in this blog were taken from open access sources. We try our best to preserve the copyrights of original authors and clearly state the authorship as well as link to original source website where it's possible. Please leave your comment if you feel offended by any post or if you dispose of any information about breach of copyright law in this blog. We will do our best to resolve the situation immediately.