Page 1 of 1
text inside a frame html
Posted: Sat Apr 11, 2015 12:15 pm
by terrenuit
Hi,
I want to show a text on my website, this text will be Inside a frame(one line),
I put <textarea COLS=120 ROWS=8 ></textarea>, but it is no good,
do anybody give me an idea ?
Re: text inside a frame html
Posted: Sat Apr 11, 2015 1:34 pm
by Celauran
Not entirely sure what you mean by inside a frame. Does this text serve any special function or is it simply being displayed? The element you use should really be dictated by the role of what's being displayed and then use CSS to style it however you like. Are you talking about an iframe or more something like this?
http://getbootstrap.com/components/#wells
Re: text inside a frame html
Posted: Sat Apr 11, 2015 11:32 pm
by terrenuit
like your link
it displays "Look, I'm in a well! " is in a frame,
how to do it in html ?
thanks
Re: text inside a frame html
Posted: Sun Apr 12, 2015 8:02 am
by Celauran
That's done with CSS.
Code: Select all
<div class="well">Text goes here</div>
Code: Select all
.well {
min-height: 20px;
padding: 19px;
background-color: #F5F5F5;
border: 1px solid #E3E3E3;
border-radius: 4px;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05) inset;
}
Re: text inside a frame html
Posted: Mon Apr 13, 2015 12:51 pm
by terrenuit
thanks a lot, I used the WordPress to create my website, I d'ont know where will I put your CSS stylesheet ?
Re: text inside a frame html
Posted: Mon Apr 13, 2015 1:49 pm
by Celauran
style.css in your theme's directory, so wp-content/themes/<theme name>/style.css
Re: text inside a frame html
Posted: Tue Apr 14, 2015 7:55 am
by terrenuit
thank you very much