I am starting to learn how to code CSS vs using tables. I have used
tables for many years, and can do just about anything with them. However
I can see how CSS is more flexible and compact (and seems like more and
more people are using it).
I have done a few tutorials on the web for CSS and am catching on. But I
have a couple basic questions.
With tables, I used to be able to have a table with 2 columns, for
instance like a form:
username | <form goes here>
Your Real Name | <form goes here>
I wouldn't want to wrap the left column at all. I could do a table with
the first column 1% and the other column 99%, and a nowrap in the first
column. This worked perfect.
I can't seem to duplicate that effect with CSS using DIV's. I can adjust
the percentages so that it doesn't wrap, but if a user increases the
font size then it will wrap. With the old table method, if a user
increased the font size it didn't matter.
The rows seem independent of eachother, the only thing in common is they
are of the same class, so they have the same width percentage. besides
that, it doesn't look like they are "attached", meaning if one row has a
long sentence the other rows don't care.
Sorry to be so confusing! hopefully someone can help. 18 1782
On Thu, 11 Aug 2005 15:53:27 -0400, Dave Thomas <ge****@hotmail.com> wrote: I am starting to learn how to code CSS vs using tables. I have used tables for many years, and can do just about anything with them. However I can see how CSS is more flexible and compact (and seems like more and more people are using it).
I have done a few tutorials on the web for CSS and am catching on. But I have a couple basic questions.
With tables, I used to be able to have a table with 2 columns, for instance like a form:
username | <form goes here> Your Real Name | <form goes here>
I wouldn't want to wrap the left column at all. I could do a table with the first column 1% and the other column 99%, and a nowrap in the first column. This worked perfect.
I can't seem to duplicate that effect with CSS using DIV's. I can adjust the percentages so that it doesn't wrap, but if a user increases the font size then it will wrap. With the old table method, if a user increased the font size it didn't matter.
The rows seem independent of eachother, the only thing in common is they are of the same class, so they have the same width percentage. besides that, it doesn't look like they are "attached", meaning if one row has a long sentence the other rows don't care.
Sorry to be so confusing! hopefully someone can help.
I frequently use Opera's quick button to reveal page structure -- by replacing
the page style with my own with table borders and my own link style.
(This is often necessary to make the page readable and reveal the links -- a
comment on "fancy" page design -- another subject another day.)
I've learned that the vast majority (95%) of pages, including very *significant*
pages are structured by means of *tables* with css to make them pretty and
facilitate design editing.
Based on this fact and my experience trying to achieve my page structure
with css, my conclusion is that *all* page structure should be done with
tables. Once the layout is established, css is very useful -- almost
essential if a site has many pages as mine does.
The reason is that css is a failed attempt to separate layout from content.
In due course it will be replaced by a stable, simpler method. For the
present the difficulties in achieving a stable many-browser layout are too
great.
This is an unpopular view here on the css group.
Mason C ( I will not respond to flames.)
Obligatory link: http://masonc.home.netcom.com
Dave Thomas wrote: With tables, I used to have a table with 2 columns, for instance like a form:
username | <form goes here> Your Real Name | <form goes here>
Tables are for tabular data. Defining "tabular" can get a little
tricky. IMO input forms as you show above are tabular.
I wouldn't want to wrap the left column at all. I could do a table with the first column 1% and the other column 99%, and a nowrap in the first column. This worked perfectly.
And it is an appropriate use of a table.
CSS is much more powerful when it does the layout; tables in retrospect
are an obviously inflexible and verbose method for layout.
Have you looked at the CSS Zen Garden? <http://www.csszengarden.com/>
It is amazing what can be done with CSS. All of the sample layouts use the
*same* HTML.
--
jmm dash list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Take a look at: http://jeffhowden.com/code/css/forms/ it uses the
<label>-tag for positioning the ields in the way you would like to.
Maybe you have to add "white-space: nowrap" somewhere.
Good luck!
--
Niek Emmen, Sitebouwer
Sebastian Webprojecten
Poststraat 68
5038 DH Tilburg
t 013 518 61 20
f 013 518 61 21
i http://www.sebastian.nl
Barbara de Zoete schreef: So, I'm going to be friendly about this, only once more: Please _quote_ the text you reply to and attribute the quote.
Is it necessary to quote the entire article when I give an answer to the
entire article? I just wanted to post a quick reply...
--
Niek Emmen, Sitebuilder
Sebastian Webprojecten, http://www.sebastian.nl
On Fri, 12 Aug 2005 10:12:50 +0200, 'sNiek <n.*****@sebastian.nl> wrote: Is it necessary to quote the entire article when I give an answer to the entire article? I just wanted to post a quick reply...
At first it is hard to spot what one can delete and what is supposed to be left
in. It doesn't always 'feel good' to just hack away parts of other peoples
messages. More over there is not a general rule that says how large a proportion
of the post you follow up to is supposed to get quoted.
If you are in doubt what is supposed to be left in, you can summarise a message
and place it between [ ... ] In the beginning it is better to leave in too much
than to just not quote anything IMO, because in that way you at least provide a
follow-up that will be understood by other readers.
You'll get the hang of it. It's likely that especially in the beginning people
will sometimes tell you 'you've left in too much' or just the opposite 'you've
taken out too much'. Never mind that. Just try, and train while you fight. :-)
Just remember that bad remarks are always just about your post and never about
you. A compliment on the other hand is all about you of course :-D
--
,-- --<--@ -- PretLetters: 'woest wyf', met vele interesses: ----------.
| weblog | http://home.wanadoo.nl/b.de.zoete/_private/weblog.html |
| webontwerp | http://home.wanadoo.nl/b.de.zoete/html/webontwerp.html |
|zweefvliegen | http://home.wanadoo.nl/b.de.zoete/html/vliegen.html |
`-------------------------------------------------- --<--@ ------------'
Barbara de Zoete schreef: You'll get the hang of it.
Sure I will, i just learned that Sigs shouldn't really have more than 4
lines... :-)
--
Niek Emmen, Sitebuilder
Sebastian Webprojecten, http://www.sebastian.nl
'sNiek wrote: Barbara de Zoete schreef:
So, I'm going to be friendly about this, only once more: Please _quote_ the text you reply to and attribute the quote.
Is it necessary to quote the entire article when I give an answer to the entire article? I just wanted to post a quick reply...
It is necessary to quote those lines you're responding to. Otherwise you
require the readers to follow the whole thread just to be able to
understand your posting.
Isn't that obvious?
On Fri, 12 Aug 2005, 'sNiek wrote:
(about netiquette) Is it necessary to quote the entire article
Almost never, I'd say...
when I give an answer to the entire article?
Give the attribution, and quote just a few significant lines which set
the context for your reply, as a courtesy to everyone else who's
following the thread. Exceptionally and rarely, if the whole article
really seems relevant, one may summarise it briefly in one's own words
(e.g in brackets [....] ) instead of quoting the whole original
article. The important thing is that a reader should be encountering
some original material from you before they've seen, at worst, two or
three dozen lines of quoted material - in most cases much less.
I just wanted to post a quick reply...
If you become a regular usenaut, as I'm sure we all hope that you
will, you'll get to recognise the regular respondents, and see their
posting style. This group is basically no different in its
conventions than any of the other "big-8" usenet groups, so no-one's
asking for heroic measures - just "regular" netiquette.
Hope this helps.
Alan J. Flavell schreef: so no-one's asking for heroic measures - just "regular" netiquette.
Alright, you've convinced me. Back to Dave Thomas' original question I
propose.
Thanx all for pointing out the correct etiquettes.
--
Niek Emmen, Sitebuilder
Sebastian Webprojecten, http://www.sebastian.nl
Jim Moe a écrit : Dave Thomas wrote: With tables, I used to have a table with 2 columns, for instance like a form:
username | <form goes here> Your Real Name | <form goes here>
Tables are for tabular data. Defining "tabular" can get a little tricky. IMO input forms as you show above are tabular.
My characterization of tabular data:
"Cell 2,2 is to cell 2,1 what cell 1,2 is to cell 1,1. Etc."
Your data qualifies, IMVHO and FWIW. :)
--
Daniel Déchelotte http://yo.dan.free.fr/
On Fri, 12 Aug 2005 11:12:30 +0200, in
comp.infosystems. www.authoring.stylesheets , 'sNiek
<n.*****@sebastian.nl> in <42******@news.interstroom.nl> wrote: Alan J. Flavell schreef: so no-one's asking for heroic measures - just "regular" netiquette.
Alright, you've convinced me. Back to Dave Thomas' original question I propose.
Thanx all for pointing out the correct etiquettes.
What? No flames? No insults? What is the Usenet coming to.
<head shake>
<sigh \>
Kids these days.
<\head shake>
--
Matt Silberstein
Well ya see, Norm, it's like this. A herd of buffalo can only move as fast as the slowest buffalo. And when the herd is hunted, it is the slowest and weakest ones at the back that are killed first. This natural selection is good for the herd as a whole, because the general speed and health of the whole group keeps improving by the regular killing of the weakest members. In much the same way, the human brain can only operate as fast as the slowest brain cells. Excessive intake of alcohol, as we know, kills brain cells. But naturally, it attacks the slowest and weakest brain cells first. In this way, regular consumption of beer eliminates the weaker brain cells, making the brain a faster and more efficient machine. That's why you always feel smarter after a few beers.
Cliff on Cheers
Matt Silberstein schreef: What? No flames? No insults? What is the Usenet coming to.
<head shake>
<sigh \>
Kids these days.
I'm not a kid, my kids are :-)
--
Niek Emmen, Sitebuilder
Sebastian Webprojecten, http://www.sebastian.nl
On Thu, 11 Aug 2005, Dave Thomas wrote: I am starting to learn how to code CSS vs using tables.
^^ [...] Sorry to be so confusing!
Confused are the simpletons who tell you that CSS and tables
are alternatives.
Andreas Prilop wrote: Confused are the simpletons who tell you that CSS and tables are alternatives.
Please expand on your statement about alternatives.
--
jmm dash list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Jim Moe <jm***************@sohnen-moe.com> wrote: Andreas Prilop wrote: Confused are the simpletons who tell you that CSS and tables are alternatives. Please expand on your statement about alternatives.
He meant to say "mutually exclusive", I believe.
Bye,
Martin
On Fri, 12 Aug 2005, Martin Bialasinski wrote: Confused are the simpletons who tell you that CSS and tables are alternatives. Please expand on your statement about alternatives.
He meant to say "mutually exclusive", I believe.
That's what "alternative" means - in my understanding of the
English language. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Mariusz Jedrzejewski |
last post by:
Hi,
I'll be very grateful if somebody can explain me why my Opera 7.23
(runing under linux) doesn't show me inner tables. Using below code I
can see only "inner table 1". There is no problem with...
|
by: Random Person |
last post by:
Does anyone know how to use VBA to relink tables between two MS Access
databases? We have two databases, one with VBA code and the other with
data tables. The tables are referenced by linked...
|
by: dskillingstad |
last post by:
I've been struggling with this problem for some time and have tried
multiple solutions with no luck.
Let me start with, I'm a novice at Access and I'm not looking for
someones help to design my...
|
by: Jill Elaine |
last post by:
I am building an Access 2002 frontend with linked tables to an
encrypted Paradox 7 database. When I first create these linked tables,
I'm asked for the password to the encrypted Paradox database,...
|
by: Shelby |
last post by:
Problem: My company generates its own data export from a propietary
database. These (free) tables can be read in C#.NET using a Visual FoxPro
driver (vfpoledb). I can read each of the six tables...
|
by: phil-news-nospam |
last post by:
In followups by Brian O'Connor (ironcorona) to other posts, he repeats
the idea that using tables in CSS is not something that should be done
because IE doesn't support it. Of course I'm not happy...
|
by: rdemyan via AccessMonster.com |
last post by:
I have a need to add another field to all of my tables (over 150). Not data,
but an actual field.
Can I code this somehow. So the code presumabley would loop through all the
tables, open each...
|
by: db2admin |
last post by:
Hello,
I want to plan rearranging tables in our database according to
business areas. say all tables in business area A will be in seperate
tablespace or tablespaces. I am planning to monitor...
|
by: bubbles |
last post by:
Using Access 2003 front-end, with SQL Server 2005 backend.
I need to make the front-end application automatically refresh the
linked
SQL Server tables.
New tables will be added dynamically in...
|
by: shriil |
last post by:
Hi
I have this database that calculates and stores the incentive amount
earned by employees of a particular department. Each record is
entered
by entering the Date, Shift (morn, eve, or night)...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM)
The start time is equivalent to 19:00 (7PM) in Central...
|
by: Aliciasmith |
last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
|
by: tracyyun |
last post by:
Hello everyone,
I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
|
by: giovanniandrean |
last post by:
The energy model is structured as follows and uses excel sheets to give input data:
1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
|
by: NeoPa |
last post by:
Hello everyone.
I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report).
I know it can be done by selecting :...
|
by: Teri B |
last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course.
0ne-to-many. One course many roles.
Then I created a report based on the Course form and...
|
by: nia12 |
last post by:
Hi there,
I am very new to Access so apologies if any of this is obvious/not clear.
I am creating a data collection tool for health care employees to complete. It consists of a number of...
|
by: NeoPa |
last post by:
Introduction
For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
|
by: isladogs |
last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, Mike...
| |