rubydee Posted October 8, 2012 Share Posted October 8, 2012 (edited) Have a nav bar and want to change the font color of links, what and where do I place color changing tags? For example, from the HTML layout tutorial page below: how would I change menu, html, css and javascript. text color? <div id="menu" style="background-color:#FFD700;height:200px;width:100px;float:left;"><b>Menu</b><br>HTML<br>CSS<br>JavaScript</div> Edited October 8, 2012 by rubydee Link to comment Share on other sites More sharing options...
niche Posted October 8, 2012 Share Posted October 8, 2012 Check outhttp://www.w3schools.com/cssref/default.asp#color orhttp://www.w3schools.com/cssref/default.asp#border And do the css tutorials as soon as possible Link to comment Share on other sites More sharing options...
rubydee Posted October 8, 2012 Author Share Posted October 8, 2012 Thanks, looking for help with html not css though. Link to comment Share on other sites More sharing options...
niche Posted October 9, 2012 Share Posted October 9, 2012 What you need to do is best done by css. That's why it's there. the purpose of html is simply to get content on the page. You use css to make it pretty. Link to comment Share on other sites More sharing options...
rubydee Posted October 9, 2012 Author Share Posted October 9, 2012 O.k, CSS, but where in code page do I place: a:link {color:#FF0000;} /* unvisited link */ Have tried several places non of which worked. Link to comment Share on other sites More sharing options...
niche Posted October 9, 2012 Share Posted October 9, 2012 Do the w3schools tutorials or at least search them http://www.w3schools.com/cssref/tryit.asp?filename=trycss_sel_link_more1 Link to comment Share on other sites More sharing options...
rubydee Posted October 9, 2012 Author Share Posted October 9, 2012 I did before asking the forum, plenty of info on what code to use but never where to place within,cannot find the answer to this simple problem that is why I asked the forum, thanks all the same. Link to comment Share on other sites More sharing options...
thescientist Posted October 9, 2012 Share Posted October 9, 2012 I did before asking the forum, plenty of info on what code to use but never where to place within,cannot find the answer to this simple problem that is why I asked the forum, thanks all the same. then you clearly didn't read his post, which gave an example of adding styles within the head of the document. Also, one of the first lessons in the CSS tutorial is how to include CSS in your HTML.http://www.w3schools.com/css/css_howto.asp Please just try reading a little more carefully. This is basic stuff and could be found anywhere in the internet too. And if you weren't already aware of why this is a CSS issue and not an HTML issue, then it might be of good benefit to review the HTML tutorials from the beginning as well. It's just as important to learn what something can't do. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now