NextGenForum.net Posted July 30, 2007 Share Posted July 30, 2007 I was wondering if it was possible to change individual link colors in dream weaver instead of changing the page properties as i don't want all the links to be the same color. Thanks Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted July 30, 2007 Share Posted July 30, 2007 Give it your link a class then apply a css style to that link via the class, eg: --- HTML --- <a href="http://www.google.com" class="googlelink">Google</a> --- CSS --- a.googlelink { color: red; } a.googlelink:hover { color: yellow; } Quote Link to comment Share on other sites More sharing options...
NextGenForum.net Posted July 30, 2007 Author Share Posted July 30, 2007 that didnt work what i am trying to link is a recordset from MySQL {x360reviews.title} Thanks Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted July 30, 2007 Share Posted July 30, 2007 Then you'd use CSS for that. Do you know what CSS is or how to use it? Quote Link to comment Share on other sites More sharing options...
NextGenForum.net Posted July 30, 2007 Author Share Posted July 30, 2007 yes and i did this <a href="/view360.php?ID=<?php echo $row_x360reviews['id']; ?>" class="a.360link"><?php echo $row_x360reviews['title']; ?></a> Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted July 30, 2007 Share Posted July 30, 2007 remove the a. from the class name for your html In your CSS you'd use a.360link a is the selector and .360link is the class. You only specify the class name within the class attribute. Quote Link to comment Share on other sites More sharing options...
NextGenForum.net Posted July 30, 2007 Author Share Posted July 30, 2007 thanks wildteen thats done it Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.