css type question
css type question
- Started
- Last post
- 5 Responses
- dash
trying to change type (size) within one line (example: first 2 words of line are 30px, the rest will be 20px). any suggestions. thanks.
- ESKEMA0
you need html to back that up, can't target that via css alone if there's no division in the html.
put some <span class="whatever">First two words</span> in your html to target it.
- dash0
thanks
- vaxorcist0
<span class="big" style="size:30px">hello there 30px</span><span class="small" style="size:20px">and this is smaller 20px.</span>
- vaxorcist0
oops.... this should work....
<span class="big" style="font-size:30px">hello there 30px</span><span class="small" style="font-size:20px">...and this is smaller 20px.</span>
- dash0
thanks vaxorcist. everything right with the world, now.