Friday, November 19, 2010

How do you put a plain colour background into a border with html?

Im making a web page and Im trying to figure out how to put a colour inside a border with html.. Does anyone know how? And thanks for your advice and tips! Have a Nice DAY you all deserve it!How do you put a plain colour background into a border with html?
if you mean attach a colored background on an html element, then use CSS:



%26lt;htmlelement style=';border:1px solid #000000;';%26gt;%26lt;/htmlelement%26gt;



where:

htmlelement is the html element in question

#000000 is the hexadecimal web color.

No comments:

Post a Comment