PDA

View Full Version : Why profiles CSS is not in files



veenuisthebest
Wed 15th Oct '08, 1:09am
hii..

I wanted to know why memberinfo_css is not stored in external stylesheets. That is a lot of CSS.

Even after enabling the option from Style and Language settings, only the skin/style's CSS goes in files but the memberinfo CSS still displays open in source.

This is the profile CSS code I copied from this site:-


<style type="text/css" id="vbulletin_editor_css_dynamic">
<!--
@import url("clientscript/vbulletin_editor.css?v=373");

.vBulletin_editor {
background: #E1E1E2;
padding: 6px;
}
.imagebutton {
background: #E1E1E2;
color: #000000;
padding: 1px;
border: none;
}
.ocolor, .ofont, .osize, .osmilie, .osyscoloar, .smilietitle {
background: #FFFFFF;
color: #000000;
border: 1px solid #FFFFFF;
}
.popup_pickbutton {
border: 1px solid #FFFFFF;
}
.popup_feedback {
background: #FFFFFF;
color: #000000;
border-right: 1px solid #FFFFFF;
}
.popupwindow {
background: #FFFFFF;
}
#fontOut, #sizeOut, .popup_feedback div {
background: #FFFFFF;
color: #000000;
}
.alt_pickbutton {
border-left: 1px solid #E1E1E2;
}
.popup_feedback input, .popup_feedback div
{
border: 0px solid;
padding: 0px 2px 0px 2px;
cursor: default;
font: 11px tahoma;
overflow: hidden;
}
-->
</style>
<!-- / Editor Styles -->

<style type="text/css" id="vbulletin_user_css">
<!--
#usercss {
background-image: url(picture.php?albumid=3&pictureid=16);
color: #FFFFFF;
}

#usercss a {
color: #FFFF99;
}

#usercss .shade, #usercss .time, #usercss legend {
color: #CCCCCC;
}

#usercss .shade a, #usercss .time a {
color: #CCCCCC;
}

#usercss .tcat {
background-image: url(picture.php?albumid=3&pictureid=22);
}

#usercss .thead, #usercss .vbmenu_control {
background-image: url(picture.php?albumid=3&pictureid=21);
color: #000000;
}

#usercss .thead a, #usercss .vbmenu_control a {
color: #000000;
}

#usercss .alt1, #usercss .vbmenu_option, #usercss .panel, #usercss .wysiwyg {
background-image: url(picture.php?albumid=3&pictureid=20);
color: #FFFFFF;
}

#usercss .alt2, #usercss .vbmenu_hilite, #usercss .panelsurround {
background-image: url(picture.php?albumid=3&pictureid=18);
color: #FFFFFF;
}
-->
</style>
<style type="text/css" id="memberinfo_css">
<!--
#content_container {
width:100%;
float:left;
margin-right:-256px;
}
#content {
margin-right:256px;
}
#sidebar_container {
width:250px;
float:right;
}

.list_no_decoration {
list-style-type:none;
margin:0px;
padding:0px;
}

div.fixed_width_avatar {
text-align:center;
width:60px;
}

/**
* Memberinfo Small
*/
li.memberinfo_small {
margin-top:6px;
}
li.memberinfo_small div.fixed_width_avatar {
margin-right:6px;
}
li.memberinfo_small div.info_bar, #friends li.memberinfo_small div.info_bar {
border-width:1px 0px 0px 0px;
margin-bottom:6px;
}
li.memberinfo_small div.info_bar ul {
padding:6px;
}
li.memberinfo_small ul.friend_im_list li {
display:inline;
margin-right:3px;
}
li.memberinfo_small ul.friend_im_list img {
vertical-align:middle;
}

/**
* Memberinfo Tiny
*/
li.memberinfo_tiny {
height:105px;
width:75px;
overflow:hidden;
float:left;
text-align:center;
margin:1px;
}

/**
* Tabs and Blocks
*/
.content_block {
margin-bottom:6px;
padding:1px;
}
.content_block .block_row {
padding:6px;
margin:1px 0px 0px 0px;
}
.content_block .block_title {
padding:6px;
margin:0px 0px 0px 0px;
}
/*.content_block h4.thead, .content_block .block_title {
padding:4px;
margin:1px 0px 0px 0px;
}*/
.content_block .block_footer {
text-align:right;
padding:4px;
margin:1px 0px 0px 0px;
}
a.collapse_gadget {
float:right;
}

/**
* Popup Menus Built With List Markup
*/
ul.vbmenu_popup li {
padding:4px;
margin:0px 1px 1px 1px;
white-space:nowrap;
}
ul.vbmenu_popup li.first {
margin:1px;
}
ul.vbmenu_popup li.notext {
font-size:1px;
}

/**
* Override Menu CSS for 'Send Message' Menu
*/
#minicontact_menu li.vbmenu_option, #minicontact_menu li.vbmenu_hilite {
padding:0px;
padding-right:4px;
}
#minicontact_menu li.vbmenu_option img, #minicontact_menu li.vbmenu_hilite img {
padding:4px;
}

/**
* Profile Field List Title / Value Pairs
*/
dl.profilefield_list dd {
margin-bottom:3px;
margin-left:16px;
}

/**
* Sidebar profile field blocks
*/
#sidebar_container dl.profilefield_list {
font-size:11px;
}

/**
* Top Panel
*/
#main_userinfo {
margin-bottom:20px;
}
#main_userinfo #profilepic_cell {
border-bottom-width:0px;
padding:4px;
}
#main_userinfo .profilepic_adjacent {
padding-left:6px;
}
#main_userinfo h1 {
font-size:18pt;
font-weight:normal;
margin:0px;
}
#main_userinfo h2 {
font-size:10pt;
font-weight:normal;
margin:0px;
}
#reputation_rank {
float:right;
}
#reputation {
margin-bottom:6px;
text-align:right;
}
#rank {
margin-bottom:6px;
text-align:right;
}
#send_message_cell {
padding-bottom:6px;
text-align:right;
}
#link_bar ul {
padding:4px;
}
#link_bar li.thead {
float:left;
margin-right:10px;
white-space:nowrap;
font-weight:normal;
background:transparent;
}
#link_bar a {
text-decoration:none;
}
#link_bar a:hover {
text-decoration:underline;
}
#activity_info {
border-top-width:0px;
}
#activity_info div.alt2 {
padding:4px;
}
#link_bar #usercss_switch_link {
float:right;
margin-left:3px;
margin-right:0px;
}

/**
* Visitor Messaging Tab
*/

#qc_error_div {
text-align:left;
margin-bottom:6px;
}
#qc_error_header {
font-weight:bold;
}
#qc_error_okay {
text-align:right;
}

#message_form {
display:block;
margin:0px;
}
#message_form textarea {
width:98%;
height:50px;
}
#message_form div.messagetext {
text-align:left;
}
#message_form div.allowed_bbcode {
float:left;
}
#message_form div.submit_button {
text-align:right;
}

#visitor_messaging #inlinemodsel {
float:right;
}

#visitor_messaging #view_my_conversation_link {
float:right;
text-decoration:none;
}

#visitor_message_inlinemod_form {
margin:0px;
display:block;
}

#message_list {
border:none;
}
#message_list li {
margin-bottom:6px;
}
#message_list div.fixed_width_avatar {
margin-right:6px;
float:left;
}
#message_list div.visitor_message_avatar_margin {
margin-left:66px;
}
#message_list div.info_bar {
border-width:1px 0px 0px 0px;
margin-bottom:6px;
}
#message_list div.info_bar div.alt2 {
padding:6px;
}
#message_list div.info_bar a.username {
/*font-weight:bold;*/
}
#message_list .visitor_message_date {
float:right;
}
#message_list .group_message_date {
float:right;
}
#message_list .inlinemod_checkbox {
float:right;
}
#message_list div.visitor_message_body {
overflow:auto;
}
#message_list ul.controls {
margin-top:6px;
text-align:right;
}
#message_list ul.controls li {
display:inline;
margin-left:6px;
}
#message_list ul.controls a:link, #message_list ul.controls a:visited {
text-decoration:none;
}
#message_list .deletedmessage{
float: left
}

/**
* About Me Tab
*/
#aboutme li.profilefield_category {
font-weight:bold;
margin-top:6px;
}
#aboutme dl.profilefield_list {
font-weight:normal;
margin:6px 16px 0px 16px;
}
#aboutme dl.profilefield_list dd {
margin-bottom:6px;
margin-left:0px;
}
#aboutme #signature {
width:100%;
overflow:auto;
}
#aboutme #simple_aboutme_link {
text-align: right;
display: block;
}

/**
* About Me Tab (Alternative)
*/
#aboutme2 dl.profilefield_list dd {
margin-bottom:6px;
margin-left:0px;
}

/**
* Statistics Tab
*/
#stats fieldset.statistics_group {
margin-top:6px;
}
#stats fieldset.statistics_group ul {
padding:6px;
}
#stats fieldset.statistics_group ul li {
margin-bottom:3px;
}

/**
* Statistics Tab (Alternative)
*/
#statistics2 ul.statistics_group li {
margin-bottom:3px;
}

/**
* Friends Tab
*/
#friends a.edit_friends_link {
float:right;
}
#friends_mini a.edit_friends_link {
float:left;
margin-right:10px;
}

/**
* Infractions Tab
*/
div#infractions.content_block {
padding:0px;
}

/**
* Contact Info Tab
*/
#contactinfo fieldset {
margin-bottom:6px;
}
#contactinfo div.fieldset_padding {
padding:6px;
}
#contactinfo #messaging_list li {
margin-bottom:3px;
margin-right:16px;
float:left;
white-space:nowrap;
}
#contactinfo #instant_messaging_list li {
margin-top:6px;
margin-right:6px;
position:relative;
}
#contactinfo #instant_messaging_list .im_img_link {
vertical-align: middle;
}
#contactinfo #instant_messaging_list .im_txt_link {
position:absolute;
left:75px;
}
#contactinfo #additional_contact_details dd {
margin-left:0px;
margin-bottom:6px;
}

/**
* Albums Block
*/
#albums_mini_list li {
text-align:center;
margin-bottom:6px;
}

/**
* Mini Friends Block
*/

#friends_mini_list a.username {
display:block;
margin-top:3px;
}
#friends_mini div.friends_counter {
padding-bottom:6px;
}

/**
* Groups Block
*/
span.group_count {
float:right;
}
ul.group_list {
margin:6px 0px 0px 6px;
}
ul.group_list li {
display:inline;
margin-right:3px;
}
#public_usergroup_list a:link, #public_usergroup_list a:visited {
text-decoration:none;
}

/**
* Traffic Block
*/
ol.last_visitors_list {
margin:0px;
margin-top:6px;
}
ol.last_visitors_list li {
display:inline;
margin-right:3px;
}


-->
</style>

Can this go in external stylesheets as well ?

Thank you

Jake Bunce
Wed 15th Oct '08, 2:24pm
There is no option to store the custom profile CSS in files. It wouldn't do much good since each CSS file would only be used in one profile and not on other forum pages.

veenuisthebest
Wed 15th Oct '08, 2:28pm
ok thanks for replying sir..

Isn't this CSS even more than a style's CSS. When that is stored in stylesheets then why not this.

Can you please move this thread to Suggestions forum please.

Thank you

Jake Bunce
Wed 15th Oct '08, 2:50pm
The purpose of storing style sheets in files is for caching purposes. That way the style sheet doesn't have to be downloaded for each page. It makes no sense to cache a style sheet for use on just one page.