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
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.
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
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
> 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
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
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
_
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
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
] 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
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
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
12 matches
Mail list logo