Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    Regular Coder
    Join Date
    Apr 2006
    Location
    UK, England
    Posts
    268
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Dreamweaver: Changing the colour of the hyperlinks

    I would like to change the defualt blue underlined text into my own set colour. It helps the hyperlinks blend into the site style, I have a certain colour theme for each page, and the blue underlined look just ruins it all. Is this possible, how can I do this?

  • #2
    Regular Coder googleit's Avatar
    Join Date
    Jul 2006
    Location
    birmingham, uk
    Posts
    189
    Thanks
    0
    Thanked 0 Times in 0 Posts

  • #3
    Regular Coder
    Join Date
    Apr 2006
    Location
    UK, England
    Posts
    268
    Thanks
    2
    Thanked 0 Times in 0 Posts
    I havent used CSS before.

    I just want something quick, I have many pages to alter and if CSS invovled coding, its going to be very time consuming.

  • #4
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    Quote Originally Posted by J1mmy View Post
    I havent used CSS before.

    I just want something quick, I have many pages to alter and if CSS invovled coding, its going to be very time consuming.
    It shouldn't take too long at all. You might a stylesheet, you might even be able to do it in DW, that specifies the colors for the links and then add that stylesheet to your pages.
    OracleGuy

  • #5
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,700
    Thanks
    6
    Thanked 1,011 Times in 984 Posts
    Quote Originally Posted by J1mmy View Post
    I havent used CSS before.

    I just want something quick, I have many pages to alter and if CSS invovled coding, its going to be very time consuming.
    That's what external stylesheets are made for. You change one stylesheet and all pages that are linked with this stylesheet will be changed. In real life this would be like you have the stylesheet called styles.css and a link to it on every page in the head section:
    Code:
    <link rel="stylesheet" href="styles.css" type="text/css" />
    And you change the color of all links on all your pages in the css file by typing:
    Code:
    a {color: #[hex value];}
    That's a matter of a second and all your links are changed. Same goes for any kind of styling. HTMLDog is a good website to learn CSS.

  • #6
    Regular Coder
    Join Date
    Apr 2006
    Location
    UK, England
    Posts
    268
    Thanks
    2
    Thanked 0 Times in 0 Posts
    While I was actually creating the website, I noticed the CSS styles. I decided to make one which matched one of my text's formatting.

    After creating the hyperlink, it changed the formating of the text to the usual blue and underlining, I then changed it back using the CSS style feature in DW.

    Is doing that alright, will it take care of it?

  • #7
    New Coder Grobulous's Avatar
    Join Date
    Sep 2006
    Location
    Earth...
    Posts
    63
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I guess. or if for some reason you don't like style sheets, just go to edit the page properties and change the link colors. but I would recommend style sheets. with css, this is how I would do it:

    Code:
    <span class="mytext">hello <a href="#">this</a> is a link</span>
    then in a seperate style sheet create a class called mystyle a, and you should have one for at least mystyle a:link, mystyle a:active, and mystyle a:hover. or you could do this at the head of the html doncument within style tags. either way, this will give you greater option of how links will appear, at least better than placing them within the body tag.

    but then again, I could have failed miserably at this post.
    Release your mighty juices of creativity... SabuKudo.com!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •