Can someone please check this part of my css code?
4 posters
Page 1 of 1
Can someone please check this part of my css code?
Lines 1 - 118 of my css code has a lot of repeated text. I'm not sure if its needed or not or if its the cause of errors. I can post the whole css if you need me to but it all seems correct. Only lines 1-118 are in question. I just want to clean it up because it seems when I try to add any additional code it goes wonky. Please help. Thanks in advance.
- Code:
#textarea_content iframe
#text_editor_iframe,
#text_editor_textarea,
*+ html
#textarea_content iframe
#text_editor_iframe,
*+ html
#text_editor_textarea,
* html
#textarea_content iframe
#text_editor_iframe,
*+ html
#text_editor_textarea,
* html
#textarea_content iframe
#text_editor_iframe,
* html
#text_editor_textarea,
*+ html
#text_editor_textarea
.quick_reply_textarea,
* html
#text_editor_textarea
.quick_reply_textarea {
background-color: #000000;
border: 1px #ffffff;
}
.wysiwyg {
background-color: #000000;
}
#text_editor_textarea {
background-color: #000000;
}
body {
background-color: #000000;
background-position: top center;
background-repeat: no-repeat;
}
.pun {
* html
#text_editor_textarea,
*+ html
#text_editor_textarea
.quick_reply_textarea,
* html
#text_editor_textarea
}
.quick_reply_textarea {
background-color: #000000;
border: 1px #ffffff;
}
.wysiwyg {
background-color: #000000;
}
#text_editor_textarea {
background-color: #000000;
}
.quick_reply_textarea {
background-color: #000000;
border: 1px #ffffff;
}
.wysiwyg {
background-color: #000000;
}
#text_editor_textarea {
background-color: #000000;
}
body {
background-color: #000000;
background-position: top center;
background-repeat: no-repeat;
}
.pun {
* html
#text_editor_textarea,
*+ html
#text_editor_textarea
.quick_reply_textarea,
* html
#text_editor_textarea
}
.quick_reply_textarea {
background-color: #000000;
border: 1px #ffffff;
}
.wysiwyg {
background-color: #000000;
}
#text_editor_textarea {
background-color: #000000;
}
body {
background-color: #000000;
background-position: top center;
background-repeat: no-repeat;
}
.pun {
min-width: 1053px;
width: 1053px;
}
#pun-intro {
background-color: #;
}
body {
background-color: #;
opacity: 1;
filter: alpha(opacity=1);
background-image: url("http://i68.servimg.com/u/f68/13/76/91/31/forumb11.jpg");
background-position: top center;
background-repeat: no-repeat;
background-attachment: scroll;
}
.pun {
min-width: 1054px;
width: 980px;
}
Re: Can someone please check this part of my css code?
These (1-23) (42-48) (76-83) are not needed since there is no code between {}.


Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Can someone please check this part of my css code?
Probably you meant (40-48) and (74-83)!SLGray wrote:These (1-23) (42-48) (76-83) are not needed since there is no code between {}.

I think those extra lines are not needed also since no code are in them too!

Re: Can someone please check this part of my css code?
Thanks @Luffy .


Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Can someone please check this part of my css code?
Thank you for your time guys. Much appreciated. Two more questions.
1) What about things with code in them but are repeated?
.quick_reply_textarea - (25, 49, 59, 84) all same exact code
.wysiwyg - (29, 53, 63, 88) all same exact code
body - no period before it like the others and (35, 69, 94) all same exact code
2) Does it matter how the css code is ordered? What I mean is should say page-body be "after" pun-intro and "before" pun-foot?
1) What about things with code in them but are repeated?
.quick_reply_textarea - (25, 49, 59, 84) all same exact code
.wysiwyg - (29, 53, 63, 88) all same exact code
body - no period before it like the others and (35, 69, 94) all same exact code
2) Does it matter how the css code is ordered? What I mean is should say page-body be "after" pun-intro and "before" pun-foot?
Re: Can someone please check this part of my css code?
If you have the same CSS code more than once, you can delete all of them except for one.
Also if you have CSS codes that is for the same element, you can combine the two ore more codes.
It should not really matter the order, but sometimes to override some other codes you have to add it to the top of the stylesheet.
Also if you have CSS codes that is for the same element, you can combine the two ore more codes.
It should not really matter the order, but sometimes to override some other codes you have to add it to the top of the stylesheet.


Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Can someone please check this part of my css code?
OK thanks for your help. So I don't misunderstand what do you mean by combining the same element? Like this?
can be?
Also, I didnt really ask but need to know. As mentioned above ".quick_reply_textarea" and ".wysiwyg" have a period in front but "body" doesn't. Is this irrelevant or should it have a period in front of it too?
- Code:
.quick_reply_textarea {
background-color: #000000;
}
and
.quick_reply_textarea {
border: 1px #ffffff;
}
can be?
- Code:
.quick_reply_textarea {
background-color: #000000;
border: 1px #ffffff;
}
Also, I didnt really ask but need to know. As mentioned above ".quick_reply_textarea" and ".wysiwyg" have a period in front but "body" doesn't. Is this irrelevant or should it have a period in front of it too?
Re: Can someone please check this part of my css code?
OMMA wrote:OK thanks for your help. So I don't misunderstand what do you mean by combining the same element? Like this?
- Code:
.quick_reply_textarea {
background-color: #000000;
border: 1px #ffffff;
}
Yes that is how it will work
OMMA wrote:Also, I didnt really ask but need to know. As mentioned above ".quick_reply_textarea" and ".wysiwyg" have a period in front but "body" doesn't. Is this irrelevant or should it have a period in front of it too?
It Don't need one as the font and Codes are All there when you type it will show a code for the fonts you use
like this
- Code:
[font=Comic Sans MS]Hello ME[/font]
The Wysiwyg has no real font as its just a tool so it shows the codes to your text when typing
Re: Can someone please check this part of my css code?
OK thank you guys for your help. This can be marked as solved now
Re: Can someone please check this part of my css code?
Topic solved and archived


Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

» Can someone check my CSS code
» When i paste a long code via [code][/code] the page expands
» Ego check
» check ip
» How Do I check IPs?
» When i paste a long code via [code][/code] the page expands
» Ego check
» check ip
» How Do I check IPs?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum