eztv.wf | eztvstatus.org
Search title:  
TV Packs only
 
💬

Problem applying CSS to My Page

Join the conversation
🏠 Forum » General » Problem applying CSS to My Page
Posted at 22/10/2007, 13:42
#63593
i find the my page feature of this site is very useful. thanks for
putting it together.

the standard site colours do not work very well when viewed on my media
centre tv, though. the ctu style is much clearer, so i use that.

however, the recent changes to my page have made the status, votes
and rate columns disappear. the reason is that the page uses html
tags to make the text white and the ctu css makes the background white, so the
text cannot be seen. the watched everything and name columns appear because
they are links and link colouring overrides the text colouring.

for example, the entry for the 4400 uses the following code (i have switched
less than and greater than characters for [ and ] so the code can be read):

[tr bgcolor='blue'><td align='center'][a href='?
main=myshows&include=watched_all&id=20'][font color='ffffff']watched all[/font]
[/a][/td][td][a href='?main=show&id=20' class='thread'][font color='white']
4400, the[/font][/a][/td][td width='250'][font color='white']pending[/b][/font]
[/td][td align='center'][font color='white']5411[/font][/td][td align='center']
[font color='white']7.56[/font][/td][/tr]

ideally, i would change the css to use a text colour that stands out against
the background, but i can't do that because css cannot override the [font]
tags embedded in the page.

the solution is to remove the [font] tags, [b] tags and any other formatting
tags (such as [i], [strong], etc) and attributes (such as bgcolor) from the
page and place the formatting in
your css. that way we can develop completely different colour schemes using
css that are not interfered with by the html.

i hope that makes sense. let me know if i can be any help.
Posted at 22/10/2007, 18:56
#63642
fixed. added td font { ... } style class.
Posted at 23/10/2007, 16:49
#64025
i didn't think you could do that - but it works! thanks.

my original point stands for general css development, though.
Posted at 25/12/2010, 15:58
#149248
how so?
ssl  EZTV RSS EZTV Status | EZTV API | upload Upload | DMCA: [email protected]