Click to See Complete Forum and Search --> : Multiple Text Styles In CSS DIV Box
Ntrimgs
04-12-2009, 08:49 PM
I am new at this...
How do you apply multiple text styles to a single DIV & CSS style?
Let's say I create a DIV called "upperbody", then apply a CSS style to that...how do I have two different fonts in that particular DIV?
Teknee
04-13-2009, 01:10 AM
So does this div have two different elements? Such as an h2 and p tags in the same div, or do you want to have two different fonts in the same paragraph?
Post the CSS and HTML you have and describe what you want it to look like. This will make it easier to give you advice without having to right a book-like post about every possible way you could do it.
Captainkewl
04-14-2009, 08:24 PM
Let's say you have a div called "whatever", and there was some text enclosed in <p> tags. If you wanted to make a certain part of the paragraph a different font, you could wrap that part of the text in <span> tags and then style it in the css using #whatever p span {font-family etc.}