Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Nov 13th, 2005, 5:55 PM   #1
Obtruse_Man4
Programmer
 
Obtruse_Man4's Avatar
 
Join Date: Sep 2005
Location: PA, USA
Posts: 49
Rep Power: 0 Obtruse_Man4 is on a distinguished road
footer won't center

For once I can get something to work in IE but not firefox. My footer on my site www.farsideofthegalaxy.com won't center in firefox. I've tried <center> tags, <div align="center">, and several other things and can't seem to get it to work. What am I doing wrong? Usually firefox displays my code perfectly.

Also while I'm at it, any suggestions on a background color for the body of my site? I want to distinguish the width of 720px in the center from the white on either side. I'm not sure about borders, was thinking of just changing the background color. Any color suggestions? Gray? Pale green? Would appreciate the help, thanks!
__________________
"I have many layer-eight problems in my life, including myself."
Obtruse_Man4 is offline   Reply With Quote
Old Nov 13th, 2005, 6:03 PM   #2
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
There is no intent to piss you off, here. Your "footer" is not a footer. It's just an element floating at the bottom of the document. I haven't looked at centering it.

Stylistic issues, such as color or background, are strictly dependent upon the impression you wish to convey. Businesslike? High-dollar? Flashy and attention getting (easy to overdo)? Surf to sites you think are similar. Many good sites get it wrong technically, behind the scenes, but right in terms of presentation. For instance, a top-of-the-line impression is given by the Lexus site. You see what I mean.

EDIT: One can't see your style sheet without going to the trouble of ripping it, but if you break the footer loose from the remainder of the presentation, you can hardly expect it to conform to those attributes.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Nov 13th, 2005, 6:04 PM   #3
Agent 47
Hobbyist Programmer
 
Agent 47's Avatar
 
Join Date: Nov 2005
Posts: 122
Rep Power: 3 Agent 47 is on a distinguished road
Looks centered to me...
__________________
"I'm going to become rich and famous when I invent a device that allows you to stab people in the face over the internet"
Agent 47 is offline   Reply With Quote
Old Nov 13th, 2005, 6:15 PM   #4
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Agent 47, in my Firefox 1.0.7, it's floating at the bottom of the document, at the left. 'Scuse the compression to approx. 20K.
Attached Images
File Type: jpg footer.jpg (20.3 KB, 33 views)
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Nov 13th, 2005, 6:26 PM   #5
iignotus
Professional Programmer
 
iignotus's Avatar
 
Join Date: Apr 2005
Location: Nowhere Special
Posts: 466
Rep Power: 4 iignotus is on a distinguished road
Send a message via AIM to iignotus
My firefox 1.0.6 has it centered and floating.
__________________
% rc4 hexkey < input > output
#define S ,t=s[i],s[i]=s[j],s[j]=t /* rc4 hexkey <file */
unsigned char k[256],s[256],i,j,t;main(c,v,e)char**v;{++v;while(++i)s[ 
i]=i;for(c=0;*(*v)++;k[c++]=e)sscanf((*v)++-1,"%2x",&e);while(j+=s[i]
+k[i%c]S,++i);for(j=0;c=~getchar();putchar(~c^s[t+=s[i]]))j+=s[++i]S;}
iignotus is offline   Reply With Quote
Old Nov 13th, 2005, 6:31 PM   #6
Justin Case
Newbie
 
Justin Case's Avatar
 
Join Date: Aug 2005
Location: In the void between my two monitors...
Posts: 15
Rep Power: 0 Justin Case is on a distinguished road
Send a message via AIM to Justin Case
same with my firefox 1.0.6

... and for color... a light light green, or just keep it white
__________________
... after all, we're all alike.
Justin Case is offline   Reply With Quote
Old Nov 13th, 2005, 6:35 PM   #7
bja888
Hobbyist Programmer
 
bja888's Avatar
 
Join Date: Oct 2005
Location: Central, FL
Posts: 213
Rep Power: 0 bja888 is an unknown quantity at this point
Send a message via AIM to bja888 Send a message via Yahoo to bja888
Color tool
I would go with #F0FFD1 and add a 2px beval or drop shadow to the sides.

Centers fine for me in firefox.
EDIT: version 1.0.7
bja888 is offline   Reply With Quote
Old Nov 13th, 2005, 6:57 PM   #8
Obtruse_Man4
Programmer
 
Obtruse_Man4's Avatar
 
Join Date: Sep 2005
Location: PA, USA
Posts: 49
Rep Power: 0 Obtruse_Man4 is on a distinguished road
DaWei no offense taken, I appreciate your help. I actually figured it out since I posted this. I think my css is a little messy, because some it seems to be conflicting. I think I'm overriding my own code in some instances. My "footer" is centered now, but still need background color. Any suggestions?
__________________
"I have many layer-eight problems in my life, including myself."
Obtruse_Man4 is offline   Reply With Quote
Old Nov 13th, 2005, 7:03 PM   #9
Agent 47
Hobbyist Programmer
 
Agent 47's Avatar
 
Join Date: Nov 2005
Posts: 122
Rep Power: 3 Agent 47 is on a distinguished road
Quote:
Originally Posted by DaWei
Agent 47, in my Firefox 1.0.7, it's floating at the bottom of the document, at the left. 'Scuse the compression to approx. 20K.
Using FF 1.5 Beta 2:
Attached Images
File Type: gif Image1.gif (23.0 KB, 29 views)
__________________
"I'm going to become rich and famous when I invent a device that allows you to stab people in the face over the internet"
Agent 47 is offline   Reply With Quote
Old Nov 13th, 2005, 7:06 PM   #10
Obtruse_Man4
Programmer
 
Obtruse_Man4's Avatar
 
Join Date: Sep 2005
Location: PA, USA
Posts: 49
Rep Power: 0 Obtruse_Man4 is on a distinguished road
Yeah I'm constantly changing it, sorry. bja888 might just have something. Anyone else like it? Takes a bit getting used to...

__________________
"I have many layer-eight problems in my life, including myself."
Obtruse_Man4 is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

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

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
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 5:19 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC