CSS change font to size 10 on word wrap text

Posted on 2006-05-01
Last Modified: 2013-12-03
I have a table that uses style wordwrap but cant seem to change the text size from the default od 12

Here is my code

<tr><td><td width="700" style="word-wrap:break-word;"><input type=checkbox name=build <%=strSelected%> value="<%=objRS("cis")%>"></td>

Question by:tmurray22
    LVL 8

    Expert Comment



    ... <input type=checkbox name=build <%=strSelected%> value="<%=objRS("cis")%>" style="font-size: 10px;"> ...

    Author Comment

    didnt seem to work
    LVL 1

    Expert Comment

    I'm not entirely sure what you are trying to achieve, but the previous answer is trying to style a checkboxes value, which is impossible. Can you elaborate on what you are trying to decrease the font size of?
    LVL 8

    Accepted Solution

    Oh that's a checkbox!

    So maybe try this

    <tr><td><td width="700" style="word-wrap:break-word;"><input type=checkbox name=build <%=strSelected%> value="<%=objRS("cis")%>"></td>
    <td style="font-size: 10px;"><%=objRS("cis")%></td>

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Course: HTML5 Mobile App Development with PhoneGap

    PhoneGap can help you leverage your already existing HTML5, JavaScript, and CSS skills in order to create and deploy cross-platform mobile apps.This program comprehensively covers HTML5 mobile app development from top to bottom.

    Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
    Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
    In this Micro Tutorial users will learn how to embed custom fonts into websites using @font-face in CSS Select a font: Ensure the EULA allows you to use @font-face: Download the font: Get the browser-compatible files you need: Edit your CSS       - Name …
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    9 Experts available now in Live!

    Get 1:1 Help Now