RE: [css-d] Line break issues

2005-10-19 Thread Chad Calhoun
bject: RE: [css-d] Line break issues At 11:52 AM -0400 10/19/05, Chad Calhoun wrote: >I can't add a margin to "p" because I only need it to apply on the first >paragraph there (with the ). I can't add a bottom-margin to all >"br" tags because it would cre

RE: [css-d] Line break issues

2005-10-19 Thread Adam Kuehn
At 11:52 AM -0400 10/19/05, Chad Calhoun wrote: I can't add a margin to "p" because I only need it to apply on the first paragraph there (with the ). I can't add a bottom-margin to all "br" tags because it would create a margin in the middle of the paragraph and still would have inconsistencies.

Re: [css-d] Line break issues

2005-10-19 Thread Christian Montoya
Ok, so you run a search on the user input. Whenever you find a paragraph that has this: Stuff... or this: Stuff... You replace that with: Stuff... And you do in the css: .extraline { margin-bottom:1em; } or: p { margin-bottom:1em; } p.extraline { margin-bottom:2em; } Another thing

Re: [css-d] Line break issues

2005-10-19 Thread Gunlaug Sørtun
Chad Calhoun wrote: Has anybody worked with styling a ? What attributes are able to be applied? Essentially none that'll affect space - unless you use Moz/Firefox. Moz/FF can take 'float', 'positive margin', 'font-size/line-height' & 'height', and IE/Mac reacts to some of it. No effect in Op

Re: [css-d] Line break issues

2005-10-19 Thread Larry Israel
> Is there any possible way to make line breaks before closed tags actually > create a line break? > Some text goes hereMore text This might well do the trick. Do a global search and replace of your web pages. Find: Replace:   The space character ensures that there is some content after the

RE: [css-d] Line break issues

2005-10-19 Thread Chad Calhoun
scuss Subject: Re: [css-d] Line break issues On 19/10/05, Chad Calhoun <[EMAIL PROTECTED]> wrote: > I can't add a margin to "p" because I only need it to apply on the first > paragraph there (with the ). Why don't use just.. p:first-child { /* css g

Re: [css-d] Line break issues

2005-10-19 Thread diego nunes
On 19/10/05, Chad Calhoun <[EMAIL PROTECTED]> wrote: > I can't add a margin to "p" because I only need it to apply on the first > paragraph there (with the ). Why don't use just.. p:first-child { /* css goes here */ } ??? -- diego nunes _

RE: [css-d] Line break issues

2005-10-19 Thread Chad Calhoun
ECTED] Sent: Wednesday, October 19, 2005 11:30 AM To: Chad Calhoun; CSS List Subject: RE: [css-d] Line break issues >Yeah, but not every paragraph will have a at the end of it. Those >are the cases where I need to do this. Margins are the way to go, here. Do you need this extra space at

RE: [css-d] Line break issues

2005-10-19 Thread Adam Kuehn
Yeah, but not every paragraph will have a at the end of it. Those are the cases where I need to do this. Margins are the way to go, here. Do you need this extra space at every occurrence of a paragraph, list, etc., or only on some of them? If on only some of them, you will need to apply a c

RE: [css-d] Line break issues

2005-10-19 Thread Chad Calhoun
] Line break issues Couldn't you give every < br /> a margin or padding in the CSS? Usually in my stylesheets I apply a bottom margin to all paragraphs, usually .5em, and I'm sure you could just do that to your br's: br { margin-bottom:.5em; } Basically that should beef them

Re: [css-d] Line break issues

2005-10-19 Thread Christian Montoya
On 10/19/05, Chad Calhoun <[EMAIL PROTECTED]> wrote: > Is there any possible way to make line breaks before closed tags actually > create a line break? I work with clients who have both flash and html sites > and am trying to make the html text look like flash due to flash's inability > to handle h

[css-d] Line break issues

2005-10-19 Thread Chad Calhoun
Is there any possible way to make line breaks before closed tags actually create a line break? I work with clients who have both flash and html sites and am trying to make the html text look like flash due to flash's inability to handle html correctly. Here's an example: Code: Some text goes he