amazon3d Posted September 17, 2007 Share Posted September 17, 2007 For some reason the settings under .title are not working correctly if you look at the link below you can see two different colors even though they are all 1 color in the CSS. If anyone could figure it out, might just need a fresh set of eyes to glance over it. http://www.shawnmangeot.com/test/hq/index.php <div id="content"> <h2 class="title">Welcome to ShawnMangeot.com®!</h2> <div class="story"> </div> </div> #content .title { padding: 10px 20px; background: #A4B654 url(../images/img4.gif) repeat-x left bottom; font-size: 1em; Quote Link to comment https://forums.phpfreaks.com/topic/69629-solved-coloration-not-working-right-in-css/ Share on other sites More sharing options...
moberemk Posted September 17, 2007 Share Posted September 17, 2007 404 Not Found error. Sorry. Quote Link to comment https://forums.phpfreaks.com/topic/69629-solved-coloration-not-working-right-in-css/#findComment-350067 Share on other sites More sharing options...
amazon3d Posted September 18, 2007 Author Share Posted September 18, 2007 Changed link to www.shawnmangeot.com Quote Link to comment https://forums.phpfreaks.com/topic/69629-solved-coloration-not-working-right-in-css/#findComment-350360 Share on other sites More sharing options...
dbrimlow Posted September 18, 2007 Share Posted September 18, 2007 It still isn't clear what you are talking about. The color you designate will not matter if you have a background image. img4.gif is controlling the background of .title - you could designate any color you want, but it means nothing so long as the background image is present. The background image is what is showing. Quote Link to comment https://forums.phpfreaks.com/topic/69629-solved-coloration-not-working-right-in-css/#findComment-350568 Share on other sites More sharing options...
amazon3d Posted September 19, 2007 Author Share Posted September 19, 2007 Thanks a bunch, I thought something was strange about the image being there. Then it occurred to me that .gif cant use the color #A4B654. So that is why it wasn't showing up right. Thanks again for getting me to look at it and find the bug Quote Link to comment https://forums.phpfreaks.com/topic/69629-solved-coloration-not-working-right-in-css/#findComment-351287 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.