Sign Up! Login: Password: New User? Forgot? Support
Top Mods!
Wowhead Search
by sonofsamedi
Digital Clock
by Wolfar15
Admin Forums
Welcome to the GuildPortal Help Community! These forums are for admin-to-admin help.
Available Forums
Forums : Pimp My Site! > Fixed Background for CSS?
~Dealla~ (Guild Admin) 8/6/2007 1:42 AM EST : RE: Fixed Background for CSS?

~Dealla~
Posts: 701
Zomgawsh Poster

Haven't checked here since last week.  Did you get it figured out?

TopBottom

Rosary_KT (Guild Admin) 8/6/2007 4:30 AM EST : RE: Fixed Background for CSS?
Rosary_KT
Posts: 1072
Zomgawsh Poster

What Eorindill wrote should work fine, I've tested it with webdev in firefox.
Just for ease, here's your entire CSS file with a little formatting so that its easier to read.

html, body, div, p, table, td, form, img, h1, h2, h3, h4, h5, h6, input, select {
font-family: Verdana,Tahoma,Segoe,sans-serif;
font-size: 10pt;
}

body{
color: #000;
background: #000 url('http://i78.photobucket.com/albums/j87/Lethalladies/LL-logo-2fromNeraNoBorderDark.gif') repeat;
background-attachment: fixed;
}

form {
padding: 3px;
border: none;
}

img {
border: none;
}

hr {
color: #0000000;
}

.TabBar {
margin: 0px;
padding: 0px;
}

.SelectedTab {
background-color: #000000;
color: #ffccff;
border: solid 1px #0000000;
border-color: #0000000;
text-align: center;
padding: 2px;
}

.UnSelectedTab {
background-color: #000000;
color: #ff00ff;
border: solid 1px #0000000;
text-align: center;
cursor: pointer;
padding: 2px;
}

.UnSelectedTabMo {
background-color: #000000;
color: #ffccff;
border: solid 1px #0000000;
border-color: #0000000;
cursor: pointer;
text-align: center;
padding: 2px;
}

.AltGridRow {
background-color: #000000;
color: #ff00ff;
}

.NormGridRow {
background-color: #000000;
color: #ff00ff;
}

.ContentBox {
background-color: #000000;
border: solid 1px #0000000;
}

.ContentBoxTitle {
padding: 5px;
background-color: #000000;
color: #ffccff;
}

.ContentBoxBody {
background-color: #000000;
color: #ff00ff;
padding-left: 5px;
padding-right: 5px;
padding-top: 5px;
padding-bottom: 5px;
}

.StateBar {
background-color: #000000;
color: #ff00ff;
text-align: center;
padding: 5px;
}

.ForumCategoryHeader {
background-color: #000000;
border-width: 1px 1px 1px 1px;
border-style: solid;
border-color: #0000000;
padding-left: 5px;
color: #ff00ff;
padding-right: 5px;
padding-top: 5px;
padding-bottom: 5px;
}

.ContentBoxTitleNoBackground {
color: #ffccff;
margin-top: 0px;
padding-top: 0px;
}

A:active {
color: #ff0099;
 text-decoration: none;
}

A:link {
color: #ff0099;
text-decoration: none;
}

A:hover {
color: #ff0099;
text-decoration: underline;
}

A:visited {
color: #cc99ff;
text-decoration: none;
}

.toolTipHeader {
color: lime;
font-weight: bold;
}
No alternate text supplied.
TopBottom

538935243_Inactive (New Admin) 8/16/2007 4:27 AM EST : RE: Fixed Background for CSS?
538935243_Inactive
Posts: 205
Fingers of Fury!

Hi I noticed this, and i'd like to use this for my page as well, but if I use a custom css, it'll completely remove everything else I made with the normal gportal settings, is there somewhere besides the css to put

body{
color: #000000;
BACKGROUND-IMAGE: url('http://i78.photobucket.com/albums/j87/Lethalladies/LL-logo-2fromNeraNoBorderDark.gif');
BACKGROUND-COLOR: #000000;
BACKGROUND-REPEAT: repeat;
BACKGROUND-ATTACHMENT: fixed;
}

So I'm not removing my own settings?
TopBottom

Rosary_KT (Guild Admin) 8/16/2007 6:34 AM EST : RE: Fixed Background for CSS?
Rosary_KT
Posts: 1072
Zomgawsh Poster

The styles inside the style sheet should only override the inline styles you have included in the stylesheet. This is what 'CSS' is...

Your browser looks at your CSS stylesheet first, and then it looks at embedded or inline styles.  If your CSS doesn't specify a style for a particular tag, then it looks to your inline styles and uses that.

The only instance where I could see this as a problem may be where guild portal has some sort of scripting that forces the browser not to look at inline styles somehow.

What section/css tags of your site is affected specifically?


No alternate text supplied.
TopBottom

Razele (New Admin) 8/20/2008 6:09 PM EST : RE: Fixed Background for CSS?
Razele
Posts: 75
Posts With Wolves

Myung Fang Lone said:
Hi I noticed this, and i'd like to use this for my page as well, but if I use a custom css, it'll completely remove everything else I made with the normal gportal settings, is there somewhere besides the css to put

body{
color: #000000;
BACKGROUND-IMAGE: url('http://i78.photobucket.com/albums/j87/Lethalladies/LL-logo-2fromNeraNoBorderDark.gif');
BACKGROUND-COLOR: #000000;
BACKGROUND-REPEAT: repeat;
BACKGROUND-ATTACHMENT: fixed;
}

So I'm not removing my own settings?



I've been trying to get my background to stay fixed and finally figured out what works without screwing with the rest of your settings.  I suppose the only catch is that if/when you change the normal gp settings, you have to go in and edit the css too.

Simply right click on your guild page (while css is disabled) and then copy what is between the <style> tags.  Put that, along with any background modifications (e.g. BACKGROUND-ATTACHMENT: fixed;), in your css and voila!

If you want to see mine, here she is: AoA
TopBottom

Admins Online
There are   members online.
So-and-so has logged on!
%title%
%message%