Ask a Question related to Macromedia Contribute General Discussion, Design and Development.
-
dvatalaro #1
CSS - CT3 "adding" margin=0 when editing text
Issue: when editing the text of a menu div (simple html, no javascript), CT3
sees fit to add a margin-bottom setting of zero. This is NOT wanted. Here's a
snippet of the before code:
<div class="topnav">
<p><a href="link.html">linkOne</a> :: <a href="link2.html">linkTwo</a> :: <a
href="link3.html">linkThree</a> :: <a href="articles/articles.html">Other
Articles</a> :: <a href="link4.html">linkFour</a></p>
</div>
Here's the referenced external CSS file code for "topnav":
.topnav { background-color: #ccf; border-style: solid; border-width: 1px 0px
1px 0px; border-color: #009 #009 }
.topnav p { color: #006; font-size: 11px; font-family: Verdana, Trebuchet,
Palatino; text-align: justify; margin: 5px 30px 5px 38px }
Here's what CT3 adds when I edit <i>only the text</i> within that DIV - it
adds a 0 margin bottom:
<div class="topnav">
<p style="margin-bottom: 0"><a href="link.html">linkOne</a> :: <a
href="link2.html">linkTwo</a> :: <a href="link3.html">linkThree</a> :: <a
href="articles/articles.html">Other Articles</a> :: <a
href="link4.html">linkFour</a> :: <a href="link5.html">linkFive</a></p>
</div>
Any reason why CT3 is doing this? Sorry, pages are internal so can't give
direct links. TIA.
dvatalaro Guest
-
Text as paths, when below 32 point, "l" and"-" become strokes not boxes
Acrobat Distiller 7.0 using Freehand MX When text is converted to paths before distilling, straight characters such as "l" and "-" become a... -
Font size of annotation's contents("Text box tool" formely known as "FreeText")
hi all I need to add annotation of "FreeText" type (Text Box Tool) having some text.I am able to add annotation, set the content text and set... -
How to stop CT3 from adding style="margin-bottom: 0"
How can I stop CT3 from adding style='margin-bottom: 0' to h1, h2,and p tags. I set up templates in DWMX 2004. I have locked and editable regions.... -
Need help with disjoint rollovers and adding text to a "one page website"
I've created a website with only one document, which i saved and then exported as a .htm document, then i erased all the text in it, put some new... -
How to make the "search text" feature work with non "txt" file
On Fri, 27 Jun 2003 07:19:23 -0700, "Juergen" <anhorn@bktel.com> wrote: See MVP Doug Knox' comments and fix here:... -
temple #2
Re: CSS - CT3 "adding" margin=0 when editing text
Hi,
It might be worth checking you paragraph sapcing settings in the admin set
up.
One of the preferences is for either a 'single' spacing between paragraphs
or 'double'
If 'single' is selected then contribute adds the 'margin 0' to the
paragraph.
All you need to do is select 'double'
hth
"dvatalaro" <webforumsuser@macromedia.com> wrote in message
news:d58m10$oie$1@forums.macromedia.com...
: Issue: when editing the text of a menu div (simple html, no javascript),
CT3
: sees fit to add a margin-bottom setting of zero. This is NOT wanted.
Here's a
: snippet of the before code:
:
: <div class="topnav">
: <p><a href="link.html">linkOne</a> :: <a href="link2.html">linkTwo</a> ::
<a
: href="link3.html">linkThree</a> :: <a href="articles/articles.html">Other
: Articles</a> :: <a href="link4.html">linkFour</a></p>
: </div>
:
: Here's the referenced external CSS file code for "topnav":
:
: .topnav { background-color: #ccf; border-style: solid; border-width:
1px 0px
: 1px 0px; border-color: #009 #009 }
: .topnav p { color: #006; font-size: 11px; font-family: Verdana,
Trebuchet,
: Palatino; text-align: justify; margin: 5px 30px 5px 38px }
:
:
: Here's what CT3 adds when I edit <i>only the text</i> within that DIV -
it
: adds a 0 margin bottom:
:
: <div class="topnav">
: <p style="margin-bottom: 0"><a href="link.html">linkOne</a> :: <a
: href="link2.html">linkTwo</a> :: <a href="link3.html">linkThree</a> :: <a
: href="articles/articles.html">Other Articles</a> :: <a
: href="link4.html">linkFour</a> :: <a href="link5.html">linkFive</a></p>
: </div>
:
: Any reason why CT3 is doing this? Sorry, pages are internal so can't give
: direct links. TIA.
:
temple Guest
-
dvatalaro #3
Re: CSS - CT3 "adding" margin=0 when editing text
Thanks for taking the time to reply, that did the trick!
dvatalaro Guest



Reply With Quote

