stickam layout
i was wondering if there was a way to hide my friends list on my stickam.com profile
i used this :
#profileMediaAudio,
#profileRssBtn,
.profileRss,
#profileFriend,
{display:none;}
but it only works in Internet Explorer, not Firefox or Safari or anything else for that matter.
is there a specific way to get it to work on Firefox? since the majority of people now use Firefox. i dont know too much about mozilla specific coding, so im kinda lost, but like i said using that code above keeps anyone from viewing my friends list if they are using Internet Explorer.
i used this :
#profileMediaAudio,
#profileRssBtn,
.profileRss,
#profileFriend,
{display:none;}
but it only works in Internet Explorer, not Firefox or Safari or anything else for that matter.
is there a specific way to get it to work on Firefox? since the majority of people now use Firefox. i dont know too much about mozilla specific coding, so im kinda lost, but like i said using that code above keeps anyone from viewing my friends list if they are using Internet Explorer.
Comments
#profileMediaAudio,
#profileRssBtn,
.profileRss,
#profileFriend
{ display: none ! important; }
and it didnt work.
when i tried to edit what was already there, when submitting it, it would change the code up a bit.
thanks for the help. i really appreciate it.
@namespace url(http://www.w3.org/1999/xhtml); @-moz-document domain("stickam.com") { #profileMediaAudio, #profileRssBtn, .profileRss, #profileFriend { display: none ! important; } }
The first line (the namespace) tells firefox to only apply the style to web pages. Without it, it will apply globally, to both the firefox interface (which can be styled with CSS), and web pages.
The next line, -moz-document, wraps around your CSS code and allows you to control where the style will be applied...in this case it's applied to the entire stickam.com domain. See http://developer.mozilla.org/en/docs/CSS:@-moz-document for more info.
The rest of it is just typical CSS code, but you usually add "!important" after every declaration; that way it overrides the original style.
but it only worked for the Internet Explorer browser, cause when i submit the form ,sometimes it takes it while other times it just alters the code and doesnt work.
i wanted to be able to get it to work in Firefox, cause thats the majority of websurfers use nowadays.
cause im just not completely used to the way Firefox handles certain things. back when i learned basic CSS, Internet Explorer was what everyone seemed to be using. so i stuck with using the same stuff. cause Firefox wasnt as popular or well known as it is now.
i then wanted to later use the code in stylish, so i could view everyone elses page the same way. without the clutter. but the focus was so that everyone who viewed my page would see it customized without the clutter.
Personally, I could care less who has what market share but, in order to settle the matter, would suggest we can all agree that Internet Extorter is losing ground, Firefox is gaining ground and anyone with any sense is using Firefox. 8-þ