Relative positioning

Discussion in 'ASP .Net' started by Arne Vajhøj, May 12, 2012.

  1. Arne Vajhøj

    Arne Vajhøj Guest

    On 5/11/2012 9:46 PM, Zach wrote:
    > If I absolutely position say an image, I can subsequently position
    > something relative to that image. However if I use <center> to position
    > the image, I don't seem to be able to relatively position something
    > relative to that image. How should I proceed if I wish to do that?


    You should not use the CENTER tag. You should use CSS.

    Unfortunately my CSS skills are not sufficient to say how to
    do what you want with CSS.

    Arne
     
    Arne Vajhøj, May 12, 2012
    #1
    1. Advertising

  2. Arne Vajhøj

    Zach Guest

    If I absolutely position say an image, I can subsequently position something
    relative to that image. However if I use <center> to position the image, I
    don't seem to be able to relatively position something relative to that
    image. How should I proceed if I wish to do that?

    Zach.
     
    Zach, May 12, 2012
    #2
    1. Advertising

  3. Arne Vajhøj

    Arne Vajhøj Guest

    On 5/12/2012 7:24 PM, Zach wrote:
    > "Arne Vajhøj" <> wrote in message
    > news:4fadad04$0$295$...
    >> On 5/11/2012 9:46 PM, Zach wrote:
    >>> If I absolutely position say an image, I can subsequently position
    >>> something relative to that image. However if I use <center> to position
    >>> the image, I don't seem to be able to relatively position something
    >>> relative to that image. How should I proceed if I wish to do that?

    >>
    >> You should not use the CENTER tag. You should use CSS.
    >>
    >> Unfortunately my CSS skills are not sufficient to say how to
    >> do what you want with CSS.


    > Yes, I did use css --- I used <center> once to position one element, and
    > positioned the subsequent element relative to the one centred element -
    > using css, I also used css for subsequent elements. However it doesn't
    > work. So now I am wondering, how, using CSS and relative positioning,
    > you can engineer the site in such a way that it centres when the screen
    > is maximised / minimised.


    Try replace the center tag with some CSS and ask the question
    in a HTML/CSS group.

    It is not ASP.NET specific so ant HTML/CSS expert should be
    able to help.

    Arne

    PS: The alternative to replacing the center tag is to put
    on the asbestos suit.
     
    Arne Vajhøj, May 12, 2012
    #3
  4. Arne Vajhøj

    Zach Guest

    "Arne Vajhøj" <> wrote in message
    news:4fadad04$0$295$...
    > On 5/11/2012 9:46 PM, Zach wrote:
    >> If I absolutely position say an image, I can subsequently position
    >> something relative to that image. However if I use <center> to position
    >> the image, I don't seem to be able to relatively position something
    >> relative to that image. How should I proceed if I wish to do that?

    >
    > You should not use the CENTER tag. You should use CSS.
    >
    > Unfortunately my CSS skills are not sufficient to say how to
    > do what you want with CSS.
    >
    > Arne
    >


    Arne,

    Yes, I did use css --- I used <center> once to position one element, and
    positioned the subsequent element relative to the one centred element -
    using css, I also used css for subsequent elements. However it doesn't work.
    So now I am wondering, how, using CSS and relative positioning, you can
    engineer the site in such a way that it centres when the screen is maximised
    / minimised.
    Regards,

    Zach.
     
    Zach, May 13, 2012
    #4
  5. Arne Vajhøj

    Zach Guest

    "Arne Vajhøj" <> wrote in message
    news:4faed98c$0$285$...
    > On 5/12/2012 7:24 PM, Zach wrote:
    >> "Arne Vajhøj" <> wrote in message
    >> news:4fadad04$0$295$...
    >>> On 5/11/2012 9:46 PM, Zach wrote:
    >>>> If I absolutely position say an image, I can subsequently position
    >>>> something relative to that image. However if I use <center> to position
    >>>> the image, I don't seem to be able to relatively position something
    >>>> relative to that image. How should I proceed if I wish to do that?
    >>>
    >>> You should not use the CENTER tag. You should use CSS.
    >>>
    >>> Unfortunately my CSS skills are not sufficient to say how to
    >>> do what you want with CSS.

    >
    >> Yes, I did use css --- I used <center> once to position one element, and
    >> positioned the subsequent element relative to the one centred element -
    >> using css, I also used css for subsequent elements. However it doesn't
    >> work. So now I am wondering, how, using CSS and relative positioning,
    >> you can engineer the site in such a way that it centres when the screen
    >> is maximised / minimised.

    >
    > Try replace the center tag with some CSS and ask the question
    > in a HTML/CSS group.
    >
    > It is not ASP.NET specific so ant HTML/CSS expert should be
    > able to help.
    >
    > Arne
    >
    > PS: The alternative to replacing the center tag is to put
    > on the asbestos suit.
    >
    >

    OK.

    PS Women don't want me dressed, and like the enter tag as it is.

    Zach
     
    Zach, May 14, 2012
    #5
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Rob R. Ainscough
    Replies:
    2
    Views:
    1,683
    Rob R. Ainscough
    Feb 7, 2006
  2. Fred Nelson
    Replies:
    1
    Views:
    2,502
    Christopher Reed
    Feb 21, 2006
  3. B. Clay

    Relative Positioning of a Point

    B. Clay, Mar 3, 2004, in forum: Java
    Replies:
    2
    Views:
    388
    Thomas Weidenfeller
    Mar 3, 2004
  4. Tom
    Replies:
    4
    Views:
    440
  5. Fredo Vincentis

    problems with relative positioning

    Fredo Vincentis, Nov 21, 2003, in forum: HTML
    Replies:
    4
    Views:
    741
    Leif K-Brooks
    Nov 22, 2003
Loading...

Share This Page