# April 4, 2008 at 4:27 pm
I am pretty much new to CSS and I was wondering if there is a way to simulate a frames layout using only CSS. For example; if I have two DIVâ€™s, One being a left positioned side-bar with a bunch of links listed and the other main DIV floated to the right. Can I have any of the link HTML page(s) render in the main DIV as can be done using frames?
Any help would be appreciated.# April 4, 2008 at 5:12 pm
This reply has been reported for inappropriate content.
If you want to know how to do this by php, take a look at New Screencast: Working Modularly With PHP# April 4, 2008 at 5:17 pm
I do not have PHP. I will try the Java and see how it performs. I was kindda hoping that there would be a much easier way of doing it though. Its just that I was trying to avoid frames completely and use 100% CSS but my research is telling me that there is no way of doing it using ONLY css. Seems that frames do come in handy I guess.
Your input is appreciated.# April 4, 2008 at 6:56 pm
That’s a great solution Edwin!
I think frames is a really outdated solution for something like this, there are tons of ways of handling it without using them. If the content in each of the main areas is small enough that it would be reasonable to load them all at once, you could use something like the tabbed box example I posted:
Instead of literally having "tabs", you could use CSS positioning to put the selectors in your left sidebar, but the content would still swap out instantly like in the example.
You must be logged in to reply to this topic.