![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
hi, I'm converting some table-based code to div-based.. I really don't like this, I find tables much simpler for some situations, but well... the hardest time I have is with content that has to appear side-to-side, like this page, http://www.francesdelrio.com/resume/skills.html I had no problem doing the top three links.. but for the main content (bulleted list and the rest) I can't get the divs to appear side-by-side in XHTML... (if I use non-XHMTL doctype the divs appear side-to-side fine, but not with XHTML..) I assume display:inline is for displaying divs side-by-side, but it doesn't work in all situations.. test page: http://www.francesdelrio.com/resume/test.html (I put some comments/questions in the code itself..) (except for 'target' attr in <a..> tags (???) this code validates fine as XHTML strict..) this is SO MUCH SIMPLER with tables, what a pain.. oh well.... ![]() would appreciate some help.. thank you very much.. |
#3
| |||
| |||
|
|
I'm converting some table-based code to div-based.. |
#4
| |||
| |||
|
|
On 16 Feb, 16:54, maya <maya778... (AT) yahoo (DOT) com> wrote: I'm converting some table-based code to div-based.. Congratulations! Take a look at a decent example three-column layout and use that. Glish.com used to be the benchmark for a good one, but it's quite old now and has hacks in it for obsolete browsers that make it a bit more complicated than strictly necessary these days. http://glish.com/css/7.asp The basis for "three columns" in CSS is to _float_ the <div>s, not to inline them. Read the tutorial at http://brainjar.com/css/positioning/ for the nuts and bolts of doing this |

#5
| |||
| |||
|
|
I'm converting some table-based code to div-based.. I really don't like this, I find tables much simpler for some situations, but well... |
|
the hardest time I have is with content that has to appear side-to-side, like this page, http://www.francesdelrio.com/resume/skills.html |
#6
| |||
| |||
|
|
question: *float:left and float:right works, I suppose, when you have just TWO divs that need to appear side-by-side.. BUT: what about when you have much more, say, SIX little paragraphs that need to appear side by side??? * ![]() |
#7
| |||
| |||
|
|
maya wrote: I'm converting some table-based code to div-based.. I really don't like this, I find tables much simpler for some situations, but well... And for tabular data, tables are not only easier than CSS-based divs, they're more appropriate, too. (Free conclusion for you to jump to: if you don't like it, don't do it. ;-) ) the hardest time I have is with content that has to appear side-to-side, like this page, http://www.francesdelrio.com/resume/skills.html Surely this is tabular data, and cries out for a <table>. |
#8
| |||
| |||
|
|
More HTML and less CSS. |
#9
| |||
| |||
|
|
dorayme wrote: [snip, snip] More HTML and less CSS. [and more snip] Just a gentle reminder that the whole idea is to separate content (html) from presentation (css). |
#10
| ||||
| ||||
|
|
In article <4999fd4e$1_4 (AT) news (DOT) bluewin.ch>, John Hosking <John (AT) DELETE (DOT) Hosking.name.INVALID> wrote: maya wrote: I'm converting some table-based code to div-based.. I really don't like this, I find tables much simpler for some situations, but well... And for tabular data, tables are not only easier than CSS-based divs, they're more appropriate, too. (Free conclusion for you to jump to: if you don't like it, don't do it. ;-) ) the hardest time I have is with content that has to appear side-to-side, like this page, http://www.francesdelrio.com/resume/skills.html Surely this is tabular data, and cries out for a <table>. |
|
Not quite sure it cries out for it. Not that some data does not sometimes do just this, namely, cry out for one big table Certainly, in the ordinary concept of the idea of a table, OP can lay out these lists under col headings, "Markup/Programming Languages", "IDEs/Tools", "Education" and "Languages" and either one TD row with lists inside or simply many rows with TDs that contain the items relevant to the col headings. That there is no particular meaningful relationship between the items across *all* the rows does not prove that a table is being used for page layout. However, as we know, a big table is not very flexible width wise. |
|
very much open to the OP to present the information in a way that is more flexible. For example, by floating less wide elements (lists, thinner tables, whatever), the space in a webpage can be more effectively used up and communication can be enhanced rather than detracted from. Especially in this case where it is so clear that we are looking at a list of a man's qualifications. If horizontal space is needing to be conserved and vertical scrolling not minded, there is a yet another way, to list and list within list down the page. I rather fancy this! Closer to no style, as far away as can be from Travis and his need for stimulation. Yes, I like this idea a lot. More HTML and less CSS. |
|
Cats and ways to skin them! |
![]() |
| Thread Tools | |
| Display Modes | |
| |