archive-am.com » AM » H » HTML.AM

Total: 543

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • HTML Scrollbox
    words scrollbars will only appear when they re needed To demonstrate this the following boxes use exactly the same code to define the scrollbox The only difference between the two is the size of their contents The first box only has one small line of text whereas the second box has many lines of text too many to fit inside the box Therefore the second box displays scrollbars and the first box doesn t First Box Less Contents No Scrollbar Source Code Result div style width 150px height 150px line height 3em overflow auto padding 5px One small line of text div One small line of text Second Box More Contents Scrollbar Source Code Result div style width 150px height 150px line height 3em overflow auto padding 5px This div element contains more content than the previous one Because there s too much text to fit into the box the box grows scrollbars div This div element contains more content than the previous one Because there s too much text to fit into the box the box grows scrollbars Scrollbox Color You can change the color of your scrollboxes their contents and their scrollbars Like this Source Code Result div style width 150px height 150px line height 3em overflow scroll padding 5px background color FCFADD color 714D03 scrollbar base color DEBB07 This div element uses overflow scroll to create scrollbars whenever the contents of the div become too large div This div element uses overflow scroll to create scrollbars whenever the contents of the div become too large Here s more info about scrollbox color Scrollbox Border You can change the color style and width of your scrollbox borders using the CSS border property Example Source Code Result div style width 150px height 150px line height 3em overflow scroll padding

    Original URL path: http://www.html.am/html-codes/scrollboxes/html-scrollbox.cfm (2016-02-17)
    Open archived version from archive


  • Scrollbox Color
    height 150px line height 3em overflow scroll padding 5px background color black color orange Use the CSS color property to change the span style color green color span of the text within your HTML scrollbox div Use the CSS color property to change the color of the text within your HTML scrollbox Scrollbar Color You can even change the color of the scrollbars To do this use the scrollbar base color property Note that the scrollbar base color property is not an official CSS property and only works on some browsers If the following example doesn t seem to work for you it s probably because your browser doesn t support the scrollbar base color property Try Internet Explorer if you have it Example Source Code Result div style width 150px height 150px line height 3em overflow scroll padding 5px background color FCFADD color 714D03 scrollbar base color DEBB07 Use the CSS scrollbar base color property to change the color of the scrollbars attached to your HTML scrollboxes div Use the CSS scrollbar base color property to change the color of the scrollbars attached to your HTML scrollboxes Border Color You can change the border color of your scrollbox using the CSS border property When you do this you also need to specify how wide the border is and the style of the border More about scrollbox borders Example Source Code Result div style width 150px height 150px line height 3em overflow scroll padding 5px background color FCFADD color 714D03 border 3px solid DEBB07 Use the CSS border property to change the color of the borders around your HTML scrollbox div Use the CSS border property to change the color of the borders around your HTML scrollbox More Colors Here s more about colors in HTML You can also check

    Original URL path: http://www.html.am/html-codes/scrollboxes/scrollbox-color.cfm (2016-02-17)
    Open archived version from archive

  • Scrollbox Border
    the CSS border property to set borders around your HTML scrollbox You can set the width style and color of your borders Inset Border Source Code Result div style width 150px height 150px line height 3em overflow scroll padding 5px border 6px inset DEBB07 Use the CSS border property to set borders around your HTML scrollbox You can set the width style and color of your borders div Use the CSS border property to set borders around your HTML scrollbox You can set the width style and color of your borders Outset Border Source Code Result div style width 150px height 150px line height 3em overflow scroll padding 5px border 6px outset DEBB07 Use the CSS border property to set borders around your HTML scrollbox You can set the width style and color of your borders div Use the CSS border property to set borders around your HTML scrollbox You can set the width style and color of your borders Grooved Border Source Code Result div style width 150px height 150px line height 3em overflow scroll padding 5px border 6px groove DEBB07 Use the CSS border property to set borders around your HTML scrollbox You can set the width style and color of your borders div Use the CSS border property to set borders around your HTML scrollbox You can set the width style and color of your borders Double Border Source Code Result div style width 150px height 150px line height 3em overflow scroll padding 5px border 6px double DEBB07 Use the CSS border property to set borders around your HTML scrollbox You can set the width style and color of your borders div Use the CSS border property to set borders around your HTML scrollbox You can set the width style and color of your borders Ridged Border

    Original URL path: http://www.html.am/html-codes/scrollboxes/scrollbox-border.cfm (2016-02-17)
    Open archived version from archive

  • Textboxes
    codes textboxes submitted cfm textarea name myTextBox cols 50 rows 5 Enter some text textarea br input type submit form Enter some text Here s more information about adding an HTML textbox to your website Textbox Color You can change the color of your textboxes This includes the background color of the textbox and the text within the textbox Example below Source Code Result form action http www html am html codes textboxes submitted cfm textarea name myTextBox cols 50 rows 5 style background color FCF5D8 color AD8C08 Enter some text textarea br input type submit form Enter some text Here s more information about applying textbox color in HTML documents Textbox Borders You can change the style of your textbox borders too Example below Source Code Result form action http www html am html codes textboxes submitted cfm textarea name myTextBox cols 50 rows 5 style background color FCF5D8 color AD8C08 border 5px double AD8C08 Enter some text textarea br input type submit form Enter some text Here s more information about setting a textbox border in HTML documents HTML Tutorial HTML Templates HTML Codes Text Code Table Code Link Code Image Code Color Code Background Code Marquee Code

    Original URL path: http://www.html.am/html-codes/textboxes/ (2016-02-17)
    Open archived version from archive

  • HTML Textbox
    accommodate the extra text textarea This is where the user can enter text If there s too much text the textbox can develop scrollbars to accommodate the extra text Textbox Name The textarea element also accepts a name attribute This name can be referred to within any script that processes the contents of the textbox Source Code Result textarea name myTextBox cols 50 rows 5 This textbox has been given a name of myTextBox This can be used by any script that process the contents of this textbox once it s been submitted to the server textarea This textbox has been given a name of myTextBox This can be used by any script that process the contents of this textbox once it s been submitted to the server Submitting Your Textbox In HTML textboxes are usually displayed as one of many elements within a form HTML forms usually have a Submit button along with type submit When the user clicks the Submit button the form is submitted to its action page which is specified using the action attribute It s this action page that is responsible for processing the contents of the form In our example below the action page simply displays back the contents of the form It is able to do this by checking the contents of the url myTextBox parameter which is passed to the action page when the user submits the form Source Code Result form action http www html am html codes textboxes submitted cfm textarea name myTextBox cols 50 rows 5 Enter some text textarea br input type submit form Enter some text More You can also change the textbox color and create a textbox border Check out this article with more textarea codes that you can copy paste into your website or blog

    Original URL path: http://www.html.am/html-codes/textboxes/html-textbox.cfm (2016-02-17)
    Open archived version from archive

  • Textbox Color
    some text textarea br input type submit form Enter some text Textbox Border Color To change the border color use the CSS border property You will also need to specify the width of the border and the style Example Source Code Result form action http www html am html codes textboxes submitted cfm textarea name myTextBox cols 50 rows 5 style background color FCF5D8 color AD8C08 border 3px solid AD8C08 Enter some text textarea br input type submit form Enter some text About HTML Colors The above examples use hexadecimal values to define the color These are the number letter combinations that begin with a symbol Hexadecimal or just hex values aren t the only way of defining color in HTML You can also use the RGB decimal equivalent or the color name For example if you change the textbox background color to say blue you could specify any one of the following background color blue background color 0000FF background color rgb 0 0 255 Actually you can also use hex shorthand which would be background color 00F For more information about applying color in HTML see HTML color Also check out these color scheme combinations to choose a color

    Original URL path: http://www.html.am/html-codes/textboxes/textbox-color.cfm (2016-02-17)
    Open archived version from archive

  • Textbox Border
    Outset Textbox Border Source Code Result form action http www html am html codes textboxes submitted cfm textarea name myTextBox cols 50 rows 5 style border 6px outset F7730E Enter some text textarea br input type submit form Enter some text Inset Textbox Border Source Code Result form action http www html am html codes textboxes submitted cfm textarea name myTextBox cols 50 rows 5 style border 6px inset F7730E Enter some text textarea br input type submit form Enter some text Grooved Textbox Border Source Code Result form action http www html am html codes textboxes submitted cfm textarea name myTextBox cols 50 rows 5 style border 6px groove F7730E Enter some text textarea br input type submit form Enter some text Ridged Textbox Border Source Code Result form action http www html am html codes textboxes submitted cfm textarea name myTextBox cols 50 rows 5 style border 6px ridge F7730E Enter some text textarea br input type submit form Enter some text Various Textbox Borders You can also specify different styles colors widths for each side of your textbox You can also specify that the border should only be placed on one two three sides of the text box Source Code Result form action http www html am html codes textboxes submitted cfm textarea name myTextBox cols 50 rows 5 style border top 3px double 000000 border right 1px dotted 000000 border bottom 5px double F7730E border left 10px solid F7730E Enter some text textarea br input type submit form Enter some text Textbox Border on 1 Side Only You can also specify that the border should only be placed on one side of the text box Example Source Code Result form action http www html am html codes textboxes submitted cfm textarea name myTextBox cols 50 rows

    Original URL path: http://www.html.am/html-codes/textboxes/textbox-border.cfm (2016-02-17)
    Open archived version from archive

  • HTML Color
    level Source Code Result div style width 300px background color yellow color blue border 1px solid black The surrounding div element has got the following properties applied against it background color yellow color blue border 1px solid black div The surrounding div element has got the following properties applied against it background color yellow color blue border 1px solid black Div and Text Here s another example This time I ve added some more text with specific styles that over ride those defined at the div level Source Code Result div style width 300px background color yellow color blue border 1px solid black p The surrounding div element has got the following properties applied against it background color yellow color blue border 1px solid black p p style color white background color orange This text has got different styles applied But you can also over ride these styles by using a span element like span style color black this span and span style background color red color lime font weight bold this span p div The surrounding div element has got the following properties applied against it background color yellow color blue border 1px solid black This text has got different styles applied But you can also over ride these styles by using a span element like this and this Specifying a Color Value As you can see by the above HTML CSS code you specify a color by using the relevant CSS color property eg background color followed by a colon followed by the color value eg green For example to make something yellow you type background color green Color values can be one of the following Color name For example color blue RGB value determined by hexadecimal notation Example color 0000ff results in a color of red Hexadecimal shorthand For example color 00f is the same as color 0000ff RGB functional notation For example color rgb 0 0 255 results in red RGB percentage value For example color rgb 0 0 100 results in red It might be tempting to just stick to color names when specifying your HTML colors After all color names are easy to remember However I recommend getting familiar with hexadecimal and RGB color values This is because hexadecimal and RGB colors provide you with a far greater range of colors than color names If you get stuck while trying to come up with a color scheme for your website color names can be quite limiting Hexadecimal and RGB will open your options right up Especially if you use a color picker like the one below About Hexadecimal RGB Colors R H G S B V Click anywhere in the color picker to the right This will select a color After you select a color you ll notice the RGB HSL and hexadecimal values are shown for your selected color Here s an explanation of hexadecimal and RGB RGB stands for Red Green Blue Therefore when using RGB notation you are specifying how much

    Original URL path: http://www.html.am/html-codes/color/ (2016-02-17)
    Open archived version from archive