I need to increase the space between paragarphs in my wiki. Is there a way to do that? Changing fonts doesn't seem to make a difference.
Also, how to set the colors for unvisited, visited, and broken links.
Thanks.
On Sun, 2007-12-30 at 12:28 -0500, Steve VanSlyck wrote:
I need to increase the space between paragarphs in my wiki. Is there a way to do that? Changing fonts doesn't seem to make a difference.
Also, how to set the colors for unvisited, visited, and broken links.
Start here:
http://www.htmldog.com/guides/cssbeginner/
Didn't find anything there that applied to the paragraph level.
David A. Desrosiers wrote:
On Sun, 2007-12-30 at 12:28 -0500, Steve VanSlyck wrote:
I need to increase the space between paragarphs in my wiki. Is there a way to do that? Changing fonts doesn't seem to make a difference.
Start here:
On Sun, 2007-12-30 at 12:35 -0500, Steve VanSlyck wrote:
Didn't find anything there that applied to the paragraph level.
Sure you did, you just chose to ignore it:
http://www.htmldog.com/guides/cssbeginner/margins/
Here's one approach, depending on your template and layout:
p { margin-bottom: 0.7em; padding-bottom: 1.0em; }
That is the first thing I read. Perhaps I don't know what an "element" is.
David A. Desrosiers wrote:
On Sun, 2007-12-30 at 12:35 -0500, Steve VanSlyck wrote:
Didn't find anything there that applied to the paragraph level.
Sure you did, you just chose to ignore it:
http://www.htmldog.com/guides/cssbeginner/margins/
Here's one approach, depending on your template and layout:
p { margin-bottom: 0.7em; padding-bottom: 1.0em; }
Follow up - I am talking about the formatting of straight text. Not text within a table. Thanks.
David A. Desrosiers wrote:
On Sun, 2007-12-30 at 12:35 -0500, Steve VanSlyck wrote:
Didn't find anything there that applied to the paragraph level.
Sure you did, you just chose to ignore it:
http://www.htmldog.com/guides/cssbeginner/margins/
Here's one approach, depending on your template and layout:
p { margin-bottom: 0.7em; padding-bottom: 1.0em; }
On Sun, 2007-12-30 at 12:41 -0500, Steve VanSlyck wrote:
Follow up - I am talking about the formatting of straight text. Not text within a table. Thanks.
That is correct, and so was I.
Unless you're representing tabular data (i.e. the kind that would go into a spreadsheet), then you should not be using tables. I haven't used tables in any HTML I've written in several years, because frankly (unless it's tabular data), there is no point. (cue the religious war over tables vs. layout vs. css vs. divitis)
But my answer is still correct. You should try it and see what it does, then play with the values until you get the effect you're after, before you shoot it down as incorrect.
For link colors, place the following code (assuming you like my particular color choices) in Common.css:
/* link appearance - note: "underline" means underscore */ /* and "active" means selected (mouse down) */
/* unvisited and initial defaults */ a:link {color: blue !important } a:link { text-decoration: underline !important } a:link:hover { background-color: yellow !important }
/* active links */ a:link:active { color: red !important }
/* visited links */ a:visited { text-decoration: underline !important } a:visited { color: red !important } a:visited:hover { background-color: yellow !important }
Perfect, thank you. My problem is that sites about the basics are not basic enough. For example, I could not find in this site any doc on the "p" tag. Thanks again.
David A. Desrosiers wrote:
http://www.htmldog.com/guides/cssbeginner/margins/
Here's one approach, depending on your template and layout:
p { margin-bottom: 0.7em; padding-bottom: 1.0em; }
On Dec 30, 2007 5:58 PM, Steve VanSlyck s.vanslyck@spamcop.net wrote:
Perfect, thank you. My problem is that sites about the basics are not basic enough. For example, I could not find in this site any doc on the "p" tag. Thanks again.
That would be because the '"p" tag' is (X)HTML, not CSS. CSS generally requires basic knowledge of (X)HTML.
Well I guess that might partially explain it. ;)
OK, well. Um.
p { padding-bottom: 1.0em; }
seems to be doing the trick nicely, except after the last item in a list when followed by a section header. I think it would be better to space-after the last list item instead of spaceing-before the header. Any thoughts on that, of suggestions of a better way?
Minute Electron wrote:
On Dec 30, 2007 5:58 PM, Steve VanSlyck s.vanslyck@spamcop.net wrote:
Perfect, thank you. My problem is that sites about the basics are not basic enough. For example, I could not find in this site any doc on the "p" tag. Thanks again.
That would be because the '"p" tag' is (X)HTML, not CSS. CSS generally requires basic knowledge of (X)HTML.
Steve VanSlyck wrote:
Well I guess that might partially explain it. ;)
OK, well. Um.
p { padding-bottom: 1.0em; }
seems to be doing the trick nicely, except after the last item in a list when followed by a section header. I think it would be better to space-after the last list item instead of spaceing-before the header. Any thoughts on that, of suggestions of a better way?
p, ul, ol { padding-bottom: 1.0em; } ?
Oooh - I like that - I'm gonna try that!
Platonides wrote:
Steve VanSlyck wrote:
Well I guess that might partially explain it. ;)
OK, well. Um.
p { padding-bottom: 1.0em; }
seems to be doing the trick nicely, except after the last item in a list when followed by a section header. I think it would be better to space-after the last list item instead of spaceing-before the header. Any thoughts on that, of suggestions of a better way?
p, ul, ol { padding-bottom: 1.0em; } ?
mediawiki-l@lists.wikimedia.org