Style sheet question
|
Hey all, I was playing with the style sheet box on the modify profile page. I was wanting to change the color of the text that my posts are displayed with. Looking at the source of the forum pages, our content is handled inside a table data tag, td. So under the td heading I set color:#whatever. When I saved it and loaded a forum page I noticed that all the text on the page was that new color now, not just in my posts. I also noticed that if I was not logged in, the text reverted to normal. So finally my question: is the style sheet modification option only for changing how we view the forums? Or is there some way (other than including font color tags, etc, in each and every post) to globally set how our individual posts look like to everyone? Any clarification would be appreciated ^_^ |
Re: Style sheet question
Link |
by
on 2006-07-09 09:15:03 (edited 2006-07-09 09:17:35)
|
if you are not logged in, the server does not know who you are. if the server does not know who you are, it cannot find and present you stylesheet data. of course, any stylesheet code you enter into your profile will be applied to the entire webpage. this is how cascading stylesheets work. if you want to change the font color of your posts only, you will need to enclose your post in a <span> tag. you can specify the color explicitly, or, give it a stylesheet class. if you do the former, everyone will see the color change (on your post only). if you do the later, only you will see the color change (on your post only). |
Re: Style sheet question
|
Excellent, that answers my question. Thanks! |