Log In · Register

 
First time creating a div--problem
Nina-Williams
post Oct 19 2007, 06:50 PM
Post #1


Senior Member
****

Group: Member
Posts: 141
Joined: Jun 2007
Member No: 536,692



I have customize all of the divs.In the all about section,I cannot add a scroll box.I tried this,but it is putting all of my layout into a scroll box,while I want only the about me.
The code:


<div class="div3">
<font size=5><div style="width: 450px; height: 250px; background-color: fffff; color: 0ffcc; font-family: century gothic; overflow: auto; padding: 3px;">
</font><br><br><br>BLAH BLAH BLAH
</div>
 
 
Start new topic
Replies
Insurmountable
post Oct 19 2007, 07:17 PM
Post #2


Cornflakes :D
*******

Group: Staff Alumni
Posts: 4,541
Joined: Dec 2005
Member No: 322,923



Change it to this:

CODE
<style>
.div3{
width: 450px;
height: 250px;
background-color: fffff;
color: 0ffcc;
font-family: century gothic;
overflow: auto;
padding: 3px;}
</style>


CODE
<div class="div3">

CONTENT HERE


</div>

 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: