Layer Question

Prdbyford1

New Member
I am trying to add layers to my website that have scroll boxes, all incased in a bordered table. How do you keep the layer from moving around in different monitors or servers? Seems to always change from monitor to monitor and server to server. Any help would be greatly appreciated.

Chris
 

mezangath

New Member
I've found tables rather irregular to use in different browsers. Since their widht and height attributes are interpreted differently from browser to browser and depending on the users screen resolution.

Maby you should try going for div's for the whole site?
 

yelleyster

New Member
The best way to go about this would be to create a div container and apply the "scroll" property to the div like this:

#testdiv {
border: 1px solid #B5CA99;
height: 50px;
width: 250px;
overflow: scroll;
}

As far as positioning, that depends on how you're set up. Your best bet is going to be to put the div inside a "container" and then apply an auto margin to the left and right side. This will center the div within the container.

Whats your solution for not using a div container though?
 
Top