Paul,
Here are a couple of links on replacing tables with CSS that I found a couple of
months ago:
http://www.sitepoint.com/books/css1/testimonials.php ( This contains the a few
chapters from the book shown on the page. I have heard it isn't too bad.)
http://www.keithjbrown.co.uk/vworks/desig
On Tue, 1 Jul 2003, at 1:01pm, [EMAIL PROTECTED] wrote:
>> I always keep a copy of the HTML and CSS spec's next to me. I find them
>> remarkably readable, for specification documents.
>> And, of course, they make excellent use of hypertext. :-)
>
> Pointer please :)
/pub/doc/W3C/
Oh, that p
The only way I could get the DT to line up with the DD when the DD
spanned multiple lines, was to insert a tag between DT DD pairs.
dl {
border:solid 1px red;
display:block;
width:400px;
float:left;
padding:0px;
margin:0px;
}
dt {
border:dashed 1px black;
display:block;
widt
I always use blooberry.com for all my CSS and HTML questions.
http://www.blooberry.com/
This code seems to do what you want.
dl {
border:solid 1px red;
display:block;
width:400px;
float:left;
padding:0px;
margin:0px;
}
dt {
border:dashed 1px black;
display:block;
width:1
Try using:
float: left;
on the .desc style. That might do the trick.
--
So, make a real effort to avoid getting sucked into all the expensive
lifestyle habits of typical Americans. Because if you do that, then
people with the money will dictate what you do with your life.
-- Richard Stallman
[EMAIL PROTECTED] wrote:
On Tue, 1 Jul 2003, "Ben" == [EMAIL PROTECTED] wrote:
Ben> I always keep a copy of the HTML and CSS spec's next to me. I
Ben> find them remarkably readable, for specification documents.
Ben> And, of course, they make excellent use of hypertext. :-)
Pointer please
> On Tue, 1 Jul 2003, "Erik" == Erik Price wrote:
Erik> ems being the height of a capital M in whatever the current
Erik> font/fontsize is, so this would put your term at 3em from the
Erik> left and your definition at 5em from the left... sort of. It
Erik> was a quickie.
Ahhh, okay.
> On Tue, 1 Jul 2003, "Ben" == [EMAIL PROTECTED] wrote:
Ben> I always keep a copy of the HTML and CSS spec's next to me. I
Ben> find them remarkably readable, for specification documents.
Ben> And, of course, they make excellent use of hypertext. :-)
Pointer please :)
--
Seeya,
Paul
[EMAIL PROTECTED] wrote:
On Tue, 1 Jul 2003, "Erik" == Erik Price wrote:
Erik> dt { float: left; margin: 3em }
Erik> dd { margin: 5em; }
Doh
Thanks, I'm obviously just learning the CSS thing, and it didn't
occur to me to re-define the dt/dd tags :)
Except, unfortunately, the above exa
> On Tue, 1 Jul 2003, "Ben" == [EMAIL PROTECTED] wrote:
Ben> Can't you apply styles to the tags to get them to do what you
Ben> want? I've never tried, myself, and don't have the time to
Ben> look it up, but that would seem to me to be the Right Thing to
Ben> do.
I think so. I'm go
On Tue, 1 Jul 2003, at 12:40pm, [EMAIL PROTECTED] wrote:
> Btw, what the 3/5em?
Section 6 of the CSS1 spec defines units. An "em" is the height of the
current font. By using em's, your style becomes more portable.
I always keep a copy of the HTML and CSS spec's next to me. I find them
re
On Tue, 1 Jul 2003, at 12:15pm, [EMAIL PROTECTED] wrote:
>> Have you tried the DL, DT, and DD tags?
>
> Yes, they all seem to invoke a new line between elements ...
Well, that's dependent on the user-agent (browser). It is entirely up to
the implementation to decide how to render the list.
> N
> On Tue, 1 Jul 2003, "Erik" == Erik Price wrote:
Erik> dt { float: left; margin: 3em }
Erik> dd { margin: 5em; }
Doh
Thanks, I'm obviously just learning the CSS thing, and it didn't
occur to me to re-define the dt/dd tags :)
Btw, what the 3/5em?
Thanks,
--
Seeya,
Paul
__
In a message dated: Tue, 01 Jul 2003 12:13:55 EDT
Erik Price said:
>Are they deprecated in XHTML 1.0 Strict? I didn't see them in the DTD.
> But they are the ideal tags for this application.
Only if you don't mind having the layout:
Term
Definition
But I hate that, I want:
[EMAIL PROTECTED] wrote:
On Tue, 1 Jul 2003, "Ben" == [EMAIL PROTECTED] wrote:
Ben> Have you tried the DL, DT, and DD tags? They are for
Ben> definitions. (Definition List, Definition Term, and Definition
Ben> Description, respectively.)
Yes, they all seem to invoke a new line between e
> On Tue, 1 Jul 2003, "Ben" == [EMAIL PROTECTED] wrote:
Ben> Have you tried the DL, DT, and DD tags? They are for
Ben> definitions. (Definition List, Definition Term, and Definition
Ben> Description, respectively.)
Yes, they all seem to invoke a new line between elements so that you
[EMAIL PROTECTED] wrote:
On Tue, 1 Jul 2003, at 11:22am, [EMAIL PROTECTED] wrote:
Basically, I want:
Term:Some long description here which may or may not span
multiple lines, but regardless, should be left
justified.
Have you tried the DL, DT, and DD ta
On Tue, 1 Jul 2003, at 11:22am, [EMAIL PROTECTED] wrote:
> Basically, I want:
>
> Term:Some long description here which may or may not span
> multiple lines, but regardless, should be left
> justified.
Have you tried the DL, DT, and DD tags? They ar
Hi,
I'm trying to create a web document using CSS. Though, what I want
to do really seems to lend it self to tables, unless there's
something I'm missing.
Basically, I want:
Term:Some long description here which may or may not span
multiple lines, but regardless,
19 matches
Mail list logo