Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

hmmm IE issues

Options
  • 17-06-2007 10:52am
    #1
    Registered Users Posts: 1,757 ✭✭✭


    Hey guys,
    Right, a website I am messing around with shows up perfectly in FF
    but when it comes to IE it shows the links as green?? WTF
    I have specified the links to appear grey!!!
    Remember I am a noob!! So any ideas?
    Exact code:

    <body bgcolor=black text=white link=grey alink=grey vlink=grey>

    <body leftmargin=20 rightmargin=20
    topmargin=20 bottommargin=20>


    Thanks guys


Comments

  • Registered Users Posts: 3,594 ✭✭✭forbairt


    Have you a style sheet somewhere ?

    Have you a link to the page ...

    Have you browser defaults overriding the page ?


  • Registered Users Posts: 1,757 ✭✭✭Deliverance XXV


    Hi, thanks for the fast reply,
    Only about to start learning CSS so no style sheets yet.
    www.cckilkenny.com (not my site, a friend was stuck for basic site so I jumped in)
    Browser defaults?
    Thanks again


  • Registered Users Posts: 3,594 ✭✭✭forbairt


    Hi, thanks for the fast reply,
    Only about to start learning CSS so no style sheets yet.
    www.cckilkenny.com (not my site, a friend was stuck for basic site so I jumped in)
    Browser defaults?
    Thanks again


    OK you are referencing a colour called grey ... it should be gray ... as its seeing gre as the first few letters ... I'd assume its making it green ...

    hopefully that helps ...

    BTW ... the html code is really ALL over the place in there ..
    multiple heads / bodys and so on ... its going to cause problems at any rate if you don't fit it

    James


  • Closed Accounts Posts: 1,200 ✭✭✭louie


    Sorry mate but as it was said above your code is all over the place.


  • Registered Users Posts: 1,757 ✭✭✭Deliverance XXV


    Hi guys, thanks for the heads up!
    Just started reading through a HTML tutorial bout 2 weeks ago
    so that should explain my code!!
    Nonetheless, I will have to travel through and tidy it up.
    The gray/grey (americanisms!:D eg. color/colour)sounds reasonable, will give that a try.
    Cheers guys


  • Advertisement
  • Registered Users Posts: 7,041 ✭✭✭Seachmall


    If that doesn't work try using the RGB (I think its the RGB). Heres a quick list of greys (grays).

    #c0c0c0
    #808080
    #404040
    #202020

    Use an image (graphics) editor to locate the exact gray you want.

    Also you've repeated the <html>, <head> and <meta> tags twice

    S.


  • Closed Accounts Posts: 146 ✭✭teckoda


    firstly...

    when defining an attribute within any HTML tag.. the value should be in double quotation. Secondly, when defining colours within HTML, it should be in hexadecimal form, and not worded.. Having said that, you could of course use CSS to define colours using wording within HTML, but im guessing you havn't touched upon the topic of Style sheets yet.

    So basically, all of what you wrote, should look like this.

    <tag attribute="example">

    And for colours,

    <body bgcolor="#000000"> Which would give you a black background. Although, these methods are long outdated and CSS has replaced this mess.

    So go to w3schools and learn some CSS.


  • Registered Users Posts: 14,761 ✭✭✭✭Winters


    Seachmall wrote:
    If that doesn't work try using the RGB (I think its the RGB). Heres a quick list of greys (grays).

    #c0c0c0
    #808080
    #404040
    #202020

    They are HEX values, not RGB. You can use RGB when using CSS. For example: a {color: rgb(0,0,255)}.

    As to the OP. Learn CSS and how to code your site using it. You are currently using many depreciated html elements which are outdated and should not really be used on websites anymore.

    Also, dont use images to contain textual information. This stops search engines from being able to read their content and ruins accessibility. You also have the <html> and meta tags twice and for some reason have a meta refresh in there, which isint needed at all, unless you have a reason to have it.


  • Registered Users Posts: 1,757 ✭✭✭Deliverance XXV


    Hey thanks guys,
    Changing grey to gray certainly worked!
    I have just purchased a css tutorial book, and together with w3schools
    I hope to become somewhat proficient in html and css.

    I have tidied the code a little so I hope it makes easier reading.
    Have no idea where the extra meta code came from?!:confused:
    One thing, anyone know offhand how to set the address image in the address bar as to one of your own?
    Thanks for any help guys, will certainly take all hints on board. :D


  • Registered Users Posts: 14,761 ✭✭✭✭Winters


    One thing, anyone know offhand how to set the address image in the address bar as to one of your own?
    If you mean the 'favicon' that appears when a site, read up on this: http://en.wikipedia.org/wiki/Favicon


  • Advertisement
  • Registered Users Posts: 1,757 ✭✭✭Deliverance XXV


    That's the one!!
    Thanks very much Winters


Advertisement