Jump to content

CSS + JSP


DeathsAngel

Recommended Posts

div.centrale {  color: #FFFFFF;  position: absolute;  top: 10%;  padding-top: 1%;  width: 100%;  text-align: center;}

In my JSP file I put the <link> thing for the CSS to join and it works but only the color: #FFFFFF doesn't work.The position, top, width etc. works but not the color.Can you tell me why?Thanks :)

Link to comment
Share on other sites

It worked ok for me, white centered etc?

<head><style>body{background-color:black}div.centrale { color: #FFFFFF; position: absolute; top: 10%; padding-top: 1%; width: 100%; text-align: center;}</style></head><body><div class="centrale">Hello</div></body>

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...