emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Daniel Clemente" <n142857@gmail.com>
To: org-mode list <emacs-orgmode@gnu.org>
Subject: Re: HTML help needed
Date: Tue, 4 Sep 2007 12:03:42 +0200	[thread overview]
Message-ID: <ae9590aa0709040303w918cd86mdd3cda86804873f7@mail.gmail.com> (raw)
In-Reply-To: <B4E8037C72B806418E4B0E88B3776358017B4BD2@G3W0636.americas.hpqcorp.net>

> 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

  parent reply	other threads:[~2007-09-04 10:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-04  9:06 HTML help needed Carsten Dominik
2007-09-04  9:29 ` Sprenger, Karel
2007-09-04  9:54   ` Carsten Dominik
2007-09-04 10:03   ` Daniel Clemente [this message]
2007-09-04 10:13     ` Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ae9590aa0709040303w918cd86mdd3cda86804873f7@mail.gmail.com \
    --to=n142857@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).