| View previous topic :: View next topic |
| Author |
Message |
SellOutChick
Joined: 15 Apr 2005 Posts: 1
|
Posted: Fri Apr 15, 2005 1:20 pm Background Images |
|
|
|
I was wondering... I'm not able to use the CSS way of placing images as a background on tables, because it's to put on a website where I don't have access to the head tags... If that makes sense.
Anyhoo, on the main site here it says there was an old-fashioned way of doing it all by HTML. Would someone please be able to share with me?  |
|
Corey Bryant

Joined: 15 May 2004 Posts: 8154 Location: Castle Rock CO USA
|
Posted: Fri Apr 15, 2005 3:12 pm |
|
|
|
|
You can try:
| Code: |
<table border="1" width="100%" background="black.jpg">
<tr>
<td> </td>
</tr>
</table> |
or use inline styles:
| Code: |
<table border="0" width="100%" style="background-image: url('black.jpg');">
<tr>
<td> </td>
</tr>
</table> |
|
|
Panza_02
Joined: 24 Apr 2005 Posts: 7
|
Posted: Sun Apr 24, 2005 4:01 am |
|
|
|
| ok... I'm very new to html (yesterday) how do I get my images to display. I type the src= as the path name of the image i want. It displays if I open the document with windows, but over the net it won't. Do I need to upload the images to an ftp somewhere? The same thing happens for background images too. If I open the document it will display, but not over the net. |
|
Corey Bryant

Joined: 15 May 2004 Posts: 8154 Location: Castle Rock CO USA
|
Posted: Sun Apr 24, 2005 4:07 am |
|
|
|
| Panza_02 wrote: |
| ok... I'm very new to html (yesterday) how do I get my images to display. I type the src= as the path name of the image i want. It displays if I open the document with windows, but over the net it won't. Do I need to upload the images to an ftp somewhere? The same thing happens for background images too. If I open the document it will display, but not over the net. |
Yes - you need to have your images on your website or another website / server to be seen on the internet |
|
Panza_02
Joined: 24 Apr 2005 Posts: 7
|
Posted: Sun Apr 24, 2005 4:13 am |
|
|
|
| thanx, so do i just put <img src=www.domain.com/image.jpg alt=image> ? |
|
Corey Bryant

Joined: 15 May 2004 Posts: 8154 Location: Castle Rock CO USA
|
Posted: Sun Apr 24, 2005 4:18 am |
|
|
|
Take a look at HTML images
| Code: |
| img src="http://www.domain.com/image.jpg" alt="image"> |
or assuming that the HTML is in the root and your image is in the images folder:
| Code: |
| img src="images/image.jpg" alt="image"> |
|
|
Panza_02
Joined: 24 Apr 2005 Posts: 7
|
Posted: Sun Apr 24, 2005 4:21 am |
|
|
|
| root? what folder is this? is it just a folder in my documents.... i did all the stuff in the tutorial but it still didn't make sense to me... my friend is having a go with a web page editor. |
|
Corey Bryant

Joined: 15 May 2004 Posts: 8154 Location: Castle Rock CO USA
|
Posted: Sun Apr 24, 2005 4:29 am |
|
|
|
You will need to study a lot about HTML. The root usually means is where all your web pages / images are placed, for example, you might be placing them on a server in something like D:\domains\example.com\wwwroot\index.html & then when you type in http://www.example.com - that index.html will show up.
How Web Pages Work might be able to help explain in more detail. But remember, your local is not your server. |
|
Panza_02
Joined: 24 Apr 2005 Posts: 7
|
Posted: Sun Apr 24, 2005 3:40 pm |
|
|
|
| yeah, i uploaded all my pages onto a free host. |
|
Corey Bryant

Joined: 15 May 2004 Posts: 8154 Location: Castle Rock CO USA
|
Posted: Sun Apr 24, 2005 3:42 pm |
|
|
|
| You can try their support to see what their architecture might be. Look thru your FTP site and see if you put all the images in the same root folder or did you create a folder called images? |
|
Panza_02
Joined: 24 Apr 2005 Posts: 7
|
Posted: Sun Apr 24, 2005 4:05 pm |
|
|
|
| I don't have an ftp site........ I am so lost. |
|
Corey Bryant

Joined: 15 May 2004 Posts: 8154 Location: Castle Rock CO USA
|
Posted: Sun Apr 24, 2005 4:08 pm |
|
|
|
| How do you get your web page(s) and image(s) on your website? Where did you place you image(s) in relationship to the webpage you are working on? |
|
Panza_02
Joined: 24 Apr 2005 Posts: 7
|
Posted: Sun Apr 24, 2005 4:15 pm |
|
|
|
i created my html files... and then uploaded them onto cjb.net.
Any image tags i put in there don't show up, so i took them out. |
|
Corey Bryant

Joined: 15 May 2004 Posts: 8154 Location: Castle Rock CO USA
|
Posted: Sun Apr 24, 2005 4:18 pm |
|
|
|
| Where did you place you image(s) in relationship to the webpage you are working on? |
|
Panza_02
Joined: 24 Apr 2005 Posts: 7
|
Posted: Sun Apr 24, 2005 4:20 pm |
|
|
|
| in the same folder. (like "My Documents/webpage") |
|
|