Text Align problem with Contribute 3 and CSS/XHtmlsite

Ask a Question related to Macromedia Contribute General Discussion, Design and Development.

  1. #1

    Default Re: Text Align problem with Contribute 3 and CSS/XHtmlsite

    I see no one has replied to this since it was posted last year but I wanted to
    say I have the same problem.

    I just have a basic site with some CSS and all of a sudden something I did has
    apparently made the the text align buttons in Contribute to be greyed out.

    This is a major problem for me and any help is greatly appreciated.

    ajy Guest

  2. Similar Questions and Discussions

    1. Text Align is Grayed Out
      I am having an issue with one particular site. The site was created in DW CS3 using the built in style sheet templates. When I try to edit the site...
    2. Align text
      Hi again, Thanks for you help with my data structure problem, a hash of hashes problem did the job :-) I would like to know how to align text...
    3. How could i align the text in a column?
      All the columns in my I'd like to align the columns to the right, left or center but i don't find a property to do it. Is it possible? Thanks
    4. how to Align text left & vertical align middle
      Hello, I have a asp lable control, which I use to display text in, I would like to have the text display aligned in the center and vertical...
    5. Text Align
      When I install my accesss 2000 application on some machines the application ignores the "Text Align" Property Setting in some Activex Controls(List...
  3. #2

    Default Re: Text Align problem with Contribute 3 and CSS/XHtmlsite

    I'm also having this problem and would like to reiterate the need for a solution. Thanks.
    emily b Guest

  4. #3

    Default Re: Text Align problem with Contribute 3 and CSS/XHtmlsite

    I'm having this very same problem... anyone figure this out?
    cwillsjr Guest

  5. #4

    Default Re: Text Align problem with Contribute 3 and CSS/XHtmlsite

    Strange. I have not had this one happen to me before, and I have no clue as to
    how to create this situation. But you guys CAN do your own investigation of the
    problem.

    For instance, the table/div/paragraph which your text is inside of, does it
    contain an editable region? if the parent table cell is outside the editable
    region then Contribute adding <td align="right"> or whatever would not be
    possible. True, it -could- add a paragraph tag inside of the <td> but since I
    can't see code I can only make elaborate guesses as to what the issue might be.

    Lets say for example, that the template was created with editable regions like
    this:

    <h1><!--Editable-->text here<!--EndEditable--></h1>

    <p><!--Editable-->text here<!--EndEditable--></p>

    in this case, of course Contribute can not alter the alignment of the above
    element, because its container is locked, and Contribute can not (or, should
    not) nest a block-level element inside of another block-level element. if
    everything in code appears to be normal it may be a good idea to look at the
    "roles and permissions" area of the admin panel.

    mzanime.com Guest

  6. #5

    Default Re: Text Align problem with Contribute 3 and CSS/XHtmlsite

    I would LOVE to have this "Problem" (as you name it). In XHTML strict "old
    style attributes" like the align attribute are not allowed. So you should not
    use them if you want to write good code. My problem is just the other way
    round: Dealing with a valid XHTML strict site, Contribute still allows to apply
    those attributes, thus destroying the validity of the code. Still I don't know
    if this is seen as a bug or a feature (in the eyes of Macromedia)...

    Michael Eichelsd?rfer Guest

  7. #6

    Default Re: Text Align problem with Contribute 3 and CSS/XHtmlsite

    Which leads to my next question- why are you validating as strict? Do you have some speacial reason to do so, or are you doing it just to say that you've done it? :-)
    mzanime.com Guest

  8. #7

    Default Re: Text Align problem with Contribute 3 and CSS/XHtmlsite

    I see "mzanime.com" is a funny guy. "Just to say that you've done it" is the
    reason if you still use XHTML transitional. You can say "oh, sure I am using
    XHTML" (which may still be tag soup...).

    Using XHTML strict enables you to separate content and design. You can easily
    create different designs for screens, handhelds or print. And you can change
    the design of a whole site by changing some lines in your CSS files.

    If you use, let's say, the align attribute in your source code, your design
    and your content are definitely mixed up.

    Maybe you will be convinced if you read Jeremy Keith's article:

    [url]http://www.adactio.com/articles/display.php/CSS_based_design[/url]

    Greetings
    Michael

    Michael Eichelsd?rfer Guest

  9. #8

    Default Re: Text Align problem with Contribute 3 and CSS/XHtmlsite

    >> I see "mzanime.com" is a funny guy. "Just to say that you've done it" is
    the reason if you still use XHTML transitional.
    >> You can say "oh, sure I am using XHTML" (which may still be tag soup...).
    It's not tag soup if your code (whether strict or transitional) validates. The
    W3C provided both settings for people who want their page to render
    "reasonably" okay in older browsers and they provided the strict setting for
    those who don't necessarily have a need to support older browsers, and don't
    wish to use deprecated (but still supported) elements.
    >> Using XHTML strict enables you to separate content and design.
    No it doesn't. CSS is what enables you to seperate content from design. (or
    presentation, as some word it.) XHTML is merely the bridge between HTML and
    XML. XHTML (hopfully with the proper MIME type support in IE7) is what will
    allow web pages to truely be well-formed and thus can be interpreted by
    XML-compliant reading devices.

    But speaking of design for "screens, handhelds or print" what do you think the
    CSS @page, @handheld, and @print media rules are for? You certainly don't need
    to have a "strict" page to utilize these.
    >> If you use, let's say, the align attribute in your source code, your design
    and your content are definitely mixed up.

    You might say so, but my design will still validate, and my image (or whatever
    element) will stay aligned all the way back to Internet Explorer version 1.

    And why should I read Jeremy Keith's article, when I have already read many
    great articles from Eric Meyer, Zeldman, Tantek, Bert Bos, The W3C, etc?

    mzanime.com Guest

  10. #9

    Default Re: Text Align problem with Contribute 3 and CSS/XHtmlsite

    :-)

    I see you know what you are talking about. Thanks for putting things so clear
    (which is hard sometimes for Germans like me with some sort of "rotten school
    English").

    The transitional standard has been described many years ago to allow by the
    W3C to allow a "transition". Now, years later, the transisiton should be over
    in my eyes. It's possible (even if it's tricky sometimes because of CSS
    rendering bugs...) to generate CSS designs that render perfectly on any browser
    which came out since 1999 (IE 5). Regarding my websites older browsers will
    still display the content, and the site will still be usable. I don't care
    anymore for the beauty of the site on IE 4 or NS 3 - people who still use these
    ancient browsers probably won't care about it either.

    Back to the topic: Does anyone know how "greying out" of Contribute functions
    is triggered when you use XHTML markup? Maybe a special comment?

    <!-- startNonDestroaybleStrictCode -->

    Michael

    Michael Eichelsd?rfer Guest

  11. #10

    Default Re: Text Align problem with Contribute 3 and CSS/XHtmlsite

    I've been struggling for days to figure out how to center some text in the
    editable region of a template page with lots of CSS. This is not pretty but it
    is a workaround for this type of situation.

    Go to Role Settings
    Click on Styles and Fonts
    Select Style support: HTML tags (<font face="...">)
    Check all boxes EXCEPT "Include CSS styles in the Style menu

    Click on Edit Page
    Highlight the text you want to align (center, left, right)
    Click on the styles drop down menu underneath the Publish button. These will
    probably be your h1, h2, h3... styles. Pick one. The text will change to that
    style. With your text still highlighted, click on Format in the toolbar and
    make the appropriate changes to your text.

    I hope this is helpful to someone.

    ron_c Guest

  12. #11

    Default Re: Text Align problem with Contribute 3 and CSS/XHtmlsite

    We have this issue as well. It's horrible!
    I tried what ron_c suggested, but alas it did not work.
    We'll have to look at tweaking our template's CSS. There are some text
    alignments that must be there to draw the page properly on all browsers (damn
    you IE!)

    robothouse Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139