Go Back  HTML Forums - Free Webmaster Forums and Help Forums > WEBSITE DEVELOPMENT > HTML / XHTML
User Name:
Password:
 

Reply
Thread Tools   Display Modes
  View First Unread
 
Old 11-01-2009, 12:22 PM
  #1
JohnnyScience
Hero (Level 10)
 
Join Date: Oct 2009
Posts: 91
iTrader: (0)
JohnnyScience is an unknown quantity at this point
Why does this background image have a huge black bar at the bottom?

Hey everyone, I'm trying to set my background image, but for some reason it has a large black bar at the bottom, where the pink gradient should actually start at the bottom so that you cant see the black bar?

I'm trying to upload my Index.html file, but when I do the image loader says that its not a valid file?

Any ideas?
JohnnyScience is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 11-01-2009, 12:38 PM
  #2
Pegasus
Mama Hen
 
Pegasus's Avatar
 
Join Date: Nov 2001
Location: 35º South of Santa Claus
Posts: 22,386
iTrader: (0)
Pegasus is a name known to allPegasus is a name known to allPegasus is a name known to allPegasus is a name known to allPegasus is a name known to allPegasus is a name known to all
You can upload the image or you can provide a link to the html file. Or you can just post the code. That would work, too.
__________________


Decaf is the root of all evil...
HTMLForums Awards 2008
Pegasus is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 11-01-2009, 12:52 PM
  #3
JohnnyScience
Hero (Level 10)
 
Join Date: Oct 2009
Posts: 91
iTrader: (0)
JohnnyScience is an unknown quantity at this point
Quote:
Originally Posted by Pegasus View Post
You can upload the image or you can provide a link to the html file. Or you can just post the code. That would work, too.
How do I provide a link to the html file on here so you guys can see how I'm putting it together?

And how/where would I upload the image that I'm using for the background image?
Attached Thumbnails
Click image for larger version

Name:	blacktopink.jpg
Views:	7
Size:	9.3 KB
ID:	10395  

Last edited by JohnnyScience : 11-01-2009 at 12:57 PM.
JohnnyScience is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 11-01-2009, 12:58 PM
  #4
Pegasus
Mama Hen
 
Pegasus's Avatar
 
Join Date: Nov 2001
Location: 35º South of Santa Claus
Posts: 22,386
iTrader: (0)
Pegasus is a name known to allPegasus is a name known to allPegasus is a name known to allPegasus is a name known to allPegasus is a name known to allPegasus is a name known to all
Just type in the address. It should automatically become a link. We'd need to see the entire page code, though, so we know what's at the foot of your page.
__________________


Decaf is the root of all evil...
HTMLForums Awards 2008
Pegasus is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 11-01-2009, 01:05 PM
  #5
JohnnyScience
Hero (Level 10)
 
Join Date: Oct 2009
Posts: 91
iTrader: (0)
JohnnyScience is an unknown quantity at this point
Quote:
Originally Posted by Pegasus View Post
Just type in the address. It should automatically become a link. We'd need to see the entire page code, though, so we know what's at the foot of your page.
But right now its just a file on my computer? I guess I dont understand?
JohnnyScience is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 11-01-2009, 01:11 PM
  #6
JohnnyScience
Hero (Level 10)
 
Join Date: Oct 2009
Posts: 91
iTrader: (0)
JohnnyScience is an unknown quantity at this point
You know now that I look at it, I just dont think the image is large enough to span the entire website & its starting to tile.

I've made the image larger in photoshop, but what is the most ideal height for me to make this background image so it doesnt tile.
JohnnyScience is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 11-01-2009, 01:21 PM
  #7
Pegasus
Mama Hen
 
Pegasus's Avatar
 
Join Date: Nov 2001
Location: 35º South of Santa Claus
Posts: 22,386
iTrader: (0)
Pegasus is a name known to allPegasus is a name known to allPegasus is a name known to allPegasus is a name known to allPegasus is a name known to allPegasus is a name known to all
Rather than make the image square, you could take one vertical pixel column, make it longer in the pink section, and use CSS to add it as a background. Like this:

<body style="background-image: url('image.jpgj'); repeat: repeat-y;">

Alternately, you could make the background colour of the page pink and just use a single vertical column of pixels set to repeat-y.
__________________


Decaf is the root of all evil...
HTMLForums Awards 2008

Last edited by Pegasus : 11-01-2009 at 01:25 PM.
Pegasus is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 11-01-2009, 01:27 PM
  #8
JohnnyScience
Hero (Level 10)
 
Join Date: Oct 2009
Posts: 91
iTrader: (0)
JohnnyScience is an unknown quantity at this point
Quote:
Originally Posted by Pegasus View Post
Rather than make the image square, you could take one vertical pixel column, make it longer in the pink section, and use CSS to add it as a background. Like this:

<body style="background-image: url('image.jpgj'); repeat: repeat-y;">
Right now I'm just setting up a single splash page with just 2 email links on it and a single logo/image on top of the background, so I dont know if the CSS code will work for me now will it?

I dont understand photoshop enough to do the vertical pixel column, but what I did was change the size to 950 height which made the width 1013.

I guess it seemed to work now?

I made a zip of the html file & the image. Let me know if it works.

Thanks.
Attached Files
File Type: zip PunkRockPrincess.com.zip (4.5 KB, 4 views)
JohnnyScience is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 11-01-2009, 02:02 PM
  #9
Pegasus
Mama Hen
 
Pegasus's Avatar
 
Join Date: Nov 2001
Location: 35º South of Santa Claus
Posts: 22,386
iTrader: (0)
Pegasus is a name known to allPegasus is a name known to allPegasus is a name known to allPegasus is a name known to allPegasus is a name known to allPegasus is a name known to all
Okay, try this
Attached Files
File Type: zip PunkRockPrincess.com.zip (6.7 KB, 3 views)
__________________


Decaf is the root of all evil...
HTMLForums Awards 2008
Pegasus is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 11-01-2009, 02:13 PM
  #10
JohnnyScience
Hero (Level 10)
 
Join Date: Oct 2009
Posts: 91
iTrader: (0)
JohnnyScience is an unknown quantity at this point
Quote:
Originally Posted by Pegasus View Post
Okay, try this
Ok so I see the image you made blacktopink2 - what does this small little strip actually do?

And what do I do with this .ds_Store? I've never seen a file like that before?

Step 2:

Now I have my logo that I want to put in the top middle, I did:

<img src="blackglow.jpg" />

But how do I center it to the top middle? Doesnt it look a bit off? Did I put it in the right section?

Also I was able to get the link for models@punkrockprincess.com to work, but why wasnt the email for the photographers.com showing up?

I've attached the new zip with the new logo in it.[ATTACH]Attachment 10398[/ATTACH]
Attached Files
File Type: zip PunkRockPrincess.com (2).zip (160.9 KB, 3 views)

Last edited by JohnnyScience : 11-01-2009 at 02:24 PM.
JohnnyScience is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 11-01-2009, 02:17 PM
  #11
Pegasus
Mama Hen
 
Pegasus's Avatar
 
Join Date: Nov 2001
Location: 35º South of Santa Claus
Posts: 22,386
iTrader: (0)
Pegasus is a name known to allPegasus is a name known to allPegasus is a name known to allPegasus is a name known to allPegasus is a name known to allPegasus is a name known to all
.ds_Store you can ignore/delete. I think it's a Mac thing. That small strip is what makes your background. It tiles left to right only and the pink is the background colour.

Here's the code for centering the image. You might want to make it about 300px smaller, though. Just to make sure it fits on most browsers without scrolling. It also makes the image a bit smaller as far as filesize goes and that makes it faster to load. Same with the difference between the strip of the background and the large background you had.

Your second link doesn't work because there's no text in between the tags.
Attached Files
File Type: zip PunkRockPrincess2.com.zip (161.9 KB, 4 views)
__________________


Decaf is the root of all evil...
HTMLForums Awards 2008

Last edited by Pegasus : 11-01-2009 at 02:35 PM.
Pegasus is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 11-01-2009, 02:25 PM
  #12
JohnnyScience
Hero (Level 10)
 
Join Date: Oct 2009
Posts: 91
iTrader: (0)
JohnnyScience is an unknown quantity at this point
Quote:
Originally Posted by Pegasus View Post
.ds_Store you can ignore/delete. I think it's a Mac thing. That small strip is what makes your background. It tiles left to right only and the pink is the background colour.
So what is the benefit of using just that little strip & having it tiling vs. having just one large image?

Also, I just updated the latest .zip file to include the hyperlink emails I'm trying to make active, yet I am having issues with one of them.
JohnnyScience is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 11-01-2009, 02:51 PM
  #13
Pegasus
Mama Hen
 
Pegasus's Avatar
 
Join Date: Nov 2001
Location: 35º South of Santa Claus
Posts: 22,386
iTrader: (0)
Pegasus is a name known to allPegasus is a name known to allPegasus is a name known to allPegasus is a name known to allPegasus is a name known to allPegasus is a name known to all
Your second link doesn't work because you haven't added any text between the <a> and </a> tags.
__________________


Decaf is the root of all evil...
HTMLForums Awards 2008
Pegasus is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 11-01-2009, 02:57 PM
  #14
JohnnyScience
Hero (Level 10)
 
Join Date: Oct 2009
Posts: 91
iTrader: (0)
JohnnyScience is an unknown quantity at this point
Quote:
Originally Posted by Pegasus View Post
.ds_Store you can ignore/delete. I think it's a Mac thing. That small strip is what makes your background. It tiles left to right only and the pink is the background colour.

Here's the code for centering the image. You might want to make it about 300px smaller, though. Just to make sure it fits on most browsers without scrolling. It also makes the image a bit smaller as far as filesize goes and that makes it faster to load. Same with the difference between the strip of the background and the large background you had.

Your second link doesn't work because there's no text in between the tags.
Ok awesome, I fixed the link too and added some other stuff.

Now all I need to do is get the text size & color to work, what am I doing wrong?

I do want to resize the picture, probably to at least half of what it is now, where/how is the best way to do that?

I've attached the updated zip file.

Thanks.
Attached Files
File Type: zip PunkRockPrincess2.com.zip (160.6 KB, 3 views)
JohnnyScience is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 11-01-2009, 03:28 PM
  #15
Pegasus
Mama Hen
 
Pegasus's Avatar
 
Join Date: Nov 2001
Location: 35º South of Santa Claus
Posts: 22,386
iTrader: (0)
Pegasus is a name known to allPegasus is a name known to allPegasus is a name known to allPegasus is a name known to allPegasus is a name known to allPegasus is a name known to all
You had the colour as starting with the letter O rather than the number 0. Here's an updated version of the page. I've resized the image using Photoshop. Let me know if that's small enough. It's 900x156px, or 1/2 the size of the original. I can take it down to 1/4 of the size if you prefer.
Attached Files
File Type: zip PunkRockPrincess3.com.zip (121.7 KB, 3 views)
__________________


Decaf is the root of all evil...
HTMLForums Awards 2008
Pegasus is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote

Reply
KEEP TABS
SPONSORS
 
Boxedart



 
 


 
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
  
 
 
 



 
  POSTING RULES
 
 
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Thread Tools
Display Modes

Forum Jump

 

All times are GMT -5. The time now is 07:33 AM.

   

Mascot team created by Drawshop.com

Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.

Server Monitoring by ENIACmonitor 0.01
HTMLforums.com © Big Resources, Inc. Web Design by BoxedArt.com
vRewrite 1.5 beta SEOed URLs completed by Tech Help Forum and Chalo Na.