Jump to content

Nreva10

Members
  • Posts

    7
  • Joined

  • Last visited

About Nreva10

  • Birthday 02/16/1987

Contact Methods

  • Website URL
    http://www.iind.sanmaikols.net

Profile Information

  • Location
    Madrid, Spain

Nreva10's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. No change at all. It seems as it does not recognise the statement. Maybe the solution would be changing the CSS style sheet? I say that because the className works.
  2. Yes it does. Both the background and the style work perfectly.I have been doing a bit of research and I have found out that instead of headers you can use scope. Could that be of any help? It's because I find it pretty strange that the statement works everywhere but where it should.If you need a version of the code you can find it in the first message of this post. However I can upload a more actual one (I've done just a few changes).
  3. I have changed the order and, unfortunately, there is no difference. Thanks for the guess anyway.
  4. I have managed to reduce the problem to this: <tr align="left" valign="top" style="background-color:#EBEBEB;" onmouseover="this.style.background='#762929'; this.style.color='#FEB300'; this.className='pn-plain';" onmouseout="this.style.background='#EBEBEB'; this.style.color='black'; this.className='pn-default'"> What's wrong with this code? The only attribute that does not work is the this.class.color. Why??If I put the tag in the <td> it works but only in the cell not in the whole row.
  5. That's much better but still not the bull's eye. The idea to change the color is because black cannot be easily read in a red background. Consequently, I wish to change the color not when the mouse is on the text but on the row.You can see the improvements in the link above.Thanks again!
  6. Thanks. I had already done that another way and it also worked. The problem is that I would like to get rid of the bold text type.And just in case, is there any way to do this without putting a link to the same page? That would be great.
  7. Hi guys!I'm not quite sure where to post this topic because it involves HTML and CSS, so I decided to put it in this forum. Nevertheless that's not the point.I'm having trouble with a forum template. I wish to change the color of the text when I put my mouse over a section. I have managed to change the background and the links colour but, however, I cannot do so with plain text, this is, non-linked.You can see my problem here: IIND.sanmaikols.net The description of each forum should change from black to another colour when the mouse is on the red area, not only just over the text.The code is the following: <tr align="left" valign="top" class="pn-default" style="background-color:#EBEBEB;" onmouseover="this.style.background='#762929'; this.className='pn-plain';" onmouseout="this.style.background='#EBEBEB'; this.className='pn-default'"> <td headers="col_0" align="center" valign="middle" style="width:2%;"> <!--[ if $forum.new_posts eq 1 ]--> <!--[ pnimg src='red_folder.gif' alt='_PNFORUM_NEWPOSTS' altml=true ]--> <!--[ else ]--> <!--[ pnimg src='folder.gif' alt='_PNFORUM_NONEWPOSTS' altml=true ]--> <!--[ /if ]--> </td> <td headers="col_0"> <a title="<!--[ pnml name='_PNFORUM_GOTO_FORUM' ]--> '<!--[ $forum.forum_name ]-->'" href="<!--[ pnmodurl modname=pnForum type=user func=viewforum forum=$forum.forum_id ]-->"><strong><!--[ $forum.forum_name ]--></strong></a> <!--[ adminlink type=forum id=$forum.forum_id ]--> <br /><!--[ $forum.forum_desc ]--> <br /><!--[ pnml name='_PNFORUM_MODERATEDBY' ]-->: <!--[ listforummods moderators=$forum.forum_mods ]--> </td> <td headers="col_1" style="width:5%;text-align:center;" align="center" valign="middle"><!--[ $forum.forum_topics ]--></td> <td headers="col_2" style="width:5%;text-align:center;" align="center" valign="middle"><!--[ $forum.forum_posts ]--></td> <td headers="col_3" style="width:15%;text-align:center;" align="center" valign="middle"><!--[ if $forum.last_post_data.name <> '' ]--><!--[ $forum.last_post_data.unixtime|pndate_format:datetimebrief ]--><br /> <!--[ pnml name='_BY' ]--> <!--[ $forum.last_post_data.name|profilelink ]--><br /><a href="<!--[ $forum.last_post_data.url_anchor|pnvarprepfordisplay ]-->" title="<!--[ pnml name='_PNFORUM_GOTO_LATEST' ]--> '<!--[ $forum.last_post_data.subject|pnvarprephtmldisplay ]-->'"><!--[ pnimg src=icon_latest_topic.gif ]--></a><!--[ else ]--><!--[ pnml name='_PNFORUM_NOPOSTS' ]--><!--[ /if ]--></td> </tr> Thank you very much for your help!
×
×
  • Create New...