Quantcast
Channel: Adobe Community : Unanswered Discussions - ColdFusion
Viewing all articles
Browse latest Browse all 5794

Change Background-Colour on startsite after login

$
0
0

Hi!

 

I am a coldfusion beginner and i want to realise an easy login-website. Easy means, that it only should use very easy commands, like a if-command

 

this is my task: Make a login-page (login.cfm), which changes the color of the background  after the login.

 

Like the following table:

 

 

Username: User1     password: password1     background-color: yellow

Username: User2     password: password2     background-color: blue

Username: User3     password: password3     background-color: green

 

 

My problem is now, that i only can use easy commands and i don't know, how i can change the background color in the page. I just want to overwrite the css-setting for the background-color. But how can i do this? I guess, that i can realize this with <cfif>, but i have no idea, who i can change the css-Settings with this command.


Viewing all articles
Browse latest Browse all 5794

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>