Make a Solid Border Around Text - CSS Code
‹‹ CSS Tutorials

CSS Example

This is a great CSS Code you have full control, with the CSS Code you can select any border colour, change the border width, adjust the padding so your text will not be to close to the border, change the background colour in the border, change the text colour, and lastly change the text size, if you change the text size you will have to also change the line height to stop the text going over each other you can also do that. The text is also set to justify this means that the text will adjust itself on the right as the sample, its so easy try it.

HTML Code

CSS Code



YOU MIGHT HAVE TO INCLUDE THE CSS STYLE CODE BELOW.
<style type="text/css">
CSS CODE HERE
</style>



CSS Tutorials Make a Solid Border Around Text

Use the above CSS Code and HTML Code on your site to create a border around text. The CSS Solid Border width, colour can be changed the size of the text and colour can also be changed, the padding can also be increased or decreased. The CSS Tutorials on how to edit the CSS Code are below. Copy the CSS Code and the HTML Code to your site, edit the CSS Code to suite your site then edit the HTML Code replace the text with your text. Try It!!

Yola Visitors can copy the CSS Code into the Site CSS on there site builder, then drag one HTML widget into the site builder and paste the HTML Code. Update your site and you will see the code on your site, edit the CSS Code and HTML Code to what you want. If you have the free version of yola you won't be able to do it this way. To have the CSS Code on yola free go to your yola site builder drag 1 HTML widget to the top of your yola site builder and paste the CSS Code in, you will to place the code like this:
    <style type="text/css">
    CSS CODE HERE
    </style>
Then copy the HTML Code and paste it under the CSS Code in the same HTML widget, update your site and the code will be there now edit the CSS Code and the text in the HTML Code to what you want.

css tutorials



Related Pages

CSS Solid Border