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 5981947
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T22:01:00+00:00 2026-05-22T22:01:00+00:00

I am working on an app which allows users to choose style options inside

  • 0

I am working on an app which allows users to choose style options inside the app. These options will then be used to generate a dynamic web page. I was wondering what my options are to achieve the styling of this page, and what the pros and cons are of these options?

The way I see it, I have these 3 options:

  • Apply the css inline

  • Create a dynamic php stylesheet… e.g: <link rel="stylesheet" type="text/css" href="http://domain.com/style.php/>

  • i have also heard about caching stylesheets but I am not even sure about how to do this. If this is the best option where would be the best place to read up on this?

Are these all the options available? And which would be best for what I am trying to achieve?

Thanks for any input

Paul

  • 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-22T22:01:00+00:00Added an answer on May 22, 2026 at 10:01 pm

    Of course your second option is the best.

    With a style.php you are able to output whenever you want based on the user logged in.

    Consider I use style.php without even needing to customize it for the user.
    With it you can extend CSS functionalities like:

    <?php $blue = 'color:#yourbluecolorFFF'; ?>    //  EXAMPLE
    
    td { <?php echo $blue; ?>}
    /*etc*/
    

    Also don’t forget to:

    header('Content-Type: text/css');
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on an app, which allows users to manage (CRUD) content stored on
I'm currently working on my first Django app, which allows registered users to submit
I'm working on an app which allows users to view images, so I'm sending
I'm currently working on a reasonably simple MVC app which allows the user to
I'm working on an OpenGL ES1 app which displays a 2D grid and allows
I used to have a small chat app(which was almost working), that uses PHP,
The application I'm working on allows users to upload HTML templates with CSS, which
I have a rails app I am working on that allows users to create
For an iPhone app, I'm working on a feature that allows users to make
I'm fairly new to Android development and am working on an app which allows

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.