|
Posted by Barbara de Zoete on 10/22/05 14:51
On Sat, 22 Oct 2005 13:12:37 +0200, Woodmon <mr.mediamonATgmail.com> wrote:
> 3. When validating to strict HTML 4.01 the pahe is still failing due to my
> implmentation of target="_new" to launch a new window when clicking on a
> particular link. Any recommends?
Just leave it out. Your visitor will probably know best whether or not s/he
wants a link to open in a new page.
> 5. Not sure if I should validate page to XHTML 1.0. Any need?
If you are thinking about upgrading your markup, going for valid html4.01 strict
is good already. I don't see any use (for this page/site) to go to xhtml.
> 7. My final concern regards the flowing text on the home page when it
> extends past the last image on the right, I observe the text flows all te
> way to the right edge of the page margin when the text is too long
<snip>
> Is there a method to keep text in it's 'column' or any other recommends?
You know how wide your images will be, right? I would put a padding on the body
of the page, just a little wider than those images. Then give the images with
the stylesheet a negative margin-right, so they fit in the space on the right of
the page, you just created with the padding on the body.
Like this (use values suited for your situation):
body {
padding-right:17em; }
img {
width:15em;
margin-right:-16em; }
> 8. Wondering about the following javascript in Barbara's page source. Any
> thoughts what this is for?
>
> <script type='text/javascript'>
> <!--
> if (top != self) top.location.href = self.location.href;
> // -->
> </script>
Ah, yes. Only recently I added that to all my pages and my template. I noticed
that some sites 'frame' some of my pages. I don't like that.
This small script makes my pages 'escape' from someones frameset, by putting the
page back in 'top', as if it was linked to with target=_top. Unfortunately only
works when browser is javascript enabled, but that is true for the vast
majority. So most of the times it will work.
--
,-- --<--@ -- PretLetters: 'woest wyf', met vele interesses: ----------.
| weblog | http://home.wanadoo.nl/b.de.zoete/_private/weblog.html |
| webontwerp | http://home.wanadoo.nl/b.de.zoete/html/webontwerp.html |
|zweefvliegen | http://home.wanadoo.nl/b.de.zoete/html/vliegen.html |
`-------------------------------------------------- --<--@ ------------'
[Back to original message]
|