R
Rob Meade
Hi all,
Apologies for the OT-ness of the post, I've only got access to Microsoft
groups via Outlook at work and SiteServer.Css looks like its dead....
I'm trying to get two columns within a <div> tag - I seem to be having no
end of problems doing so - this all comes from dropping (finally) the table
approach for displaying non-tabular data...
I've managed to use <div>'s for the header section and footer section, but
as soon as I try to get two columns between these they seem to wrap...
I've not found a lot of help on Google, wondered if anyone here might have
done something similar for their own site...
<div style="width:100%">
<div style="width:50%">column 1</div>
<div style="width:50%">column 2</div>
</div>
The above is an example of what I'm trying to achieve, I read somewhere
about the <div> tags breaking <p> tags, ie, creating a new paragraph/line -
so I've amended the inner tags to <span>'s but still no joy..just doesn't
seem to work...
If anyone has a "tiny" example of the above I'd be very grateful - for what
its worth, but column 1 and column 2 are being generated dynamically and
contain additional <div>'s..
Thanks for any help and again my apologies for the OT-ness (cant access
Google groups from work either)..
Rob
Apologies for the OT-ness of the post, I've only got access to Microsoft
groups via Outlook at work and SiteServer.Css looks like its dead....
I'm trying to get two columns within a <div> tag - I seem to be having no
end of problems doing so - this all comes from dropping (finally) the table
approach for displaying non-tabular data...
I've managed to use <div>'s for the header section and footer section, but
as soon as I try to get two columns between these they seem to wrap...
I've not found a lot of help on Google, wondered if anyone here might have
done something similar for their own site...
<div style="width:100%">
<div style="width:50%">column 1</div>
<div style="width:50%">column 2</div>
</div>
The above is an example of what I'm trying to achieve, I read somewhere
about the <div> tags breaking <p> tags, ie, creating a new paragraph/line -
so I've amended the inner tags to <span>'s but still no joy..just doesn't
seem to work...
If anyone has a "tiny" example of the above I'd be very grateful - for what
its worth, but column 1 and column 2 are being generated dynamically and
contain additional <div>'s..
Thanks for any help and again my apologies for the OT-ness (cant access
Google groups from work either)..
Rob