"Dario D." <darioNOSPAM.RemoveThis@dariodjuric.com> wrote in message
news:c1dn98$r2h$1@brown.net4u.hr...
> Hi all,
>
> I'm converting my pages from HTML to XHTML and I have some questions:
>
> - When quoting something using <blockquote>, do I need to put my text
> inside a paragraph? E.g. <blockquote><p>Text</p></blockquote>
> - What's the XHTML equivalent of <hr noshade>?
> - Are there any common tag attributes that must be set explicitly in
> order to avoid the tags appearing differently on various browsers? E.g.
> someone suggested that I use this for the <p> tag:
>
> p {
> margin: 1em 0;
> }
>
> Since Opera uses a different margin setting than other browsers.
>
Think about the semantics and you can't go too far wrong.
Use the <p> tag ONLY for paragraphs and ALWAYS for paragraphs.
With regards to "common tag attributes" There are several, even the margins
around <hx> can vary. My advice would be to allow the design to be able to
handle the defaults in any browser and enable the user to change the size
without your site falling apart. Remember your style sheet is only a
suggestion to the rendering engine, it can be over-ridden.
Good luck,
Mak.
--
"He [Jimmy White] has popped out to the toilet to compose himself before the
final push."
(STEVE DAVIS, BBC2)
<a style='text-decoration: underline;' href="http://www.private-eye.co.uk" target="_blank">http://www.private-eye.co.uk</a><!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: Converting from HTML to XHTML