Ask a Question related to Macromedia Contribute General Discussion, Design and Development.
-
kits #1
XHTML Strict Support and CSS
We are just starting to implement Contribute. Created a template with
Dreamweaver with XHTML strict code as this is required for Contribute to close
non closing tags like the <br />. I have an embedded .css for all the styles
in the template. Doing this changed all my styles to which I had to redo so
that the fonts would display properly. (the sizing is in ems) Now my problem
is that the drop down styles being used in Contribute do not show properly.
When we view the drop down styles the fonts show one size larger than what will
be output to Contribute and the headings don't even show at all. H1, H2 etc.
all show the same. It is almost like Contribute wants to manage its own style
sizing. We would like the styles to view the same as what the client will
output. The odd thing is that when I changed my template to be XHTML
compliant, all my fonts got smaller which is why I had to redo the entire CSS
file, and now Contribute shows the fonts like they would be if the document was
not XHTML compliant.
Any suggestions? This is the code in my template which was automatically
generatead by Dreamweaver.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html
xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><!-- InstanceBegin
template="/Templates/pchXhtml_e.dwt.cfm" codeOutsideHTMLIsLocked="false" -->
kits Guest
-
Tables in strict XHTML
Is it me, or... 1. Dreamweaver (I'm using ver. 8 trial) does not appear to generate table code that conforms to strict xhtml, even where I've... -
Problem with XHTML Strict
I am building a website in XHTML and having problems with spacing. Firefox is rendering my paragraphs with greater line-height than I need. I messed... -
Will DW write XHTML Strict code?
I would like to configure DW to write XHTML Strict code rather than transitional, is that possible? -
XHTML Strict support?
Contribute 3 creates XHTML compliant element code, but Contribute has trouble creating character entities that are XHTML compliant. For example... -
Using strict references
Hi, I am trying to write all of my code using strict to improve my code. However, the correct use of references for the following problem... -
mzanime.com #2
Re: XHTML Strict Support and CSS
>> Created a template with Dreamweaver with XHTML strict code as this is
required for Contribute to close non closing tags like the <br />.
Actually, strict is not required for Contribute to close tags. You can use
XHTML transitional if you prefer. XHTML -itself- requires that all tags be
closed. Using strict just means that you can not use any deprecated elements
like <u> and expect it to still validate.
changed all my styles to which I had to redo so that the fonts would display>> I have an embedded .css for all the styles in the template. Doing this
properly. (the sizing is in ems)
Not sure you mean by this, but using ems can cause problems if not handled
with care, since they are relative to whatever size the browsers default is set
to, and they are also relative to whatever size the parent element they are in
as well.
show properly. When we view the drop down styles the fonts show one size larger>> Now my problem is that the drop down styles being used in Contribute do not
than what will be output to Contribute and the headings don't even show at all.
H1, H2 etc. all show the same.
How are you coding your CSS? Can we see some code or better yet, a URL? Are
the headers showing up at all? If not, then you have them set to not be visible
in the administration panel.
The odd thing is that when I changed my template to be XHTML compliant, all my>> We would like the styles to view the same as what the client will output.
fonts got smaller which is why I had to redo the entire CSS file
Try changing your doctype to transitional and see if that helps at all. I've
noticed that the styles menu will often display styles slightly larger than
they appear in the edit view area but alas, it was never any reason for me to
lose any sleep.
mzanime.com Guest
-
Chefpraktikant #3
Re: XHTML Strict Support and CSS
Hi kits,
you are right, the Contribute style menu displays the different styles in a
bit strange way. So does the respective menu in Dreamweaver. But as mzanime
points out: I don't lose any sleep because of that.
Of course I'd be happier with the menu not trying to display any style at all
or with the complete styling including paddings, etc.
Chefpraktikant Guest



Reply With Quote

