emopoops Posted December 13, 2009 Share Posted December 13, 2009 i have the folowing css and it doesnt od anything to thw page it realy throwing me of body(background-color:black;font-color:blue;} Quote Link to comment https://forums.phpfreaks.com/topic/184944-my-css-isnt-workinf-correctly/ Share on other sites More sharing options...
RichardRotterdam Posted December 13, 2009 Share Posted December 13, 2009 Maybe change the ( to { after body Quote Link to comment https://forums.phpfreaks.com/topic/184944-my-css-isnt-workinf-correctly/#findComment-976326 Share on other sites More sharing options...
ngreenwood6 Posted December 13, 2009 Share Posted December 13, 2009 yeah the ( should be a { but you should always use hex codes(#000000 for black) for the colors. If you are using dreamweaver there is a color selector lol Quote Link to comment https://forums.phpfreaks.com/topic/184944-my-css-isnt-workinf-correctly/#findComment-976330 Share on other sites More sharing options...
emopoops Posted December 13, 2009 Author Share Posted December 13, 2009 oh osrry i typd it wrong i meant{ but see background-color: doesnt work when background: does and font-color: doesnt work for me and color: does Quote Link to comment https://forums.phpfreaks.com/topic/184944-my-css-isnt-workinf-correctly/#findComment-976332 Share on other sites More sharing options...
haku Posted December 13, 2009 Share Posted December 13, 2009 The attributes need to be: background-color:black; color:blue; And you need to use braces ({) not brackets ((). Quote Link to comment https://forums.phpfreaks.com/topic/184944-my-css-isnt-workinf-correctly/#findComment-976341 Share on other sites More sharing options...
emopoops Posted December 13, 2009 Author Share Posted December 13, 2009 The attributes need to be: background-color:black; color:blue; And you need to use braces ({) not brackets ((). ok well this seems to work i mean background-color: seems to be working BUT STILL I POSTED ABOUT font-color: not working. and i just checked again font-color: does nothing! Quote Link to comment https://forums.phpfreaks.com/topic/184944-my-css-isnt-workinf-correctly/#findComment-976497 Share on other sites More sharing options...
haku Posted December 13, 2009 Share Posted December 13, 2009 That's because 'font-color' doesn't exist. What you are looking for is 'color'. Color refers to the color of the text. Quote Link to comment https://forums.phpfreaks.com/topic/184944-my-css-isnt-workinf-correctly/#findComment-976546 Share on other sites More sharing options...
emopoops Posted December 14, 2009 Author Share Posted December 14, 2009 thanks. that helps a lot Quote Link to comment https://forums.phpfreaks.com/topic/184944-my-css-isnt-workinf-correctly/#findComment-976666 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.