Thread: Website Help..

+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    A1 VIP Member
    Join Date
    Mar 2008
    Location
    Newcastle Upon Tyne
    Posts
    171
    Thanks
    41
    Thanked 26 Times in 24 Posts

    Default Website Help..

    Hello all

    Is there a way for me to have links on my web page that are 2 different colours? On my site, I want the main navigation links white but the links throughout the text on the page a dark blue colour? Sorry if this is a stupid question, all my HTML and Dreamweaver knowledge is self taught so I'm no expert!

    Anyhoo, I can only seem to set one link colour for the page in Dreamweaver.

    Also, can you make an image a link to an email?

    Thanks a zillion
    Sarah xx
    All I can do is be me, whoever that is - Bob Dylan

    Miskellaneous : illustration, character design, logo design and children's illustration.
    http://www.miskellaneous.co.uk

  2. #2
    A1 VIP Member
    Join Date
    Feb 2008
    Location
    Twinkletown
    Posts
    741
    Thanks
    156
    Thanked 115 Times in 105 Posts

    Default

    Hi Sarah,

    Within Dreamweaver, you should just be able to highlight the links and change the colour of them in the 'Properties' box at the bottom of the screen.

    With regard to the email link, you can click on the image and then in the 'Properties' box at the bottom of the screen, in the 'Link' box, just type in 'mailto:sarah@miskellaneous.co.uk' or whatever your email address is (without the punctuation). If the person clicking on the image has Outlook, it will automatically open up a new message

    Hope that helps.

    Julie

  3. #3
    A1 VIP Member
    Join Date
    Mar 2008
    Location
    Newcastle Upon Tyne
    Posts
    171
    Thanks
    41
    Thanked 26 Times in 24 Posts

    Default

    Hi Julie

    It wont let me change the links to a different colour for each one last time i tried, but will try again!
    Fab, i will get my email link set up.
    Thanks for the advice, very much appreciated
    All I can do is be me, whoever that is - Bob Dylan

    Miskellaneous : illustration, character design, logo design and children's illustration.
    http://www.miskellaneous.co.uk

  4. #4
    A1 Super Mod
    Join Date
    Feb 2008
    Location
    Brighton
    Posts
    5,771
    Thanks
    1,057
    Thanked 726 Times in 567 Posts
    Blog Entries
    1

    Default

    I'm sure one of the coding guy's will be along to help - but I know on my sites the link colours are set in the stylesheet.

  5. #5
    A1 VIP Member
    Join Date
    Mar 2008
    Location
    Kenley, Surrey, UK
    Posts
    225
    Thanks
    12
    Thanked 83 Times in 59 Posts

    Default

    This is one way to do it.

    HTML Code:
    <a href="www.domain1.com"><font color="#FF0000">Anchor Text1</font></a> <a href="www.domain2.com"><font color="#00FF00">Anchor Text2 
    </font></a>

  6. The Following User Says Thank You to Spiderden For This Useful Post:

    Miskellaneous (04-03-2008)

  7. #6
    A1 VIP Member
    Join Date
    Feb 2008
    Location
    Twinkletown
    Posts
    741
    Thanks
    156
    Thanked 115 Times in 105 Posts

    Default

    Hi Sarah,

    Just as an aside, the link to your homepage from within your profile has a typo in it and is not working.

  8. The Following User Says Thank You to Tigglet For This Useful Post:

    Miskellaneous (04-03-2008)

  9. #7
    A1 VIP Member
    Join Date
    Mar 2008
    Location
    Newcastle Upon Tyne
    Posts
    171
    Thanks
    41
    Thanked 26 Times in 24 Posts

    Default

    Thanks very much spiderden!
    Tigglet - just fixed that, thankyou!
    All I can do is be me, whoever that is - Bob Dylan

    Miskellaneous : illustration, character design, logo design and children's illustration.
    http://www.miskellaneous.co.uk

  10. #8
    A1 VIP Member
    Join Date
    Feb 2008
    Location
    Kent
    Posts
    3,933
    Thanks
    710
    Thanked 717 Times in 557 Posts

    Default

    Quote Originally Posted by Miskellaneous View Post
    Hi Julie

    It wont let me change the links to a different colour for each one last time i tried, but will try again!
    Fab, i will get my email link set up.
    Thanks for the advice, very much appreciated
    It will if you highlight half the word then change the colour then highlight the other half and change it.


    example for links hightlight nks change then li change .

    It wont let you change it because the links are set in modify-page properties.

    Alvin

  11. #9
    I'm Getting to Know A1
    Join Date
    May 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    <a href="www.domain1.com"><font color="#FF0000">Anchor Text1</font></a> <a href="www.domain2.com"><font color="#00FF00">Anchor Text2
    </font></a>
    Should work but the font tag is deprecated long long ago, use inline CSS instead:
    HTML Code:
    <a href="www.domain1.com" style="color:red">Anchor Text1</a>
    if you want to use an image as a link just put an img tag instead of the text, like this
    HTML Code:
    <img src="./path/to/your/image.gif" style="border:0px" />

Tags for this Thread

Posting Permissions

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

Our Advertisers
Side Column
Text
Text
Text
Text
-->