31 users online (1 members and 30 guests)  


  Results 1 to 4 of 4

Related

  1. Replies: 1
  2. HTML images repeating    Forum: HTML Forum
    Replies: 7
  3. Replies: 7
  4. Replies: 4
  5. images images...    Forum: HTML Forum
    Replies: 1
  1. #1
    ozshazz's Avatar
    New User

    Status
    Offline
    Join Date
    Sep 2006
    Posts
    2

    html for images - help please

    hi,
    i am a newbie to building websites and i had a little help getting our website up and running but am now on my own and am stuck with my image & background images not displaying correctly on one of my pages.
    as this is a password protected site or will be when it is set up, i created another index.html page to go in this directory as my host states that this is required to get the password gate working.
    Anyway, the URL is http://littlemissladybird.com/familyandfriends/index.html
    i have set up a temporary username and password so u can view this page to be able to see the source coding etc...... username is: test101 password 101
    thankyou for your help,
    ozshazz

  2. #2
    DeadMeatGF's Avatar
    Moderator

    Status
    Offline
    Join Date
    Sep 2005
    Posts
    381

    Re: html for images - help please

    Can you explain how it should be and where exactly the problem is - as it's kind of tricky to see where the problem lies.
    I did notice that towards the bottom of the page you've missed the opening "<img" off an <img> tag:
    Code:
    src="images/sp4cl36a.gif" width="123" height="131">
    and there are a lot of &nbsp; in there - not sure what they're doing - are they there for a reason?

  3. #3
    ozshazz's Avatar
    New User

    Status
    Offline
    Join Date
    Sep 2006
    Posts
    2

    Re: html for images & counter question

    Hi there,
    thankyou for your reply, i have finally been able to get the images to work. Regarding the Nbsp's, i wouldnt have a clue, lol!!! I just created the page in front page express and uploaded to server. What are nbsp's????? Is it bad to have too many of them? can i just delete some of them?
    Also another quick question i have a counter on my home page http://www.littlemissladybird.com
    it is from the company stat counter and i just configured and copy and pasted it on the homepage only problem it is down the bottom on the "left" hand side on the teddybear border which runs down that side, not easily seen, i have tried to get it in the center but to no avail.
    Is the coding on the stat counter requiring it to be centered? or is this something i have to add to the html coding? if so what do i pop in there to center it?
    thankyou,
    ozshazz

  4. #4
    DeadMeatGF's Avatar
    Moderator

    Status
    Offline
    Join Date
    Sep 2005
    Posts
    381

    Re: html for images & counter question

    An nbsp is a non breaking space.
    If you put more than one consecutive space into a webpage, the browser will ignore all but the first - a nbsp will allow you to put multiple spaces, and will also prevent the text "breaking" onto a new line at that point.

    You should be able to centre the counter using <center>...</center> as long as you put the tags around the right bit of code.
    I'd try (after making a backup, of course) going to the end of your code and changing:
    Code:
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    
    <a href="http://www.TickerFactory.com/">
    <img border="0" src="event.gif" width="419" height="74"></a>
    for
    Code:
    <center>
    <a href="http://www.TickerFactory.com/">
    <img border="0" src="event.gif" width="419" height="74"></a>
    </center>
    Last edited by DeadMeatGF; 09-14-2006 at 03:17 AM.



Tags for this Thread