Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating a status bar 1

Status
Not open for further replies.

carlg

Programmer
Jun 23, 2004
88
0
0
US
I want to create a blue line across my screen that is the length of the screen. It will be about 30-40 pixels thick.

When the user is not logged in, it will just be a thick line on the screen. When the user logs in, I want text on the line to say

User logged in.


Kind of like a status bar.


What is the best way to do this?

Thanks


 
Code:
<style type="text/css">
  #statusbar {
    height: 40px;
    background-color: blue;
  }
  
</style>

<div id="statusbar">
  <p>User logged in.</p>
</div>
Something like this (only relevant parts of code shown, regular necessary html omitted). When there would be no one logged in, you would output no paragraph inside. If you're asking how to create the logic, this is the wrong forum and you will have to ask in one of the server-side scripting fora (asp, php, cf, perl, jsp...)


___________________________________________________________
[small]Do something about world cancer today: PACT[/small]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top