Zaloguj | Zarejestruj | FAQ
Anonymous

Website Creation

+ Odpowiedz

Posty: 31 1, 2, 3, 4


Re: Website Creation

przez HTML.net » Cz sie 11, 2011 10:40 am

gkonica napisał(a):And how should I get the text in centre, left, etc... which code is used, please advice....


You use CSS for that:

<p style="text-align: center;">Centered text</p>

- Andreas, HTML.net
Avatar użytkownika

HTML.net
Site Admin

  • Posty: 1194
  • Dołączył(a): So wrz 11, 2010 11:24 am
--
Show some love for HTML.net on Twitter, Facebook and Google: Use the buttons on top of all pages.

Re: Website Creation

przez gkonica » Cz sie 11, 2011 11:15 am

Even now it is not working..

<img src="images/logo.gif" />
Avatar użytkownika

gkonica

  • Posty: 28
  • Dołączył(a): Wt sie 09, 2011 5:41 am

Re: Website Creation

przez HTML.net » Cz sie 11, 2011 11:18 am

Put it in the same folder as the HTML file and try:

<img src="logo.gif" />

- Andreas, HTML.net
Avatar użytkownika

HTML.net
Site Admin

  • Posty: 1194
  • Dołączył(a): So wrz 11, 2010 11:24 am
--
Show some love for HTML.net on Twitter, Facebook and Google: Use the buttons on top of all pages.

Re: Website Creation

przez gkonica » Cz sie 11, 2011 11:33 am

Still it is not working:(
Avatar użytkownika

gkonica

  • Posty: 28
  • Dołączył(a): Wt sie 09, 2011 5:41 am

Re: Website Creation

przez HTML.net » Cz sie 11, 2011 11:39 am

Then there is some thing wrong with your image. How did you make the image? And did you save it as .gif (or just rename it)?

Try to follow the instructions in this lesson: http://html.net/tutorials/html/lesson9.php

- Andreas, HTML.net
Avatar użytkownika

HTML.net
Site Admin

  • Posty: 1194
  • Dołączył(a): So wrz 11, 2010 11:24 am
--
Show some love for HTML.net on Twitter, Facebook and Google: Use the buttons on top of all pages.

Re: Website Creation

przez gkonica » Cz sie 11, 2011 11:50 am

I have copied that logo from my church website and saved in HTML folder. And the file type is "jpeg file interchange Format". And can you pls tell me how to align the text... which code is used.
Avatar użytkownika

gkonica

  • Posty: 28
  • Dołączył(a): Wt sie 09, 2011 5:41 am

Re: Website Creation

przez gkonica » Cz sie 11, 2011 11:54 am

Now i have saved that photo in png file... and trying <img src="logo.png"/>, but still it is not working
Avatar użytkownika

gkonica

  • Posty: 28
  • Dołączył(a): Wt sie 09, 2011 5:41 am

Re: Website Creation

przez HTML.net » Cz sie 11, 2011 12:06 pm

Try <img src="logo.jpg" />

And align text like this:

<p style="text-align: center;">Centered text</p>

- Andreas, HTML.net
Avatar użytkownika

HTML.net
Site Admin

  • Posty: 1194
  • Dołączył(a): So wrz 11, 2010 11:24 am
--
Show some love for HTML.net on Twitter, Facebook and Google: Use the buttons on top of all pages.

Re: Website Creation

przez gkonica » Pt sie 12, 2011 4:50 am

Hi,

Please find the attached Image.. and I use the below code:
<img src="logo.jpg" />

I am not getting that image in the browser. pls help

Załączniki

  1. logo.jpg.jpg (6.02 KiB) Pobrane 2348 razy

Avatar użytkownika

gkonica

  • Posty: 28
  • Dołączył(a): Wt sie 09, 2011 5:41 am

Re: Website Creation

przez HTML.net » Pt sie 12, 2011 8:19 am

Hi gkonica

You have renamed the image "logo.jpg.jpg". Therefore, the code should be <img src="logo.jpg.jpg" />

In the future you should not change file extension by renaming the file - use instead a image editing program like IrfanView to change file type.

I hope it works now?

- Andreas, HTML.net
Avatar użytkownika

HTML.net
Site Admin

  • Posty: 1194
  • Dołączył(a): So wrz 11, 2010 11:24 am
--
Show some love for HTML.net on Twitter, Facebook and Google: Use the buttons on top of all pages.


+ Odpowiedz

1, 2, 3, 4