which event is generated when changing text size?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • pablo

    which event is generated when changing text size?

    Dear NGers,

    I want to keep some images just left of some DIVs. But a change in text size
    leaves my images at the original position. Which event is generated by
    changing the text size from the toolbar??

    tia

    pablo k


  • kaeli

    #2
    Re: which event is generated when changing text size?

    In article <vu5urfdekeak2e @corp.supernews .com>,
    pablok@exeit.re movethis.demon. nl enlightened us with...[color=blue]
    > Dear NGers,
    >
    > I want to keep some images just left of some DIVs. But a change in text size
    > leaves my images at the original position. Which event is generated by
    > changing the text size from the toolbar??
    >[/color]

    I think coding the page better would be more effective than using
    client-side script that not everyone has.
    Ask over in the CSS group - there is a way to keep the images in the
    right spot, maybe with float or something.

    --
    --
    ~kaeli~
    If it's tourist season, why can't we shoot them?



    Comment

    • Grant Wagner

      #3
      Re: which event is generated when changing text size?

      pablo wrote:
      [color=blue]
      > Dear NGers,
      >
      > I want to keep some images just left of some DIVs. But a change in text size
      > leaves my images at the original position. Which event is generated by
      > changing the text size from the toolbar??
      >
      > tia
      >
      > pablo k[/color]

      None, you can't trap that, so stop trying. Don't absolutely position anything if
      it can't survive me changing the size or appearance of my UA.

      Perhaps what you're trying to do is:

      <div style="float:le ft;"><img ...></div>
      <div style="float:ri ght;">Text</div>

      or something? Regardless, you should look to a solution that reflows properly at
      all resolutions and text sizes. If that is not possible, I'd suggest you revisit
      your design.

      --
      | Grant Wagner <gwagner@agrico reunited.com>

      * Client-side Javascript and Netscape 4 DOM Reference available at:
      *


      * Internet Explorer DOM Reference available at:
      *
      Gain technical skills through documentation and training, earn certifications and connect with the community


      * Netscape 6/7 DOM Reference available at:
      * http://www.mozilla.org/docs/dom/domref/
      * Tips for upgrading JavaScript for Netscape 7 / Mozilla
      * http://www.mozilla.org/docs/web-deve...upgrade_2.html


      Comment

      Working...