![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Programmer
Join Date: Sep 2005
Location: PA, USA
Posts: 49
Rep Power: 0
![]() |
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." |
|
|
|
|
|
#2 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
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 |
|
|
|
|
|
#3 |
|
Hobbyist Programmer
Join Date: Nov 2005
Posts: 122
Rep Power: 3
![]() |
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" |
|
|
|
|
|
#4 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
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.
__________________
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 |
|
|
|
|
|
#5 |
|
Professional Programmer
|
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;} |
|
|
|
|
|
#6 |
|
Newbie
|
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. |
|
|
|
|
|
#7 |
|
Hobbyist Programmer
|
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 |
|
|
|
|
|
#8 |
|
Programmer
Join Date: Sep 2005
Location: PA, USA
Posts: 49
Rep Power: 0
![]() |
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." |
|
|
|
|
|
#9 | |
|
Hobbyist Programmer
Join Date: Nov 2005
Posts: 122
Rep Power: 3
![]() |
Quote:
__________________
"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" |
|
|
|
|
|
|
#10 |
|
Programmer
Join Date: Sep 2005
Location: PA, USA
Posts: 49
Rep Power: 0
![]() |
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." |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|