Help - Search - Members - Calendar
Full Version: Centering Generator Layout in Firefox
Forums > Resource Center > Support Center > Livejournal Support > Livejournal Resolved Topics
JJJENNNNN
I am using the Generator layout. I haven't changed my override code since the first time I messed with it like a year and a ½ ago. It still looks exactly how I'd like it to look in Internet Explorer, but in Firefox, the entry tables are aligned to the left side of the screen, rather than centred. That is the only difference. What is the code to centre the entry tables? I'm sure it's probably just unnecessary in IE. I'd like to add it so my layout looks the same in Firefox. Thanks,
Mulder
add !important to the position values

this explains it better
JJJENNNNN
QUOTE(insomniac @ Dec 31 2006, 11:00 PM) *
add !important to the position values

this explains it better
There are no position values. The Generator layout is centred by default in Internet Explorer. I'm asking what to add that would make it centred. Then I will add the !important if it still isn't working.

I've read that forum
Azarel
The generator layout should be centered in Firefox by default as well. I suggest checking your alignment values in your css, but if you can't find anything, you could either post your coding up or PM it to me (if you don't want it to be stolen) so that we could try to help. :)
JJJENNNNN
QUOTE(Azarel @ Jan 2 2007, 2:37 AM) *
The generator layout should be centered in Firefox by default as well. I suggest checking your alignment values in your css, but if you can't find anything, you could either post your coding up or PM it to me (if you don't want it to be stolen) so that we could try to help. :)
My code's nothing special. I'll post it:
CODE
GLOBAL_HEAD<=
<title>This is stupid</title>
<style type="text/css">
<!--
body {
background-color: black;
background-image: url(http://www.geocities.com/jjjennnnn/starry_copy.gif);
background-repeat: repeat;
background-attachment: fixed;
background-position: top left;
}

div {
background-image: url(http://www.geocities.com/jjjennnnn/marvrun.gif);
background-repeat: no-repeat;
background-position: top center;
padding-top: 100;
text-align: center;
}

div div { background: none; width: auto; height: auto; padding: 2; }
div table { width: 640;}
div table table { width: 100%;}
div table table table { width: auto;}
div table table table table { width: 100%;}

table {
border: 2px solid #B0FF9E;
}

table table {
border: 0;
}

-->
</style>
<=GLOBAL_HEAD

LASTN_OPT_ITEMS=>40
Thanks!
Mulder
can you post a link to your journal?
Azarel
Removing this line does the trick:

text-align: center;


JJJENNNNN
QUOTE(insomniac @ Jan 2 2007, 9:42 PM) *
can you post a link to your journal?
I'll PM it if you like

QUOTE(Azarel @ Jan 2 2007, 9:51 PM) *
Removing this line does the trick:

text-align: center;
You're right, it does! and everything else stays the same. _smile.gif Yay!
Thank you so much!

Now if only I could get my MySpace to be Firefox compatible
(I think that's a lost cause laugh.gif)
makaix
edit: nvm..i switched from plus account to basic account so now it centered..lmao..i have a feeling it's because i used a code to hide the ads..but it's still there..so it pushes my entries to the left.
Azarel
QUOTE(JJJENNNNN @ Jan 3 2007, 4:43 PM) *
Now if only I could get my MySpace to be Firefox compatible
(I think that's a lost cause laugh.gif)
You could always post a topic in myspace help. ;)
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.