marcus76 Posted June 9, 2005 Share Posted June 9, 2005 Hi, This is killing me - i've tried everything. All i want to do is change the color of the links in the shopping_cart.php box. I have the following stylesheet entries: .diddy A:link {text-decoration: none} .diddy A:visited {text-decoration: none} .diddy A:active {text-decoration: none} .diddy A:hover {text-decoration: underline; color: red;} The PHP code i'm attempting to apply this style to: $info_box_contents[] = array('align' => 'left', 'text' => '<a class="diddy" href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . LOGIN_BOX_MY_ACCOUNT . '</a><br>' . Bit it doesn't work!!! any ideas? Kind Regards Marcus Link to comment Share on other sites More sharing options...
Mighty Mike Posted June 9, 2005 Share Posted June 9, 2005 what is "a class" "</a>" i am not 100% sure but i dont think that is correct you would need it to be <class="diddy" then in your stylesheet creat a class for both rollover and none rollover apperances Link to comment Share on other sites More sharing options...
marcus76 Posted June 9, 2005 Author Share Posted June 9, 2005 what is "a class" "</a>" i am not 100% sure but i dont think that is correct you would need it to be <class="diddy" then in your stylesheet creat a class for both rollover and none rollover apperances <{POST_SNAPBACK}> ah ha - ok, i'll give that a try tonight. Thanks for the heads up. Link to comment Share on other sites More sharing options...
Wendy James Posted June 9, 2005 Share Posted June 9, 2005 '<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '" class="diddy" >' . LOGIN_BOX_MY_ACCOUNT . '</a><br>' . Wendy James Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep. Link to comment Share on other sites More sharing options...
marcus76 Posted June 9, 2005 Author Share Posted June 9, 2005 '<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '" class="diddy" >' . LOGIN_BOX_MY_ACCOUNT . '</a><br>' . <{POST_SNAPBACK}> nope, that's didn't work!! arrrgh!! i've got : $info_box_contents = array(); $info_box_contents[] = array('align' => 'left', 'text' => '<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '"class="black-hyperlink" >' . LOGIN_BOX_MY_ACCOUNT . '</a><br>' . still no change...any other ideas? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.