Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1107129
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T01:53:41+00:00 2026-05-17T01:53:41+00:00

Is it good to have CSS in <head> for mobiles site? because there will

  • 0

Is it good to have CSS in <head> for mobiles site? because there will be not much css to write and maintain.

Like this http://www.emirplicanic.com/uploaded/tutorials/mobile/

<head>
<style type="text/css">

css here...........

</style>
</head>

It will save one HTTP request. We can keep one common header.php for site.

Or keeping css in <head> is still a bad idea on mobile websites?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T01:53:42+00:00Added an answer on May 17, 2026 at 1:53 am

    I’ve just recently had this discussion within our team. Our conclusions were to inline the CSS (against having them as separate downloads and relying on expires headers to cache on the phone). some of our key considerations were:

    • There is a lot of latency establishing a connection, so inlining the CSS has a big advantage on feature phones that do not support caching the files locally with expires header.

    • For phones that support expires generally also support payload compression, so using compression compensates for the additional css in each download.

    • This strategy loses out on phones that support expires, but do not support compression. We figure this is a pretty small % of our users.

    Addressing @Bob’s maintenance point, we keep all the css in separate files on the server, and it is injected into the HTML as this is being generated (serverside is JSF). If you don’t have this option, then I agree with Bob – it will become a maintenance nightmare.

    Note: We cater to both smartphone users with WIFI (20%), smartphone over 3G/Edge (40%) and feature phone users over 3G/Edge (40%).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i am not sure if this is a good route to go,...i have some
I can't put this to work like it should, I'm not that good with
I'm not good in css and not able to quick fix this issue. I
I have this assignment to read, write, enable cookies so that the username will
I have a page (page1.html) which references a css file (style1.css) All is good.
I have good knowledge on C++ (not C) and recently bought a Symbian-based phone.
(Let's assume that I have good reasons not to remove my NSAssert() checks in
Good day, first I would like to tell that I am not proud to
I am working on modal login/registration forms. I'm not good with Javascript, but have
I have a css layout which is centered, with 100% height. Everything looks good

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.