html image in wrong place?!

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • dean023
    Second Lieutenant

    • Jun 2005
    • 148

    html image in wrong place?!

    I have a problem with the positioning of the html images which is confusing.

    I have a html script for the info buttons...



    the top info button is in the position in the page before publishing
    the next two are placed in cells below but when published appear lower and to the right.

    can you help me to locate them in the right cell as i can't progress until this sorted as it effects my future pages aswell as this one.

    a very fustrated
    deano :(
    www.nativeskins.co.uk
  • VodaHost
    General & Forum Administrator

    • Mar 2005
    • 12356

    #2
    Re: html image in wrong place?!

    When you say "HTML Image" what do you mean? How are you adding the images
    to your page? I assume you are talking about the two below images.



    and



    Am I correct? There is no such thing as an "HTML Image".

    VodaHost

    Your Website People!
    1-302-283-3777 North America / International
    02036089024 / United Kingdom
    291916438 / Australia

    ------------------------

    Top 3 Best Sellers

    Web Hosting - Unlimited disk space & bandwidth.

    Reseller Hosting - Start your own web hosting business.

    Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)


    Comment

    • Watdaflip
      Major General

      • Sep 2005
      • 2116

      #3
      Re: html image in wrong place?!

      I think he is refering to this


      If not... disregaurd this post

      Register/Login Script
      Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script

      Comment

      • dean023
        Second Lieutenant

        • Jun 2005
        • 148

        #4
        Re: html image in wrong place?!

        Yes thats what i mean.

        when i say html image i mean the image reffered to in the html code (of which my knowledge is very very limited!)

        this is the code for the first info image:-

        <DIV style="position:absolute; left:1px; top:1px; width:1px; height:1px; z-index:0" align="left" align="top">
        <a href="http://www.electricalwholesaler.org.uk/t5grill.html" onclick="NewWindow(this.href,'message','700','600' ,'yes','center');return false" onfocus="this.blur()"><img src="http://www.electricalwholesaler.org.uk/1ainfo.jpg" align="top" border=1 width=41 height=41></a>

        this one appears in the same position as my bv page - i.e where i've put the html script box

        I then copied the script for the next info button and it is not in the correct place.

        I've since played with the position px but there doesn't to seem to be any logic to the figures?
        www.nativeskins.co.uk

        Comment

        • VodaHost
          General & Forum Administrator

          • Mar 2005
          • 12356

          #5
          Re: html image in wrong place?!

          Try adding it as an image and hyperlink the image the destination page. Too much code on one page is very bad. Causes conflicts some times.

          VodaHost

          Your Website People!
          1-302-283-3777 North America / International
          02036089024 / United Kingdom
          291916438 / Australia

          ------------------------

          Top 3 Best Sellers

          Web Hosting - Unlimited disk space & bandwidth.

          Reseller Hosting - Start your own web hosting business.

          Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)


          Comment

          • dean023
            Second Lieutenant

            • Jun 2005
            • 148

            #6
            Re: html image in wrong place?!

            Originally posted by VodaHost
            Try adding it as an image and hyperlink the image the destination page. Too much code on one page is very bad. Causes conflicts some times.
            I can do that no problem. the whole point of this is to achieve a small window for the product as this looks alot better and more professional.

            if i put code to all the info buttons will it not work?
            www.nativeskins.co.uk

            Comment

            • VodaHost
              General & Forum Administrator

              • Mar 2005
              • 12356

              #7
              Re: html image in wrong place?!

              dont't know....just add the pics and set your target to _blank..this will open a
              new browser window, you can not have so much Java script on one page and
              not expect problems.

              VodaHost

              Your Website People!
              1-302-283-3777 North America / International
              02036089024 / United Kingdom
              291916438 / Australia

              ------------------------

              Top 3 Best Sellers

              Web Hosting - Unlimited disk space & bandwidth.

              Reseller Hosting - Start your own web hosting business.

              Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)


              Comment

              • dean023
                Second Lieutenant

                • Jun 2005
                • 148

                #8
                Re: html image in wrong place?!

                Originally posted by VodaHost
                dont't know....just add the pics and set your target to _blank..this will open a
                new browser window, you can not have so much Java script on one page and
                not expect problems.
                ok.
                i'll give it ago first.... seems to be working so far!
                i can always revert back to a full window if it does like it.

                cheers for your help. i'll let you know!
                deano
                www.nativeskins.co.uk

                Comment

                Working...
                X