...it explains the formatting of a limerick with <BR> carriage returns, with a plain example... and then states that <BR> does -not- affect paragraph formatting and provides a sample with paragraph center alignment... yet your example which should be center aligned is, instead, left aligned, just like the 'plain' example.
I did view the source for the page and copied the aligned example code to notepad, saved as HTML and opened in a browser where it was indeed center aligned, but your tutorial webpage does -not- center align the center-aligned example.
I'm not a coder (yet), just a tech that noticed the inconsistency... so I'll leave it to you all to figure out the display anomaly. ...
Posted: Thu May 01, 2008 10:09 pm It's because of CSS styling
It's because the page links to a CSS stylesheet with a ruleset selecting all 'p' elements that sets their alignment to 'left'. Ignore the "align" HTML attribute as it's deprecated and has been replaced by the CSS "text-align" property. The tutorials need a major updating.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum