Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Software Development
Programming
Programming Q&A
PHP error styling with css
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Dobby" data-source="post: 262167" data-attributes="member: 1559"><p>Everything in my css file works except these things:</p><p></p><p>[CODE]</p><p>.info {</p><p>color: #00529B;</p><p>background-color: #BDE5F8;</p><p>background-image: url('info.png');</p><p>}</p><p>.success {</p><p>color: #4F8A10;</p><p>background-color: #DFF2BF;</p><p>background-image:url('success.png');</p><p>}</p><p>.warning {</p><p>color: #9F6000;</p><p>background-color: #FEEFB3;</p><p>background-image: url('warning.png');</p><p>}</p><p>.error {</p><p>color: #D8000C;</p><p>background-color: #FFBABA;</p><p>background-image: url('error.png');</p><p>}</p><p>.validation {</p><p>color: #D63301;</p><p>background-color: #FFCCBA;</p><p>background-image: url('validation.png');</p><p>}</p><p></p><p></p><p>.button {</p><p> display: inline-block;</p><p> background: #66ab04;</p><p> -webkit-box-shadow: 0px 1px 0px 0px #82ba31 inset, 0px 0px 0px 4px #e6e6e6;</p><p> -moz-box-shadow: 0px 1px 0px 0px #82ba31 inset, 0px 0px 0px 4px #e6e6e6;</p><p> box-shadow: 0px 1px 0px 0px #82ba31 inset, 0px 0px 0px 4px #e6e6e6;</p><p> -webkit-border-radius: 2px;</p><p> -moz-border-radius: 2px;</p><p> border-radius: 2px;</p><p> -webkit-transition: all 0.2s ease-in-out;</p><p> -moz-transition: all 0.2s ease-in-out;</p><p> -o-transition: all 0.2s ease-in-out;</p><p> transition: all 0.2s ease-in-out;</p><p> text-shadow: 0px 1px 1px #497a03;</p><p> padding: 6px 30px;</p><p> border-color: #5b9904;</p><p> border-width: 1px;</p><p> border-style: solid;</p><p> font-family: Arial, Helvetica, Sans-serif;</p><p> font-size: 14px;</p><p> color: #ffffff;</p><p> font-weight: bold;</p><p>}</p><p>.button:hover {</p><p> background: #9bce00;</p><p> -webkit-box-shadow: 0px 1px 0px 0px #add72e inset, 0px 0px 0px 4px #d5efab;</p><p> -moz-box-shadow: 0px 1px 0px 0px #add72e inset, 0px 0px 0px 4px #d5efab;</p><p> box-shadow: 0px 1px 0px 0px #add72e inset, 0px 0px 0px 4px #d5efab;</p><p> text-shadow: 0px 1px 1px #698c00;</p><p> border-color: #93c300;</p><p>}[/CODE]</p><p></p><p>I have no idea why</p></blockquote><p></p>
[QUOTE="Dobby, post: 262167, member: 1559"] Everything in my css file works except these things: [CODE] .info { color: #00529B; background-color: #BDE5F8; background-image: url('info.png'); } .success { color: #4F8A10; background-color: #DFF2BF; background-image:url('success.png'); } .warning { color: #9F6000; background-color: #FEEFB3; background-image: url('warning.png'); } .error { color: #D8000C; background-color: #FFBABA; background-image: url('error.png'); } .validation { color: #D63301; background-color: #FFCCBA; background-image: url('validation.png'); } .button { display: inline-block; background: #66ab04; -webkit-box-shadow: 0px 1px 0px 0px #82ba31 inset, 0px 0px 0px 4px #e6e6e6; -moz-box-shadow: 0px 1px 0px 0px #82ba31 inset, 0px 0px 0px 4px #e6e6e6; box-shadow: 0px 1px 0px 0px #82ba31 inset, 0px 0px 0px 4px #e6e6e6; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; -webkit-transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out; -o-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; text-shadow: 0px 1px 1px #497a03; padding: 6px 30px; border-color: #5b9904; border-width: 1px; border-style: solid; font-family: Arial, Helvetica, Sans-serif; font-size: 14px; color: #ffffff; font-weight: bold; } .button:hover { background: #9bce00; -webkit-box-shadow: 0px 1px 0px 0px #add72e inset, 0px 0px 0px 4px #d5efab; -moz-box-shadow: 0px 1px 0px 0px #add72e inset, 0px 0px 0px 4px #d5efab; box-shadow: 0px 1px 0px 0px #add72e inset, 0px 0px 0px 4px #d5efab; text-shadow: 0px 1px 1px #698c00; border-color: #93c300; }[/CODE] I have no idea why [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Software Development
Programming
Programming Q&A
PHP error styling with css
Top