Web Analytics Made Easy -
StatCounter CSS File Overiding Hard Coded Code? - CodingForum

Announcement

Collapse
No announcement yet.

CSS File Overiding Hard Coded Code?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • CSS File Overiding Hard Coded Code?

    Hi all,

    I'm hoping someone can help. I've just integrated our new affiliate system into our website design, yet even though some code is hard coded, there seems to be something overiding it for some reason.

    In terms of colours, this is how it should look:

    LINK REMOVED

    Yet on my site, the dark blue background colours at the top and bottom are not there. I have a look at the source code, it is hard coded to dark blue, so why is there no dark blue background?

    LINK REMOVED

    It seems to be something from the main website causing this issue, but I can't figure out what.

    Any help appreciated.

    PROBLEM RESOLVED
    Last edited by brat42; Aug 26, 2011, 08:54 AM.

  • #2
    You should fix the errors on your site...That could be causing the problem. for example, you have this at the top:

    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">
    <head>
    You can have 2 doctype declarations or head or html declarations.

    I don't do designs with tables, but you can also fix the issue by changing "bgcolor=#A9C1FB" to "style="background-color: #A9C1FB;"

    Or you can assign that TD a class name, and then with CSS set the background color.
    WordPress Designer and theme developer. KlongDesigns - helping bloggers and non-technical folks claim their space on the internet.

    Comment

    Working...
    X
    😀
    🥰
    🤢
    😎
    😡
    👍
    👎