Page 1 of 3 123 LastLast
Results 1 to 10 of 24

Thread: HTML / CSS help

  1. #1
    Senior Member
    Join Date
    Dec 2004
    Location
    Auckland
    Posts
    5,067

    Question HTML / CSS help

    I am currently doing a website for a family friend and I am having a problem...

    If you have a look at the site here (I am still building the site, so none of the link work) you will see their is a blue navigation bar with yellow link text,

    The problem is when I do links in the white section of the site (The content area) (As you can see under “We are located at”), the links are also yellow (which is very hard to see!)

    Want I would link to do is make the content (White area) link colour not yellow but another colour & also keeping the navigation bar links colour yellow.

    Hope that’s makes sense

    Can that be done??

  2. #2
    Jedi master Rob99's Avatar
    Join Date
    Dec 2004
    Location
    In the wop wops
    Posts
    3,532

    Default Re: HTML / CSS help

    I wont even comment on your code...

    You could try
    Code:
    .style13 a {color:red}
    Edit:..
    relooking at your code you may also need this
    Code:
    a.style13 {color:red}
    Last edited by Rob99; 03-04-2009 at 12:52 PM.
    Laziness is nothing more than the habit of resting before you get tired.

  3. #3
    Baking. bob_doe_nz's Avatar
    Join Date
    Dec 2004
    Location
    In the kitchen
    Posts
    5,198

    Default Re: HTML / CSS help

    Never mind
    Last edited by bob_doe_nz; 03-04-2009 at 12:52 PM. Reason: I'm a dufus
    My shutdown application

    Call me Angel Nob Bobstickles. The baking vending builder who can't fix it.

  4. #4
    Jedi master Rob99's Avatar
    Join Date
    Dec 2004
    Location
    In the wop wops
    Posts
    3,532

    Default Re: HTML / CSS help

    Here is a stylish script showing it working.
    Code:
    @namespace url(http://www.w3.org/1999/xhtml);
    
    @-moz-document url("http://stuartw.orconhosting.net.nz/press_f1/website/") {
    .style13 a,
    a.style13
    {color:red !important;}
    }
    Laziness is nothing more than the habit of resting before you get tired.

  5. #5
    Noobish Pirate hueybot3000's Avatar
    Join Date
    Mar 2007
    Location
    At Sea
    Posts
    2,985

    Default Re: HTML / CSS help

    Nevermind?

    Since the whole page is a table why not just make a cell for those 2 links and give the cell an a and a:hover style

  6. #6
    Senior Member
    Join Date
    Dec 2004
    Location
    Auckland
    Posts
    5,067

    Default Re: HTML / CSS help

    Quote Originally Posted by Rob99 View Post
    I wont even comment on your code...
    What’s wrong with the code? (I am using CSS now, compared to some of my older websites...)

  7. #7
    Senior Member
    Join Date
    Dec 2004
    Location
    Auckland
    Posts
    5,067

    Default Re: HTML / CSS help

    Quote Originally Posted by Rob99 View Post
    You could try
    Code:
    .style13 a {color:red}
    Edit:..
    relooking at your code you may also need this
    Code:
    a.style13 {color:red}
    Thank you Rob99

    That works like a treat!!


  8. #8
    Jedi master Rob99's Avatar
    Join Date
    Dec 2004
    Location
    In the wop wops
    Posts
    3,532

    Default Re: HTML / CSS help

    Quote Originally Posted by stu161204 View Post
    What’s wrong with the code? (I am using CSS now, compared to some of my older websites...)
    Inline style sheet, never a good look.

    Names like .style13 are meaningless.

    The site is constructed with tables for layout, IMHO very bad.

    Here is a few sites for you to look at, the templates are free, if I was you I would grab one of these to work with.
    http://www.opensourcetemplates.org/
    http://www.oswt.co.uk/
    Laziness is nothing more than the habit of resting before you get tired.

  9. #9
    Senior Member
    Join Date
    Dec 2004
    Location
    Auckland
    Posts
    5,067

    Default Re: HTML / CSS help

    Quote Originally Posted by Rob99 View Post
    relooking at your code you may also need this
    Code:
    a.style13 {color:red}
    Is it possible with that code for the link to either as you move your mouse over it to turn to #00FFFF and then after some visit that link to turn to #FFCC00;

    Can that be done??

  10. #10
    Correct my English!
    Join Date
    Feb 2005
    Location
    Cycling somewhere
    Posts
    6,292

    Default Re: HTML / CSS help

    I guess applying vlink should do that colour trick?

    Free, 24/7 telephone health advice service | Healthline - 0800 611 116

    Smoking KILLS. Don't let your life be ruled by cigarettes. | Quitline - 0800 778 778 ‎

    Join the unofficial PressF1 WCG team!



Similar Threads

  1. HTML "target" help. HTML Pros NEEDED!
    By Hollow in forum PressF1
    Replies: 2
    Last Post: 21-05-2006, 12:05 AM
  2. html help =C
    By Codex in forum PressF1
    Replies: 2
    Last Post: 13-01-2006, 10:41 PM
  3. HTML
    By Lachrymatory in forum PressF1
    Replies: 3
    Last Post: 28-07-2003, 10:05 PM
  4. Replies: 3
    Last Post: 12-10-2001, 07:37 PM
  5. html help
    By in forum PressF1
    Replies: 0
    Last Post: 28-01-2001, 02:46 PM

Posting Permissions

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