Fork me on GitHub

Table coding in 0.8-RC2 html pages  Bottom

  • Hey all,

    Can anyone tell me why PostNuke HTML pages will only allow for very basic table coding? I can create the table without a problem and get a border etc. I can even put a linked image inside the tags and they will show up and work! LOL. BUT, for some reason PNuke will not allow for text alignment. My coding is perfect and my HTML settings are set to my specs in the System Settings.

    I've overcome a lot of problems with 0.8-RC2 through coding most of my pages. I don't mind doing it. Now I just need some tables. LOL.

    This is really bizarre. Any ideas?

    Thanks,
    RDude
  • What is the code that doesn't work? I will test it for you.

    --
    David Pahl
    Zikula Support Team
  • Hi "AmmoDump".

    I'm just referring to basic alignments before some text. i.e. - align="left" and that sort of thing. The HTML shows up for some weird reason. PostNuke will accept basics like bgcolor, border, but not align. Try it and you'll see what I mean.

    Thanks



    edited by: RaunchyDude, Jan 14, 2008 - 01:50 AM
  • Sorry tired today....

    Align has been deprecated in HTML. icon_biggrin

    --
    David Pahl
    Zikula Support Team
  • Deprecated!? Oh damn. I'm gonna see if CSS works then. Are there any "new" alternatives to "align" in HTML then? Is HTML becoming obsolete? It seems that way.

    Thanks
  • RaunchyDude

    Deprecated!? Oh damn. I'm gonna see if CSS works then. Are there any "new" alternatives to "align" in HTML then? Is HTML becoming obsolete? It seems that way.

    Thanks

    Yes HTML is becoming obsolete, that's old news though. XHTML is the now 'common' standard for generating web content and all styling information is relegated to CSS. That being said tables do still accept the align attribute but it needs to be in the 'tr' or 'td' elements. Reference: XHTML Basic Table Module.

    Regardless I think you're better off just adding a class to the table and using text-align: center; in the style sheet.

    But we'd have to know what your doctype declaration states in order to give you an accurate answer.

    --
    Under Construction!
  • HTML for the semantic structure of you content (headline = hx, paragraphs = p ASO) and CSS for the styling of it.

    --
    best regards from Kiel, sailing city

    Steffen Voss

    Member of the Zikula Steering Committee
    Read The Zikulan's Blog "If you want people to RTFM, make a better FM!"

This list is based on users active over the last 60 minutes.