eduard Posted August 23, 2011 Share Posted August 23, 2011 How do I set the words (languages) of the id content in different colors? Link to comment Share on other sites More sharing options...
Rough Divide Posted August 24, 2011 Share Posted August 24, 2011 Have you tried wrapping the words in a span with a class and reading the CSS tutorial? Link to comment Share on other sites More sharing options...
eduard Posted August 24, 2011 Author Share Posted August 24, 2011 Have you tried wrapping the words in a span with a class and reading the CSS tutorial?Thanks! No, I´m going to do it now! Link to comment Share on other sites More sharing options...
eduard Posted August 25, 2011 Author Share Posted August 25, 2011 Have you tried wrapping the words in a span with a class and reading the CSS tutorial?I don´t understand this reply, because I already have a span and a class e. g. .webdesign span? Link to comment Share on other sites More sharing options...
Drycodez Posted August 25, 2011 Share Posted August 25, 2011 Cant YOU create a new class, and assign it to a <span> element? EDIT: NB: please note that you can create as many class, as you want! Link to comment Share on other sites More sharing options...
Drycodez Posted August 25, 2011 Share Posted August 25, 2011 CSS span.red{color:red} HTML <span class="red">some text...</span> Link to comment Share on other sites More sharing options...
eduard Posted August 25, 2011 Author Share Posted August 25, 2011 CSSspan.red{color:red} HTML <span class="red">some text...</span> I understand the idea! However, the question is: how do I integrate the code in my existing code?<p class="languages"> spanish german dutch<span>inglés alemán holandés</span></p><br> Link to comment Share on other sites More sharing options...
ProblemHelpPlease Posted August 25, 2011 Share Posted August 25, 2011 If you are trying to have a different colour for each language then you could create a class for each language with a different colour and span the relevant languages with the class, if they are mixed together then this is more complicated. Link to comment Share on other sites More sharing options...
Drycodez Posted August 25, 2011 Share Posted August 25, 2011 <p class="languages"><span class="red">spanish</span> german dutch inglés alemán holandés</p><br> Link to comment Share on other sites More sharing options...
eduard Posted August 25, 2011 Author Share Posted August 25, 2011 If you are trying to have a different colour for each language then you could create a class for each language with a different colour and span the relevant languages with the class, if they are mixed together then this is more complicated.I don´t understand this reply?Do I have to add more <span> to my existing code? If so, where? Link to comment Share on other sites More sharing options...
Drycodez Posted August 25, 2011 Share Posted August 25, 2011 I don´t understand this reply?Do I have to add more <span> to my existing code? If so, where? YES! Link to comment Share on other sites More sharing options...
thescientist Posted August 25, 2011 Share Posted August 25, 2011 good grief charlie brown... Link to comment Share on other sites More sharing options...
ApocalypeX Posted August 25, 2011 Share Posted August 25, 2011 good grief charlie brown... I guess I haven't missed much in my absence... Link to comment Share on other sites More sharing options...
eduard Posted August 25, 2011 Author Share Posted August 25, 2011 good grief charlie brown... Why??? Can´t it be a serious (and for me a difficult) problem? Link to comment Share on other sites More sharing options...
eduard Posted August 25, 2011 Author Share Posted August 25, 2011 YES!Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.