|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Dynamic DIV sizes
Hi,
doing a site that needs a javascript scrollers enabled on it. only problem is that using divs for the scrollers content is fine but they need to stretch as the window is enlarged outwards. can anyone help with this?? tried mixing javascript with CSS to make it work but it didn't like it too much. help greatly appreciated. |
|
#2
|
|||
|
|||
|
RE: Dynamic DIV sizes
can you show some code, or an example of what you have so far?
|
|
#3
|
|||
|
|||
|
RE: Dynamic DIV sizes
don't think code will help, as I haven't really implemented anything yet...
just concept stuff. basically, the client wants the content to stretch to the right but it needs to stay fixed height. theres a navigation box on the left and the content is inline with that on the right... the div with the content in needs to stretch as the window is dragged larger to the right. any better? |
|
#4
|
|||
|
|||
|
RE: Dynamic DIV sizes
Code:
div {
width: 90%;
height: 200px;
overflow: auto;
}
(that is the best i can do with this little info...) |
|
#5
|
|||
|
|||
|
RE: Dynamic DIV sizes
tried that but it didn't seem to work...
will try again and get back to ya. |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Client Side Things > Dynamic DIV sizes |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|