Hello;
This is related to my question yesterday about proper use of div tags...
I now get that an ID must be used only once on a page. Within div
tags (from code generously provided here) I've been able to format
specific bits of content, like text, using classes and span tags.
But I'd
This is related to my question yesterday about proper use of div
tags...
I now get that an ID must be used only once on a page. Within div
tags (from code generously provided here) I've been able to format
specific bits of content, like text, using classes and span tags.
But I'd like to
On Thu, Nov 18, 2010 at 2:34 PM, John j...@coffeeonmars.com wrote:
I now get that an ID must be used only once on a page. Within div tags (from
code generously provided here) I've been able to format specific bits of
content, like text, using classes and span tags.
But I'd like to ad a
On 18.11.2010 22:34, John wrote:
Hello;
This is related to my question yesterday about proper use of div tags...
I now get that an ID must be used only once on a page. Within div tags
(from code generously provided here) I've been able to format specific
bits of content, like text, using
Yes, but paragraphs are block-level elements, so simply give a class to
one
of the paragraphs to create that border.
One thing you'll notice though, is that once you apply a border to a
paragraph its margin will not collapse with the margin of its sibling
(see
margin collapsing).
Before
On 11/18/10 4:34 PM, John wrote:
But I'd like to ad a dotted line between to paragraphs...
Others have answered your question. However, if you are still having
difficulty, it always a good idea to put the page in question on a
public server and provide a clickable link to it in your post
OK..Here's a link to a graphic showing the dotted line and its
position which I'm after:
http://thinkplan.org/workshop/pix/dottedline.jpg
thanks!
John
On Nov 18, 2010, at 2:42 PM, David Laakso wrote:
On 11/18/10 4:34 PM, John wrote:
But I'd like to ad a dotted line between to
One thing I tried here was to make a new p class:
.dotted {
border-top: 1px dotted #000;
padding: 8px 0 0 0;
}
that top padding value of 8px gets the line where I want it
vertically...
the p portion I don't want to have with the dotted line, I just
closed that p tag after
On 19/11/2010 10:15 AM, John wrote:
OK..Here's a link to a graphic showing the dotted line and its position
which I'm after:
http://thinkplan.org/workshop/pix/dottedline.jpg
thanks!
John
If this is what you have, then theoretically, no class is need. If the
text that is bold is a