PDA

View Full Version : Are Selectable Columns Possible?



7SeaS.Commander
05 Feb 2008, 01:46 PM
I know HTML and PHP pretty well, I'm not a webmaster super expert or anything, well not in my opinion.... Here's what I've got:

What I'm trying to make for now is just two columns of numbers side by side. However I need users to have the ability to select each column separately, (not wrapping and selecting text from the first column) As far as I can remember, this is not really possible. Am I wrong? Basically my users will be copy/pasting columns from my web table and entering them into Excel most likely. Also if there are more columns than 2 you could basically call this a table. Is there a way to make a table where you may select columns, not rows. Thanks for your time...

1,000 Alpha Score
2,000 Beta Score
3,000 Theta Score
4,000 Delta Score

(try selecting just one column :)

Wickham
05 Feb 2008, 02:21 PM
I used this code which is three vertical lists in divs floated left side by side:-


<div>
<div style="float: left;">
<ul>
<li>Col 1 item 1</li>
<li>Col 1 item 2</li>
<li>Col 1 item 3</li>
</ul>
</div>
<div style="float: left;">
<ul>
<li>Col 2 item 1</li>
<li>Col 2 item 2</li>
<li>Col 2 item 3</li>
</ul>
</div>
<div style="float: left;">
<ul>
<li>Col 3 item 1</li>
<li>Col 3 item 2</li>
<li>Col 3 item 3</li>
</ul>
</div>
</div>


I then highlighted the first column and copy/pasted into an Excel cell and the three items went into three cells one below the other - very conveniently - and without the bullet points.