yandoo Posted September 14, 2007 Share Posted September 14, 2007 Hi, Im slightly perplexed as i have created a menu on the left of my page with a grey background to it. When i vie the page in i exploerer that background is grey as it should be...but whern i view it in mozzilla firefox 2.0 i dont.... However, this is the wired bit and that there is only one page in my site that has the correclt menu background color in firefox as it does in iexplorer. The code as far s i can see is identical?????? This is the typical page that has the menu color working in explorer but not in Firefox: <td width="19%" height="803" align="left" valign="top" bgcolor="eeeeee"><table width="90%" border="0" align="center"> Here is the xcode form the page that dislpays thd correct backgroundi n both iexplorer and firefox: <td width="19%" height="766" align="left" valign="top" bgcolor="eeeeee"><table width="90%" border="0" align="center"> What the hells going on??? Thanks Quote Link to comment https://forums.phpfreaks.com/topic/69349-solved-same-code-views-code-differently/ Share on other sites More sharing options...
Jessica Posted September 14, 2007 Share Posted September 14, 2007 This is a HTML/CSS problem. However, the answer is that you are missing the # symbol in front of your color codes. Do some research on CSS while you're at it Quote Link to comment https://forums.phpfreaks.com/topic/69349-solved-same-code-views-code-differently/#findComment-348434 Share on other sites More sharing options...
yandoo Posted September 14, 2007 Author Share Posted September 14, 2007 Thats fantastic, thank you ive obviously beren looking at the screen far to long to miss this! Quote Link to comment https://forums.phpfreaks.com/topic/69349-solved-same-code-views-code-differently/#findComment-348436 Share on other sites More sharing options...
cooldude832 Posted September 14, 2007 Share Posted September 14, 2007 pretty print editors will help, but as was mentioned css is better as using on tag attributes is frowned upon. Quote Link to comment https://forums.phpfreaks.com/topic/69349-solved-same-code-views-code-differently/#findComment-348437 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.