+ Reply to Thread
Results 1 to 5 of 5

Thread: Problem with code

  1. #1
    Jarryd's Avatar
    Jarryd is offline Community Advocate Jarryd has a spectacular aura about
    Join Date
    Nov 2007
    Location
    Darwin, Australia
    Posts
    5,531

    Problem with code

    Hey guys,
    I am having a little trouble with my website, i am no PHP or HTML pro... i basically use a visual html editor, although i do understand parts of html, thats how i added some extra things in...But... as you can see on my index page, there are 4 links to websites, one is banlist.nl and others are x10hosting and stuff...basically, i want all my links to be a white colour on the black background, but then i want the blue links on the white background, when the blue links are clicked, there should be no colour change for visited links, This is the same for the links at the top of the page, so basically, i want page links to be White, with no visited link colour, i want white background links blue, with no colour change, would i need to use css to do this? or can it be done in just plain html? If it needs to be done in CSS can anyone please help me with that?

    My websites link is http://sheeplist.exofire.net
    Last edited by Jarryd; 11-26-2007 at 12:59 PM. Reason: added URL
    Jarryd Sullivan
    █ 888-X10-9668 - Jarryd[@]x10hosting.com
    x10Hosting - Giving Away Hosting Since 2004

  2. #2
    dinomario10's Avatar
    dinomario10 is offline x10Hosting Member dinomario10 is an unknown quantity at this point
    Join Date
    Nov 2007
    Location
    Zagreb
    Posts
    4

    Exclamation Dreamweaver downloaded

    Ok, now I've downloaded Dreamweaver. Can Dreamweaver help me to create my site? :naughty:

  3. #3
    Russ's Avatar
    Russ is offline Retired ***** Russ is an unknown quantity at this point
    Join Date
    Sep 2007
    Posts
    3,162

    Re: Problem with code

    Dinomario10:

    Yes, you can use that to create a site. a google search can help you with this, or you can post questions here.
    x10 Chat is now available! Live Support!

    DO NOT PRIVATE MESSAGE STAFF - WE ARE BUSY

  4. #4
    GamingX's Avatar
    GamingX is offline Executive Team GamingX is an unknown quantity at this point
    Join Date
    Aug 2007
    Location
    Bangalore, India
    Posts
    6,353

    Re: Problem with code

    Dimario: If you have any problems or require anything, post a new thread.
    Syed
    Executive Team
    www.x10hosting.com

    Phone #: 1-888-X10-9668 -> Ext: 709

  5. #5
    hypercss is offline x10Hosting Member hypercss is an unknown quantity at this point
    Join Date
    Nov 2007
    Posts
    5

    Re: Problem with code

    Hey Hellsheep,

    It is actually much easier than you think. CSS is always a good way to go as you can control large amount of layout changes with as little effort possible. Though, if you dont have a .css file, dont stress for now, you will eventually get the hang of this and figure it out.

    In any case, back to your problem. View your file in code view, if your editor doesn't have a code view option, edit it with notepad. Look for the tag </head> and place the code below right above that.
    Code:
    <style type="text/css">
      a:link
      {    color: white;    }
      a:hover
      {    color: white;    }
      a:visted
      {    color: white;    }
    </style>
    What this does is to change all <a> tags properties for link, hover and visited to white.

    Your second option would be to specify the colours in the body tag, so where your body tag opens, you would do something like;
    Code:
    <body alink="white" link="white" vlink="white">
    This again would change all <a> tag properties for link, hover and visited to white.

    There is a third way of doing this, and as far as my knowledge goes, it is for changing a single <a> tags colour, but that tag would inherit the colour to all three properties and you only specify one (I have not used this method before so I might be off target here).
    Code:
    <a style="color: red" href="www.google.co.za">Google</a>"
    Hope this helps.

+ Reply to Thread

Similar Threads

  1. how can i convert Php pages and code into asp pages and code
    By n4tec in forum Scripts & 3rd Party Apps
    Replies: 11
    Last Post: 01-10-2009, 09:40 PM
  2. New x10 ad code
    By yahia in forum Feedback and Suggestions
    Replies: 23
    Last Post: 01-02-2007, 12:56 PM
  3. Problem with ad code (includes?)
    By Salvatos in forum Free Hosting
    Replies: 10
    Last Post: 12-12-2006, 04:16 PM
  4. Ad Code Question
    By reiterb in forum Free Hosting
    Replies: 1
    Last Post: 08-18-2005, 09:29 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers