How do I make bold links, increase the size of text, etc. in a scroll box?
So, i used this code
to put 2 scroll boxes side by side.
and then i put this scroll box code in each of them
<div style="height:120px;width:250px;font:16px/26px Georgia, Garamond, Serif;overflow:scroll;">
and when i tried to make the letter bold using this code
when i tried to make the letters bigger using this code
<font size="3">TEXT HERE</font>
it didn't work.
and a lot of other things won't work when i put the codes into the scroll box code.
is there any other way i could do it?
- LizLv 71 decade ago
<div style="height:120px;width:250px;font:16p… Georgia, Garamond, Serif;overflow:scroll; font-weight:bold; size:18px;">
- Chris CLv 71 decade ago
The CSS of the DIV that "TEXT HERE" is defined in, appears to be forced to always be 16pixels (because of the "font: 16px..." in your CSS code).
<div style="height: 120px; width: 250px; font-size: 16px, font-name: Georgia, Garamond, Serif; overflow: scroll;">
<span style="font-weight: 900;">TEXT <span style="font-size: 300%;">HERE</span> </span>
You can try it out more over here: http://www.w3schools.com/css/default.asp
The code above will change the text to have "TEXT HERE" be all bolded, but "HERE" to be 3 times as large as normal (that's what 300% means).
You can actually try it out here: http://www.w3schools.com/css/tryit.asp?filename=tr...
- 1 decade ago
you should use css to change the style of text.
to make bold you should add font-weight:bold
to make bigger or smaller you should add font-size:12px; or whatever you need.
it's even possible to put you text between span-tags and add css to this span tag.
this should do the trickSource(s): my own mind
- How do you think about the answers? You can sign in to vote the answer.
- feldhausLv 44 years ago
properly formidable is <b> WRITE right here <b/> and a similar for italics yet use a i istead of a b. unsure with regards to the others yet once you seek the internet for unfastened html help there ought to be an incredible style of help. desire this helped.