(fixing link) |
Ose (Message Wall | contribs) mNo edit summary |
||
Line 8: | Line 8: | ||
Here's the code I'm using for the main page: |
Here's the code I'm using for the main page: |
||
<pre> |
<pre> |
||
+ | body.mainpage div.monaco_shrinkwrap |
||
body.mainpage div.monaco_shrinkwrap { |
body.mainpage div.monaco_shrinkwrap { |
||
left: 50%; |
left: 50%; |
||
Line 23: | Line 24: | ||
Thanks in advance. --[[User:_Annonnimus|Anon]] [[User talk:Annonnimus|<sup><u><tt>talk</tt></u></sup>]] 20:47, July 7, 2010 (UTC) |
Thanks in advance. --[[User:_Annonnimus|Anon]] [[User talk:Annonnimus|<sup><u><tt>talk</tt></u></sup>]] 20:47, July 7, 2010 (UTC) |
||
+ | |||
+ | :The below should cover both pages. {{User:Ose/Sig}} 23:08, July 8, 2010 (UTC) |
||
+ | <pre> |
||
+ | body.mainpage div.monaco_shrinkwrap, |
||
+ | body.page-Special_MyHome div.monaco_shrinkwrap { |
||
+ | left: 50%; |
||
+ | margin-left: -485px; |
||
+ | width: 971px; |
||
+ | } |
||
+ | * html body.mainpage div.monaco_shrinkwrap, |
||
+ | * html body.page-Special_MyHome div.monaco_shrinkwrap { |
||
+ | left: auto; |
||
+ | margin-left: auto; |
||
+ | width: 100%; |
||
+ | } |
||
+ | </pre> |
Revision as of 23:08, 8 July 2010
Forums: Index → Community Central Forum → Fixed-width for my home
Fandom's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.
To contact staff directly or to report bugs, please use Special:Contact.
Hi, I'm trying to make the 'my home' over at the Chili peppers wiki fixed-width. The founder wants fixed-width only on the main page and 'my home', I've already made the main page fixed-width but can't figure out how to do the same for 'my home'.
Here's the code I'm using for the main page:
body.mainpage div.monaco_shrinkwrap body.mainpage div.monaco_shrinkwrap { left: 50%; margin-left: -485px; width: 971px; } * html body.mainpage div.monaco_shrinkwrap { left: auto; margin-left: auto; width: 100%; }
If someone could help me modify it to affect the 'my home', I would really appreciate it.
Thanks in advance. --Anon talk 20:47, July 7, 2010 (UTC)
body.mainpage div.monaco_shrinkwrap, body.page-Special_MyHome div.monaco_shrinkwrap { left: 50%; margin-left: -485px; width: 971px; } * html body.mainpage div.monaco_shrinkwrap, * html body.page-Special_MyHome div.monaco_shrinkwrap { left: auto; margin-left: auto; width: 100%; }