OutFront Forums
     Home    Register     Search      Help      Login    

Follow Us
On Facebook
On Twitter
RSS
Via Email

Recent Posts
Todays Posts
Most Active posts
Posts since last visit
My Recent Posts
Mark posts read

Sponsors
Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.
Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.
Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

 

Background image won't stay in center

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Microsoft FrontPage Help >> Background image won't stay in center
Page: [1]
 
cbfp656

 

Posts: 9
Joined: 11/4/2009
Status: offline

 
Background image won't stay in center - 11/4/2009 14:51:21   
I have a problem with my background on all my pages except the home page. They all want to slide left depending on the window size. I have tried a few different things but nothing has worked. Please help!!
d a v e

 

Posts: 4348
Joined: 7/24/2002
From: England (but live in Finland now)
Status: offline

 
RE: Background image won't stay in center - 11/4/2009 16:08:11   
url would be most helpful :)

_____________________________

David Prescott
Gekko web design

(in reply to cbfp656)
cbfp656

 

Posts: 9
Joined: 11/4/2009
Status: offline

 
RE: Background image won't stay in center - 11/4/2009 16:37:03   
Sorry forgot....I guess that would help huh
http://www.creativeflags.com/

(in reply to d a v e)
bobby

 

Posts: 11479
Joined: 8/15/1969
From: Seattle WA USA
Status: offline

 
RE: Background image won't stay in center - 11/4/2009 19:26:35   
To me it looks like your home page is the one that is out of whack.

In Firefox the image stays centered and butted up against the top button graphics. But back on the home page it moves to the left and drops down about 30 px or so... there is a gap between the buttons and the bg image.

_____________________________

Talk to your kittens about catnip, or someone else will.


:)

(in reply to cbfp656)
cbfp656

 

Posts: 9
Joined: 11/4/2009
Status: offline

 
RE: Background image won't stay in center - 11/5/2009 9:33:08   
In IE and Opera it is the opposite problem. I see my home page exactly how it should be but all the others the background image goes to the left depending on window size. Any suggestions?

(in reply to bobby)
EdgeAgain

 

Posts: 25
Joined: 7/9/2008
Status: offline

 
RE: Background image won't stay in center - 11/5/2009 15:13:00   
Looking at the code, it appears you are missing a statement in the body tag for each of the other pages.

The home page says

<body ; style="background-position:center; background-attachment:fixed; background-color:#000000; background-repeat:no-repeat; background-attachment:scroll" background="_themes/night-club/background2.jpg" bgcolor="#FFFFFF" text="#FFFFFF" link="#33CCFF" vlink="#FF0000" alink="#00FFFF">


But the others are missing the background-attachment:fixed;

<body ; style="background-postion:center; background-color:#000000; background-repeat:no-repeat" background="_themes/night-club/background2.jpg" bgcolor="#FFFFFF" text="#FFFFFF" link="#33CCFF" vlink="#FF0000" alink="#00FFFF">


That may be the problem.

It looks like you are using Frontpage 5.0, so I am not sure if you can edit the code in that program. But you could open up the file in Notepad and type in the missing words.

You may have better luck using another WYSIWYG html editor. Here are two that are free.
http://www.pagebreeze.com/index.html
http://www.coffeecup.com/free-editor/

I have never used them but they look similar the version of Frontpage I use (FP2003).

BTW - You should rethink using all those moving objects and scrolling text. Kinda rough on the eyes :)

Best of luck, Ed

(in reply to cbfp656)
cbfp656

 

Posts: 9
Joined: 11/4/2009
Status: offline

 
RE: Background image won't stay in center - 11/5/2009 15:17:53   
I did try that... the background then went straight up to the top and behind the buttons. So that didn't work. I can edit html in frontpage 5.0 so that isn't a problem. Do you have any other ideas? I keep looking over it and trying things but still can't seem to find the answer.

(in reply to EdgeAgain)
EdgeAgain

 

Posts: 25
Joined: 7/9/2008
Status: offline

 
RE: Background image won't stay in center - 11/5/2009 15:32:30   
It's hard to say really. FP 5.0 is adding a crazy amount of code that makes reading it difficult.

Your "store" page validated as HTML 4.01 Transitional

I would think one of those free programs I mentioned would add a lot less proprietary code and will make validating it much easier. Once you reduce the errors and warnings you will surely cull out the problem.

Ed

(in reply to cbfp656)
cbfp656

 

Posts: 9
Joined: 11/4/2009
Status: offline

 
RE: Background image won't stay in center - 11/5/2009 15:42:09   
I'll try it and see if that helps. Thanks.

(in reply to EdgeAgain)
EdgeAgain

 

Posts: 25
Joined: 7/9/2008
Status: offline

 
RE: Background image won't stay in center - 11/5/2009 16:43:18   
See the difference

http://www.edjean.com/test/creativeflags/contact_us.htm

Here's the above page validated HTML 4.01 Transitional

Note, I used DynamicDrive.com email riddler to create a javascript file for each of your emails. This helps cut down on spam

Ed


(in reply to cbfp656)
jurgen

 

Posts: 424
Joined: 1/9/2007
From: Castle Rock, Colorado
Status: offline

 
RE: Background image won't stay in center - 11/5/2009 18:26:50   
Your table height gives you the problem. Make the height constant on all pages. Your content changes with your pages. And than work on getting your clutter out of your code......

(in reply to EdgeAgain)
d a v e

 

Posts: 4348
Joined: 7/24/2002
From: England (but live in Finland now)
Status: offline

 
RE: Background image won't stay in center - 11/5/2009 23:03:17   
table height isn't valid html

_____________________________

David Prescott
Gekko web design

(in reply to jurgen)
cbfp656

 

Posts: 9
Joined: 11/4/2009
Status: offline

 
RE: Background image won't stay in center - 11/6/2009 9:26:38   
ok I am really a beginner at this and don't really understand all that you have said. I used FP because that is what this company had and I didn't need to know much html. Now with that said I am learning some stuff as I go so I need a little more explanation in order to understand what you are explaining to me.

(in reply to d a v e)
jurgen

 

Posts: 424
Joined: 1/9/2007
From: Castle Rock, Colorado
Status: offline

 
RE: Background image won't stay in center - 11/6/2009 10:10:29   
For a starter, your background image is pretty big, 1024 x 1000 px. If your table is smaller than 1000px the image is in the middle of the view port and will be cut of at the top and bottom. This can be fixed by assigning a row height in your table to keep it constant.

(in reply to cbfp656)
caz

 

Posts: 3742
Joined: 10/10/2001
From: Somewhere south of Chester, UK
Status: offline

 
RE: Background image won't stay in center - 11/6/2009 10:18:00   
I think that you need to look at some of the Frontpage tutorials on this site, especially those dealing with tables as you appear to need some background in order to understand what your helpers are saying to you.

FP tutorials

_____________________________

I remember when it took less than 4hrs to fly across the Atlantic.

(in reply to jurgen)
cbfp656

 

Posts: 9
Joined: 11/4/2009
Status: offline

 
RE: Background image won't stay in center - 11/6/2009 10:20:44   
Thanks I'll check it out!

(in reply to caz)
cbfp656

 

Posts: 9
Joined: 11/4/2009
Status: offline

 
RE: Background image won't stay in center - 11/6/2009 10:57:30   
I guess where I am lost is I don't have tables on all my pages. So to say my table is too large doesn't make sense to me when there isn't one.

(in reply to cbfp656)
jurgen

 

Posts: 424
Joined: 1/9/2007
From: Castle Rock, Colorado
Status: offline

 
RE: Background image won't stay in center - 11/6/2009 11:25:40   
Well buddy, just checked, ALL your pages are in tables......

(in reply to cbfp656)
cbfp656

 

Posts: 9
Joined: 11/4/2009
Status: offline

 
RE: Background image won't stay in center - 11/6/2009 12:24:40   
ok then there must be more than one meaning for tables. I'll keep on going throught the tutorials.

(in reply to jurgen)
treetopsranch

 

Posts: 1539
From: Cottage Grove, OR, USA
Status: offline

 
RE: Background image won't stay in center - 11/6/2009 13:19:27   
I just finished breakfast served on our kitchen table. :)

_____________________________

Don from TreeTops Ranch, Oregon

"I've got a taste for quality and luxury"


(in reply to cbfp656)
Page:   [1]

All Forums >> Web Development >> Microsoft FrontPage Help >> Background image won't stay in center
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts