pathfinder74
07-10-2008, 11:32 PM
Thought this might get a little more attention in the CSS discussions....
Is this possible?
I have this long ASP that renders looped information in, as far as I can see, one big table.
Reading all of this code is making me dizzy, trying to figure out where the break points are and at what point the information would execute a "loop" that would basically create additional DIV containers.
It's like this. You do a search for a name. The next screen shows the results. You click on a link in those results to narrow it down further.
Once you do that you get this page with tables nested within one big table.
What I want to do is create a container div to replace the big table, and for each additional table that gets nested inside the I want those to be DIVs as well.
So basically, once I have that control I can position them in order to create something a little cooler looking. I'll try to post an example in a few.
This is how it normally renders (http://www.mattandpamazon.com/inforMed/EnrollVerification.JPG)
I made this sample layout in Photoshop of how it potentially could look using CSS. (http://www.mattandpamazon.com/inforMed/enrollment_ver_results_2.jpg)
I've been going through the ASP page for the last hour or three trying to bust everything up so I have control of each individual section by putting it in a div container with it's own class name.
The person's name would be one div
The person's sex would be a div
The person's address would be a div.
Once I could get each one into a DIV I can position it to look like the concept layout.
What I'm concerned about is that the first one will output but each additional one won't.
I have each script in it's own DIV... not sure if that's how you would do it or not.
This is brutal.
------------------------------------------------------------------------
Right now I've replaces every <TR> and <TD> tag with an individual DIV and class.
I'm rendering it out now and putting colored borders to everything to I can see the divs that aren't filled with anything.
A few things have been replicated like I was hoping as a result of the loop code.... but the things that are aren't contained in their own div containers... they're just kind of free floating.
My plan was once I can get one div container with all of the information in it, and it reproduces itself except with the different information filling each div then I could go in, position the first one, and then I guess float them all so each additional on is to the right of the first one. Once they go so far to the right they'll just get knocked down to the next level.
Makes sense in my head.... just not sure if my head knows where all of this is even possible.
--------------------------------------------------------------------------
I think the problem I might run into is that unless each table of data gets put into it's own container.... the positioning for each individual DIV is going to mean that each addtional one that is rendered is going to try to occupy that same position.
If I can get them to render in their own container divs then the container divs will just bump each one over, but the position of the child divs will contained within the big one... if that makes an ounce of sense.
Is this possible?
I have this long ASP that renders looped information in, as far as I can see, one big table.
Reading all of this code is making me dizzy, trying to figure out where the break points are and at what point the information would execute a "loop" that would basically create additional DIV containers.
It's like this. You do a search for a name. The next screen shows the results. You click on a link in those results to narrow it down further.
Once you do that you get this page with tables nested within one big table.
What I want to do is create a container div to replace the big table, and for each additional table that gets nested inside the I want those to be DIVs as well.
So basically, once I have that control I can position them in order to create something a little cooler looking. I'll try to post an example in a few.
This is how it normally renders (http://www.mattandpamazon.com/inforMed/EnrollVerification.JPG)
I made this sample layout in Photoshop of how it potentially could look using CSS. (http://www.mattandpamazon.com/inforMed/enrollment_ver_results_2.jpg)
I've been going through the ASP page for the last hour or three trying to bust everything up so I have control of each individual section by putting it in a div container with it's own class name.
The person's name would be one div
The person's sex would be a div
The person's address would be a div.
Once I could get each one into a DIV I can position it to look like the concept layout.
What I'm concerned about is that the first one will output but each additional one won't.
I have each script in it's own DIV... not sure if that's how you would do it or not.
This is brutal.
------------------------------------------------------------------------
Right now I've replaces every <TR> and <TD> tag with an individual DIV and class.
I'm rendering it out now and putting colored borders to everything to I can see the divs that aren't filled with anything.
A few things have been replicated like I was hoping as a result of the loop code.... but the things that are aren't contained in their own div containers... they're just kind of free floating.
My plan was once I can get one div container with all of the information in it, and it reproduces itself except with the different information filling each div then I could go in, position the first one, and then I guess float them all so each additional on is to the right of the first one. Once they go so far to the right they'll just get knocked down to the next level.
Makes sense in my head.... just not sure if my head knows where all of this is even possible.
--------------------------------------------------------------------------
I think the problem I might run into is that unless each table of data gets put into it's own container.... the positioning for each individual DIV is going to mean that each addtional one that is rendered is going to try to occupy that same position.
If I can get them to render in their own container divs then the container divs will just bump each one over, but the position of the child divs will contained within the big one... if that makes an ounce of sense.