Image Confusion :3
Page 1 of 1
Image Confusion :3
Hi, Let me introduce my self. My name is William, I am New to all this computer coding and, I will be making a website. Here's my question; When I use the image code, for HTML, It apears as a small box, as if the image didn't load? The code I used for the image was this: <img src="html.net.png" alt="Logo" /> . As I am new, I am using your logo for a test to see if I do it right and it occurs every time I write the code. I used, Image hosting and the image apeared when it did the HTML code, but when I do it it doesn't work. :L Have I done something wrong? If you have a solution or comment, please do reply back to this. Thanks -WilliamRe: Image Confusion :3
NeverMind, Reading the problems everyone has with Images, I discoved my mistake. Thanks for helping :)Re: Image Confusion :3
My mistake was as you said in a differnt thread that the image needs to be in the same file as HTML doc and CSS style sheet. Well, I do have other problems with Images too, Such as, Certain images I use when i do graphic design (Pixel Art) the image is small so it uses the page. Can I fix it by making the page the same colour as the Background-Color, Or is there a differnt way to fix the problem. :)When it comes time I will make posts on PHP forum cause I got questions.. Bye for now! -William
Re: Image Confusion :3
Its ok, I solved the problem! :) New Problem** Heres the code I used: body {background-color: #66FFCC;
background-image: url ("hawaiian.jpg");
background-repeat: no-repeat;
background-attachment: scroll;
background-position: right bottom;
}
For the CSS style sheet. The image was hawaiian.jpg and none of the code worked exept for "background-color: #66FFCC;". I don't understand why it isn't working for this picture, However it did work for the last picture that I used. Is something wrong in the code?
Re: Image Confusion :3
Please tell me is your CSS file and image file is in same directory ?Re: Image Confusion :3
They Are. Cause everything but the background-image, background-position and background-repeat, work. I don't understand why this doesn't work.Re: Image Confusion :3
ok ThanksRe: Image Confusion :3
Thanks, So much for the help. :) I think I got it now :)Page 1 of 1