> the page by means of the file a12.alphagodaddy.com_index.html. This
> latter is the culprit as it starts with "<body style='MARGIN:0px;' >"
> (after the opening html tag). I don't know how it gets loaded but it
> probably is the price you pay for this free service.

   If so, try redefining the style for the „body" element. If
necessary add „!important" so that your rule overrides others.
<style type="text/css">
body {margin: 5% !important;}
</style>

   (Or margin-left: 5% !important; margin-right: 5% !important; )
   To learn about !important and overriding rules look for „CSS
specifity" at the standard ot the web.

   Other solutions:
  - try the same thing with „padding" (that's like an internal margin
of an element)
  - try changing the margins of the „html" tag
  - hack: insert all the content on a <div> and apply styles there

   Correct also the HTML errors shown by http://validator.w3.org/
(eg: <link> element should be closed, also <link />, ...).
   That will be impossible since GoDaddy adds incorrect code to the
page (after </html>). If you really sent the XHTML as
application/xhtml+xml (which is the correct way), the page wouldn't
show. Sending it as text/html is also a hack. All are hacks...


   Greetings,
Daniel


_______________________________________________
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to