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
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Why is text a different colour on website?

  • 09-01-2008 3:57pm
    #1
    Registered Users, Registered Users 2 Posts: 1,348 ✭✭✭


    I am using a trial version on Expression Web at the moment untill I get the full version. I seem to be finding my way round it slowly but I have one problem that I cannot fathom out. I have a table and the text that is in the cells is black, but when I publish it and open that web page the text is yellow and I've tried everything that I can with my limited knowlegde of Expressions but just can't fix it. Anyone know what I am doing wrong?


Comments

  • Registered Users, Registered Users 2 Posts: 706 ✭✭✭DJB


    can you show us the page online so we can then tell you what's causing it?


  • Closed Accounts Posts: 12,382 ✭✭✭✭AARRRGH


    If you don't want to show us the website, open the HTML for the page you've created and copy and paste the line of incorrect text here so we can take a look at it.

    You may need to copy and paste some other stuff after that, but we'll be able to figure it out for you.

    Note you'll be able to find the line by doing a find for the text which is being displayed in yellow


  • Registered Users, Registered Users 2 Posts: 706 ✭✭✭DJB


    It could be a CSS class causing it so seeing the whole page may benefit.


  • Closed Accounts Posts: 12,382 ✭✭✭✭AARRRGH


    DJB wrote: »
    It could be a CSS class causing it so seeing the whole page may benefit.

    Yeah, but I was thinking one step at a time... :)


  • Registered Users, Registered Users 2 Posts: 1,348 ✭✭✭vulcan57


    Thanks folks, I presume you mean this:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
    <html xmlns="http://www.w3.org/1999/xhtml&quot; xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">

    <head>
    <meta http-equiv="Content-Language" content="en-ie" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled 1</title>
    <style type="text/css">
    .style14 {
    border-style: solid;
    border-color: #800080;
    }
    a {
    color: #FFFF00;
    }
    a:visited {
    color: #00FF00;
    }
    .style1 {
    font-size: xx-large;
    font-family: "Comic Sans MS";
    color: #000080;
    }
    .style7 {
    font-size: larger;
    }
    .style8 {
    color: #800000;
    }
    .style15 {
    font-size: xx-large;
    font-family: "Comic Sans MS";
    color: #000080;
    margin-top: 1px;
    }
    .style6 {
    color: #FFFF00;
    font-size: large;
    }
    .style22 {
    border: 3px solid #800080;
    background-color: #336600;
    }
    .style23 {
    text-align: center;
    color: #000080;
    }
    .style13 {
    font-size: xx-large;
    font-family: "Comic Sans MS";
    }
    .style18 {
    border-style: solid;
    border-width: 2px;
    }
    .style17 {
    font-size: large;
    font-family: "Comic Sans MS";
    }
    .style28 {
    border: 3px solid #FFFFFF;
    margin-right: 0px;
    background-color: #800000;
    }
    .style33 {
    border: 2px solid #FFFFFF;
    background-color: #9999FF;
    }
    .style34 {
    color: #FFFF00;
    font-size: small;
    }
    .style35 {
    font-size: small;
    }
    .style36 {
    font-size: large;
    }
    .style37 {
    color: #FFFF00;
    font-size: small;
    font-weight: bold;
    }
    .style38 {
    font-size: small;
    font-weight: bold;
    }
    </style>
    </head>

    <body style="background-color: #008080">

    <div style="position: absolute; width: 432px; height: 100px; z-index: 1; left: 20px; top: 25px; visibility: visible" id="layer1" class="style1">
     <strong><span class="style7">Rogers AviPix</span><br />
    <span class="style8">Aviation photos</span></strong></div>
    <img src="Images/IMG_0499.jpg" width="968" height="200" class="style14" /><div style="position: absolute; width: 212px; height: 48px; z-index: 2; left: 752px; top: 33px" id="layer2" class="style15">
    <strong>Salthill 2006</strong></div>

    <br />
    <br />
    <span class="style6">
    <br />
    <table style="width: 39%" class="style22">
    <tr>
    <td style="width: 112px" class="style23">
    <strong><a href="Air%20Shows.htm"><span class="style13">
    <img src="Images/IMG_0947_small.jpg" width="100" height="66" class="style18" /><!-- MSComment="autothumbnail" xthumbnail-orig-image="file:///C:/Documents and Settings/Owner/My Documents/RogersAirPix/Images/IMG_0947.jpg" --><br />
    </span><span class="style17">Air Shows</span></a></strong></td>
    <td style="width: 173px" class="style23">
    <strong><a href="index.htm"><span class="style13">
    <img src="Images/1015396F_small.jpg" width="100" height="66" class="style18" /><!-- MSComment="autothumbnail" xthumbnail-orig-image="file:///C:/Documents and Settings/Owner/My Documents/RogersAirPix/Images/1015396F.jpg" --><br />
    </span><span class="style17">Home</span></a></strong></td>
    </tr>
    </table>
    <br />
    <table style="width: 95%" class="style28">
    <tr>
    <td class="style33" style="width: 72px">
    <a href="Images/DSCF1450alt.jpg">
    <img src="Images/DSCF1450alt_small.jpg" width="100" height="66" class="style18" /><!-- MSComment="autothumbnail" xthumbnail-orig-image="file:///C:/Documents and Settings/Owner/My Documents/RogersAirPix/Images/DSCF1450alt.jpg" --></a></td>
    </span>
    <span class="style34">
    <td class="style33" style="width: 526px">
    </span>
    <b><span class="style35"> Irish Coast Guard</span><span class="style36"><span class="style35">
    -</span></span><span class="style35"><br />
     Sikorsky S61N<span class="style36"> -
    </span>EI-   GCE<span class="style36"> -</span></span></b><span class="style35"><strong>
    23/June/2006</strong></span><span class="style6"></td>
    <td class="style33" style="width: 44px"><a href="Images/DSCF1539.jpg">
    <img src="Images/DSCF1539_small.jpg" width="100" height="75" class="style18" /><!-- MSComment="autothumbnail" xthumbnail-orig-image="file:///C:/Documents and Settings/Owner/My Documents/RogersAirPix/Images/DSCF1539.jpg" --></a></td>
    </span>
    <span class="style37">
    <td class="style33" style="width: 624px"><strong><span class="style35">
    IAC - Eurocopter EC-135P2 - 271 -</span></strong>
    </span>
    <span class="style36">
    <span class="style38">
    23/June/2006</td>
    </tr>
    </span>
    </span>
    <span class="style6">
    <tr>
    <td class="style33" style="width: 72px">
    <a href="Images/Salthill06-1.jpg">
    <img src="Images/Salthill06-1_small.jpg" width="100" height="75" class="style18" /><!-- MSComment="autothumbnail" xthumbnail-orig-image="file:///C:/Documents and Settings/Owner/My Documents/RogersAirPix/Images/Salthill06-1.jpg" --></a></td>
    <td class="style33" style="width: 526px">
    <span class="style38">
    <strong><span class="style35">IAC - Eurocopter EC-135P2 - 271 -</span></strong>
    </span>
    <span class="style36">
    <span class="style38">
    23/June/2006</span></span></td>
    <td class="style33" style="width: 44px">
    <a href="Images/Salthill06-2.jpg">
    <img src="Images/Salthill06-2_small.jpg" width="100" height="66" class="style18" /><!-- MSComment="autothumbnail" xthumbnail-orig-image="file:///C:/Documents and Settings/Owner/My Documents/RogersAirPix/Images/Salthill06-2.jpg" --></a></td>
    <td class="style33" style="width: 624px"><b><span class="style35">IAC -
    Aerospatiale SA316B Alouette III - 213 -  </span></b>
    <span class="style38">23/June/2006</span></td>
    </tr>
    <tr>
    <td class="style33" style="height: 65px; width: 72px">
    <a href="Images/Salthill06-3.jpg">
    <img src="Images/Salthill06-3_small.jpg" width="100" height="75" class="style18" /><!-- MSComment="autothumbnail" xthumbnail-orig-image="file:///C:/Documents and Settings/Owner/My Documents/RogersAirPix/Images/Salthill06-3.jpg" --></a></td>
    <td class="style33" style="height: 65px; width: 526px"><b>
    <span class="style35">Royal Navy - Westland Sea King AEW.7 - XV707 -
    </span></b><span class="style38">23/June/2006</span></td>
    <td class="style33" style="height: 65px; width: 44px">
    <a href="Images/Salthill06-4.jpg">
    <img src="Images/Salthill06-4_small.jpg" width="100" height="66" class="style18" /><!-- MSComment="autothumbnail" xthumbnail-orig-image="file:///C:/Documents and Settings/Owner/My Documents/RogersAirPix/Images/Salthill06-4.jpg" --></a></td>
    <td class="style33" style="height: 65px; width: 624px">
    <span class="style38">
    IAC - Eurocopter EC-135P2 - 271 -
    </span>
    <span class="style36">
    <span class="style38">
    23/June/2006</span></span></td>
    </tr>
    <tr>
    <td class="style33" style="width: 72px"> </td>
    <td class="style33" style="width: 526px"> </td>
    <td class="style33" style="width: 44px"> </td>
    <td class="style33" style="width: 624px"> </td>
    </tr>
    <tr>
    <td class="style33" style="width: 72px"> </td>
    <td class="style33" style="width: 526px"> </td>
    <td class="style33" style="width: 44px"> </td>
    <td class="style33" style="width: 624px"> </td>
    </tr>
    <tr>
    <td class="style33" style="width: 72px"> </td>
    <td class="style33" style="width: 526px"> </td>
    <td class="style33" style="width: 44px"> </td>
    <td class="style33" style="width: 624px"> </td>
    </tr>
    <tr>
    <td class="style33" style="width: 72px"> </td>
    <td class="style33" style="width: 526px"> </td>
    <td class="style33" style="width: 44px"> </td>
    <td class="style33" style="width: 624px"> </td>
    </tr>
    <tr>
    <td class="style33" style="width: 72px"> </td>
    <td class="style33" style="width: 526px"> </td>
    <td class="style33" style="width: 44px"> </td>
    <td class="style33" style="width: 624px"> </td>
    </tr>
    <tr>
    <td class="style33" style="width: 72px"> </td>
    <td class="style33" style="width: 526px"> </td>
    <td class="style33" style="width: 44px"> </td>
    <td class="style33" style="width: 624px"> </td>
    </tr>
    <tr>
    <td class="style33" style="width: 72px"> </td>
    <td class="style33" style="width: 526px"> </td>
    <td class="style33" style="width: 44px"> </td>
    <td class="style33" style="width: 624px"> </td>
    </tr>
    </table>
    </span>

    </body>

    </html>


    This is for the whole page so far.

    Thanks again.


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 9,579 ✭✭✭Webmonkey


    What text is causing the problems?


  • Registered Users, Registered Users 2 Posts: 1,348 ✭✭✭vulcan57


    Sorry, thought you wanted the whole page if possible, The actual text that I can see is this section:

    </span>
    <b><span class="style35"> Irish Coast Guard</span><span class="style36"><span class="style35">
    -</span></span><span class="style35"><br />
     Sikorsky S61N<span class="style36"> -
    </span>EI-   GCE<span class="style36"> -</span></span></b><span class="style35"><strong>
    23/June/2006</strong></span><span class="style6"></td>
    <td class="style33" style="width: 44px"><a href="Images/DSCF1539.jpg">
    <img src="Images/DSCF1539_small.jpg" width="100" height="75" class="style18" /><!-- MSComment="autothumbnail" xthumbnail-orig-image="file:///C:/Documents and Settings/Owner/My Documents/RogersAirPix/Images/DSCF1539.jpg" --></a></td>
    </span>
    <span class="style37">
    <td class="style33" style="width: 624px"><strong><span class="style35">
    IAC - Eurocopter EC-135P2 - 271 -</span></strong>
    </span>
    <span class="style36">
    <span class="style38">
    23/June/2006</td>
    </tr>
    </span>
    </span>
    <span class="style6">
    <tr>
    <td class="style33" style="width: 72px">
    <a href="Images/Salthill06-1.jpg">
    <img src="Images/Salthill06-1_small.jpg" width="100" height="75" class="style18" /><!-- MSComment="autothumbnail" xthumbnail-orig-image="file:///C:/Documents and Settings/Owner/My Documents/RogersAirPix/Images/Salthill06-1.jpg" --></a></td>
    <td class="style33" style="width: 526px">
    <span class="style38">
    <strong><span class="style35">IAC - Eurocopter EC-135P2 - 271 -</span></strong>
    </span>
    <span class="style36">
    <span class="style38">
    23/June/2006</span></span></td>
    <td class="style33" style="width: 44px">
    <a href="Images/Salthill06-2.jpg">
    <img src="Images/Salthill06-2_small.jpg" width="100" height="66" class="style18" /><!-- MSComment="autothumbnail" xthumbnail-orig-image="file:///C:/Documents and Settings/Owner/My Documents/RogersAirPix/Images/Salthill06-2.jpg" --></a></td>
    <td class="style33" style="width: 624px"><b><span class="style35">IAC -
    Aerospatiale SA316B Alouette III - 213 -  </span></b>
    <span class="style38">23/June/2006</span></td>
    </tr>
    <tr>
    <td class="style33" style="height: 65px; width: 72px">
    <a href="Images/Salthill06-3.jpg">
    <img src="Images/Salthill06-3_small.jpg" width="100" height="75" class="style18" /><!-- MSComment="autothumbnail" xthumbnail-orig-image="file:///C:/Documents and Settings/Owner/My Documents/RogersAirPix/Images/Salthill06-3.jpg" --></a></td>
    <td class="style33" style="height: 65px; width: 526px"><b>
    <span class="style35">Royal Navy - Westland Sea King AEW.7 - XV707 -
    </span></b><span class="style38">23/June/2006</span></td>
    <td class="style33" style="height: 65px; width: 44px">
    <a href="Images/Salthill06-4.jpg">
    <img src="Images/Salthill06-4_small.jpg" width="100" height="66" class="style18" /><!-- MSComment="autothumbnail" xthumbnail-orig-image="file:///C:/Documents and Settings/Owner/My Documents/RogersAirPix/Images/Salthill06-4.jpg" --></a></td>
    <td class="style33" style="height: 65px; width: 624px">
    <span class="style38">
    IAC - Eurocopter EC-135P2 - 271 -
    </span>
    <span class="style36">
    <span class="style38">
    23/June/2006</span></span></td>


  • Registered Users, Registered Users 2 Posts: 35,524 ✭✭✭✭Gordon


    Comic Sans AARGH!

    If you want a quick fix then change your .style6 to a different colour - right now .style6 is set to yellow #FFFF00, you can change this to #000000 for example which will give you black.

    If you want to know why this is the case then I suggest you look into CSS and HTML here for example. This is one reason why using this kind of program is not used by Webmasters as it eventually becomes a massive block of seemingly meaningless code that you can't track easily.

    Hope that helps!

    just to clarify:
    change -

    .style6 {
    color: #FFFF00;
    font-size: large;
    }

    to this

    .style6 {
    color: #000000;
    font-size: large;
    }


  • Registered Users, Registered Users 2 Posts: 1,348 ✭✭✭vulcan57


    Cheers Gordon, seems to have fixed it.


Advertisement