Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    New to the CF scene
    Join Date
    Jul 2011
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    after a absolute positioned image, how the following text position relative

    after a absolute positioned image, how to set the following text position relative

    <img src="logo.jpg" style="position:absolute; border:none; width: 312px; height: 28px; left:10%; margin-top:1em" alt="logo" />

    command line follows as relative position immedaitely after this image

    thank you for your advice.
    Last edited by hjl1999; 07-27-2011 at 01:35 AM.

  • #2
    Registered User
    Join Date
    Jun 2011
    Posts
    1,063
    Thanks
    12
    Thanked 241 Times in 240 Posts
    Quote Originally Posted by hjl1999 View Post
    after a absolute positioned image, how to set the following text position relative

    <img src="logo.jpg" style="position:absolute; border:none; width: 312px; height: 28px; left:10%; margin-top:1em" alt="logo" /></a>

    test lines.

    thank you for your advice.
    ?

    you started with an img tag but ended with an a

  • #3
    Regular Coder
    Join Date
    Jul 2011
    Location
    India
    Posts
    496
    Thanks
    3
    Thanked 57 Times in 56 Posts
    Share full code (means code of related elements)

  • #4
    New to the CF scene
    Join Date
    Jul 2011
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I have several absolute position images. I want to put some relatively position text lines immediately follows one particular image.

    After I absolutely positioned all my images, how do I code so that css / html to relatively position all my following texts?

  • #5
    Regular Coder
    Join Date
    Jul 2011
    Location
    India
    Posts
    496
    Thanks
    3
    Thanked 57 Times in 56 Posts
    Quote Originally Posted by hjl1999 View Post
    I have several absolute position images. I want to put some relatively position text lines immediately follows one particular image.

    After I absolutely positioned all my images, how do I code so that css / html to relatively position all my following texts?

    Then you need to use floating instead of absolute positioning ...

  • #6
    New to the CF scene
    Join Date
    Jul 2011
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    ok, if I am to use floating, how should I code the image positioning in OP?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •