|
Posted by Jonathan N. Little on 10/22/86 11:46
Michael Laplante wrote:
> "dorayme" <doraymeRidThis@optusnet.com.au> wrote in message
> news:doraymeRidThis-D55A3D.09231702052006@news-vip.optusnet.com.au...
>> In article <Z%p5g.2928$Yy5.1479@edtnps89>,
>> "Michael Laplante" <nowhereman@twilightzone.net> wrote:
>
>> It is good advice to be rid of tricky absolute positioning if you
>> can do without it.
>
> Because. . .? Your mate said the same thing but didn't offer up a reason.
> Even point me to a tutorial on the evils of absolute positioning and I'll be
> impressed and grateful.
Because absolute breaks out of the flow of the document and all your
positioning is defined in pixels. But you have
a) no control over what fonts the user has installed on his computer
b) what his default font site is set to
c) what his browser default margin sizes are set to
so with pixels position placed blocks within the document the text may
or MAY NOT fit properly when printed.
You can either design with more flexible layout where placement is
proportional to the text or if you must have precision printing use PDF.
>
>> Your blue menu floats to sometimes obscure text or look oddly
>> misplaced (it looks to have no place!). And it breaks badly when
>> text is enlarged.
>
> You're the first one who has ever mentioned this. Nor can I can replicate
> this behaviour in any of my three browsers. What browser / version are you
> using? Do you use a personalized stylesheet?
>
> "It looks to have no place!" Can you expand on that?
>
> What do you mean by "breaks badly?' Lots of pages -- even ones that
> validate -- break badly when text is enlarged.
>
In Gecko browsers, (Firefox, SeaMonkey, Netscape, et al.) If you hit
CTRL + just twice the menu text grows larger than the block element LI
so the bottom of the text is chop off. I'd call that broken. The height
is constrained with absolute values rather than proportional to the text.
Which browsers have you check it in, IE only?
> Any suggestions re: my original request for margins? I don't need 'em
> necessarily, nor do I need a specific size as some earlier respondants
> assumed. I can always leave it up to the user to do it via their printer
> settings. For me it's just a "nice to do" thing. Toby Inkster suggested
> print stylesheets but they aren't going to be simple -- in this case -- from
> what I've been reading. (DIVS not printing across pages, tables breaking at
> inconvenient points, pagebreak not recognized by all browsers, etc.)
BTW your markup a hodge-podge of deprecated markup and CSS. At least 6
years out of date. Update your markup and your results will work better
with modern browsers.
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Navigation:
[Reply to this message]
|