Reply
Background image will not display
Old 11-02-2009, 10:57 PM Background image will not display
Novice Talker

Posts: 5
Name: Mark Howard
Trades: 0
Website is www.nzmotorhome.co.nz
I have an hnav.gif that does not display.
CSS is here:
Code:
.hnav
{
    background-image:url("/images/hnav.gif") repeat-x;
    padding-left:40px;
    text-align: left;
I have checked:
1. This code is being executed as I can change the background here to green and it does this.
2. the image file is in /public_html/images/hnav.gif
3. if I place another .gif image there, that does not display either.

The image should look as it does in the Forum page. It is missing on all other pages.

What is the best way to home in on what this problem is?
I have same problem on localhost.

It all worked 2 days ago

Last edited by MarkHoward; 11-02-2009 at 10:58 PM..
MarkHoward is offline
Reply With Quote
View Public Profile
 
 
When You Register, These Ads Go Away!
Old 11-03-2009, 03:25 AM Re: Background image will not display
chrishirst's Avatar
Super Moderator

Posts: 22,281
Location: Blackpool. UK
Trades: 0
Clear your browser cache.

'cos it is still working (as I posted at WLC) for me.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Growing old is mandatory - Growing up is optional
Code Samples | People Counting System | Bits & Bobs
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 11-03-2009, 03:43 AM Re: Background image will not display
Novice Talker

Posts: 5
Name: Mark Howard
Trades: 0
I've cleared the cache in both Fx and Chrome and it is still not showing for me as it should. Are you able to show a screen-shot here? or should I give my email address for you to send it to me?
MarkHoward is offline
Reply With Quote
View Public Profile
 
Old 11-03-2009, 03:54 AM Re: Background image will not display
chrishirst's Avatar
Super Moderator

Posts: 22,281
Location: Blackpool. UK
Trades: 0
Np

motorhome-nz.png
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Growing old is mandatory - Growing up is optional
Code Samples | People Counting System | Bits & Bobs
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 11-03-2009, 05:58 AM Re: Background image will not display
Novice Talker

Posts: 5
Name: Mark Howard
Trades: 0
Quote:
Originally Posted by "MarkHoward
The image should look as it does in the Forum page. It is missing on all other pages.
Yes, that is the Forum page, which IS working. The problem is with every other page on the website.
MarkHoward is offline
Reply With Quote
View Public Profile
 
Old 11-03-2009, 06:06 AM Re: Background image will not display
chrishirst's Avatar
Super Moderator

Posts: 22,281
Location: Blackpool. UK
Trades: 0
Well seeing as the "home" page redirects to the forum page and the forum is then the root of the site, it seems natural to take it as that is what you are talking about.

SO... Where is the page that ISN'T working then??
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Growing old is mandatory - Growing up is optional
Code Samples | People Counting System | Bits & Bobs
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 11-03-2009, 06:09 AM Re: Background image will not display
chrishirst's Avatar
Super Moderator

Posts: 22,281
Location: Blackpool. UK
Trades: 0
redirects using javascript as well, which is no good for accessibility or search engines.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Growing old is mandatory - Growing up is optional
Code Samples | People Counting System | Bits & Bobs
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 11-03-2009, 06:10 AM Re: Background image will not display
Novice Talker

Posts: 5
Name: Mark Howard
Trades: 0
Quote:
The image should look as it does in the Forum page. It is missing on all other pages.
Every single page EXCEPT the forum page does not display the image.
MarkHoward is offline
Reply With Quote
View Public Profile
 
Old 11-03-2009, 06:41 AM Re: Background image will not display
chrishirst's Avatar
Super Moderator

Posts: 22,281
Location: Blackpool. UK
Trades: 0
Just put some CONTENT in where it isn't showing And set the WIDTH!!!

If it doesnt have a WIDTH IT CAN'T SHOW ANYTHING!!!!!!!
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Growing old is mandatory - Growing up is optional
Code Samples | People Counting System | Bits & Bobs

Last edited by chrishirst; 11-03-2009 at 06:42 AM..
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 11-03-2009, 06:46 AM Re: Background image will not display
chrishirst's Avatar
Super Moderator

Posts: 22,281
Location: Blackpool. UK
Trades: 0
Just to CLEAR THE FLOATS as well THAT is why the parent has collapsed.

You have so many silly and pointless HACKS in your style sheets it's a wonder anything works ate.

For goodness sake clean it up IE5 on mac is LONG dead and targeting NN4?????

How old are the stylesheets you started with?????
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Growing old is mandatory - Growing up is optional
Code Samples | People Counting System | Bits & Bobs
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 11-03-2009, 07:59 AM Re: Background image will not display
Novice Talker

Posts: 13
Name: Jayesh Khandor
Trades: 0
Better try some other formate like .png or .jpg
designer5 is offline
Reply With Quote
View Public Profile
 
Old 11-03-2009, 10:01 PM Re: Background image will not display
Novice Talker

Posts: 5
Name: Mark Howard
Trades: 0
Chris
I regret I incurred your wrath. I am not a programmer but an old guy trying to get something, that is a bit - maybe, a lot, beyond me.
Maybe I picked some examples that were not a pure as you would like, but they were working for me.
If you had read my posts carefully, to begin with, you would probably not have wasted so much of your time.
I have since been courteously given a solution on another forum.
I won't bother you again.
MarkHoward is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Background image will not display
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 



Page generated in 0.43579 seconds with 14 queries