Ver Mensaje Individual
  #14 (permalink)  
Antiguo 26/09/2011, 19:06
Avatar de emprear
emprear
Colaborador
 
Fecha de Ingreso: junio-2007
Ubicación: me mudé
Mensajes: 8.388
Antigüedad: 16 años, 10 meses
Puntos: 1567
Respuesta: problemas con colores de links de menu. Menu embebido con php include

Estas haciendo una gran mezcla, los estilos definilos en el head, no en el include, ahi solo pone los links, vi un par de rutas con file://.... pone las rutas de tu web.
saca de la etiqueta body todos los atributos de links, te paso tu código algo más limpio, le puse un color de fondo al body para que contraste. Por ultimo cuando pases código en los posts, usa el "Highlight" del editor, asi es más facil de analizar.
guarda este código y ejecutalo, mucha más indicación no es necesaria

Código HTML:
Ver original
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2.    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <title>The Chic Magazine - Home</title>
  6. <link href="template.css" rel="stylesheet" type="text/css" />
  7. <style type="text/css">
  8. /*<![CDATA[*/
  9. #apDiv1 {
  10. position:absolute;
  11. left:382px;
  12. top:235px;
  13. width:118px;
  14. height:301px;
  15. z-index:1;
  16. }
  17. #apDiv2 {
  18. position:absolute;
  19. left:25px;
  20. top:273px;
  21. width:480px;
  22. height:350px;
  23. z-index:1;
  24. }
  25. #apDiv3 {
  26. position:absolute;
  27. left:382px;
  28. top:273px;
  29. width:128px;
  30. height:421px;
  31. z-index:2;
  32. }
  33. #apDiv4 {
  34. position:absolute;
  35. left:24px;
  36. top:589px;
  37. width:351px;
  38. height:104px;
  39. z-index:3;
  40. }
  41. body {
  42. background-color: #000;
  43. }
  44.  
  45. body,td,th {
  46. color: #FFF;
  47. }
  48.  
  49. a {
  50. color: #FFF;
  51. }
  52. /*]]>*/
  53.  
  54. <script src="file:///C|/Webserver/www/Scripts/swfobject_modified.js" type="text/javascript">
  55. </head>
  56. <div class="container">
  57. <div class="header">
  58. <div class="logo"><img src="logo.png" width="200" height="140" alt="The Chic Magazine" /></div>
  59.  
  60. <div class="mag_counter"><?php include('mag_counter.php'); ?></div>
  61. <div class="login">
  62. <form action="login_script.php" method="post" enctype="multipart/form-data" name="form1" id=
  63. "form1"><input name="email" type="text" id="email" /> &nbsp;&nbsp; <input name="password" type=
  64. "password" id="password" /> &nbsp;<span class="sign_up">&nbsp;<span class="sign_up"><span class=
  65. "sign_up"><a href="login_script.php" class="sign_up"><span class="login_signup">Log
  66. In</span></a></span></span></span> |<span class="login_signup">&nbsp;<a href="register.php" class=
  67. "sign_up"><span class="login_signup">Sign Up</span></a></span></form>
  68. </div>
  69. <div class="mainbanner"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="755"
  70. height="105" id="FlashID2" title="top_banner"><param name="movie" value="top_banner.swf" />
  71. <param name="quality" value="high" />
  72. <param name="wmode" value="transparent" />
  73. <param name="swfversion" value="6.0.65.0" />
  74. <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
  75. <param name="expressinstall" value="file:///C|/Webserver/www/Scripts/expressInstall.swf" />
  76.  
  77. <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
  78. <!--[if !IE]>-->
  79. <object type="application/x-shockwave-flash" data="top_banner.swf" width="755" height="105">
  80. <!--<![endif]-->
  81. <param name="quality" value="high" />
  82. <param name="wmode" value="transparent" />
  83. <param name="swfversion" value="6.0.65.0" />
  84. <param name="expressinstall" value="file:///C|/Webserver/www/Scripts/expressInstall.swf" />
  85. <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
  86. <div>
  87. <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
  88. <p><a href="http://www.adobe.com/go/getflashplayer"><img src=
  89. "http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt=
  90. "Get Adobe Flash player" width="112" height="33" /></a></p>
  91. </div>
  92. <!--[if !IE]>--></object> <!--<![endif]--></object></div>
  93. <div class="menu"><a href="index.php" class="top_menu">home</a> | <a href="news.php" class=
  94. "top_menu">news</a> | <a href="photos.php" class="top_menu">photos</a> | <a href="videos.php"
  95. class="top_menu">videos</a> | <a href="radio.php" class="top_menu">radio</a> | <a href=
  96. "contest.php" class="top_menu">contest</a> | <a href="events.php" class="top_menu">events</a> |
  97.  
  98. <a href="vendors.php" class="top_menu">vendors</a> | <a href="contact.php" class=
  99. "top_menu">contact</a></div>
  100. </div>
  101. ..........
  102. <div class="footer"><?php include('copyright.php'); ?></div>
  103. <script type="text/javascript">
  104. //<![CDATA[
  105. swfobject.registerObject("FlashID2");
  106. swfobject.registerObject("FlashID");
  107. //]]>
  108. </script></div>
  109. </body>
  110. </html>


Y todo esto sin saber que hay en el "template.css"
__________________
La voz de las antenas va, sustituyendo a Dios.
Cuando finalice la mutación, nueva edad media habrá
S.R.