How do I make bold links, increase the size of text, etc. in a scroll box?

So, i used this code

<table><tr>

<td>SCROLLBOXCODE</td>

<td>SCROLLBOXCODE</td>

</tr></table>

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;">

TEXT HERE

</div>

<p style="font-family:verdana,arial,sans-serif;font-size:10px;">

and when i tried to make the letter bold using this code

<b>TEXT HERE</b>

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?

5 Answers

Relevance
  • Anonymous
    1 decade ago
    Favorite Answer

    Use http://w3schools.com/

    or http://www.htmlcodetutorial.com/

    You will find your answer there.

  • Liz
    Lv 7
    1 decade ago

    <div style="height:120px;width:250px;font:16p… Georgia, Garamond, Serif;overflow:scroll; font-weight:bold; size:18px;">

  • 1 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).

    Try this:

       <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>

       </div>

    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...

    Good luck!

  • 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 trick

    Source(s): my own mind
  • How do you think about the answers? You can sign in to vote the answer.
  • 4 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.

Still have questions? Get your answers by asking now.