...

View Full Version : Scrolling Table in CSS



untchable
12-14-2006, 05:50 AM
I am using CSS for a scrolling table. It works great. Here is the code.

div.scrollWrapper{
float:left;
margin:0px 0px 0px 10px;
overflow:visible !important;
overflow:scroll;
height:150px;

}
table.scrollable{
width:568px;
margin-right:0 !important;
margin:10px;
border-collapse:separate;
}
table.scrollable th{
border:1px solid #ffffff;
padding:0px;
background:#ffffff;
position: relative;
}
table.scrollable tbody{
height:150px;
overflow:auto;
}
table.scrollable tr{
height:0px;
}
table.scrollable td{
border: 1px solid #ffffff;
text-align:left;
}

The Problem:

How do I make it so that I can include "CSS coding" inside this scrolling table without it affecting the actual website. Everytime that I include a piece of coding it completely changes the colors to my website. How can I bypass this?:confused:

Thanks.

Excavator
12-14-2006, 08:21 AM
<code><div id="container"><p>blah blah blah</p></div></code>

or I've also used &lt; in place of the <



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum