Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
TSemmes #1
First line in paragraph
Though I use CSS to add space before Heading 1, I am trying to get the first
line in a paragraph to line up with the top of the cell that it is in. I have
added this command to the style sheet:
h1:first-child {margin-top: 0;}
it seems to work in Firefox but not in Internet Explorer.
Are there any other work arounds, besides creating a seperate style for that
first lines?
TSemmes Guest
-
Forced line break changes previous line endings
Gang-- Give this script a try. It's quite experimental (i.e., use at your own risk), but in my tests it actually works to "freeze" the line... -
new paragraph in cfdocument
How do I begin new paragraph between each #form.chk# value? And between each value it also show ",". Can I omit that also? <cfdocument... -
DRKv5 3D Line Chart line width, rendering problems
I am using the DevNet Resource Kit Version 5 3D Charting components. The line chart component has a minimum line width parameter, but the minimum... -
line, paragraph and char
I am trying to work out the line number that a particular char number is on? Is it possible to work out the line number and paragraph numer that a... -
How to Find the Line # in a Given Paragraph
Hello, Is there a way to find out the line number of the first line in a given paragraph? For example, I'm trying to find the line number of a... -
Murray *TMM* #2
Re: First line in paragraph
Try p.first { margin-top:0; }
and then style the specific <p> tag.
The problem is that you will also have to adjust the bottom margin on the
<h1> tag.
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"TSemmes" <webforumsuser@macromedia.com> wrote in message
news:dtkitu$ish$1@forums.macromedia.com...> Though I use CSS to add space before Heading 1, I am trying to get the
> first
> line in a paragraph to line up with the top of the cell that it is in. I
> have
> added this command to the style sheet:
> h1:first-child {margin-top: 0;}
> it seems to work in Firefox but not in Internet Explorer.
> Are there any other work arounds, besides creating a seperate style for
> that
> first lines?
>
Murray *TMM* Guest
-
TSemmes #3
Re: First line in paragraph
oops I meant the first line in a table cell not paragraph. it seems like the
h1:first-line works in Internet Explorer but not for margins. For example I
tried
h1:first-line {margin-top:0; color: green}
The color of the first line in each table cell changed but not the margin.
Tom
TSemmes Guest
-
Murray *TMM* #4
Re: First line in paragraph
IE's support for first-line is not precedent setting.... 8)
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"TSemmes" <webforumsuser@macromedia.com> wrote in message
news:dtklo2$n8t$1@forums.macromedia.com...> oops I meant the first line in a table cell not paragraph. it seems like
> the
> h1:first-line works in Internet Explorer but not for margins. For example
> I
> tried
> h1:first-line {margin-top:0; color: green}
> The color of the first line in each table cell changed but not the margin.
>
> Tom
>
Murray *TMM* Guest



Reply With Quote

