Jump to content
GarryOne

Problema HTML & CSS

Recommended Posts

Posted

am

top.php

<table width="100%"  cellpadding="0" height="200" cellspacing="0" border="0" bgcolor="#000000">
<tr>
<td>

<p align="right" valign="top">
<a href="" >Page 1   |   </a>
<a href="" >Page 2   |   </a>
<a href="" >Page 3   |   </a>
<a href="" >Page 4   |   </a>
<a href="" >Page 5   </a>
</p>
</td>
</tr>
</table>

si

style.css

a:link {
font-family: Comic Sans MS;
font-size: 14px;
text-decoration: none;
color:white;
margin-top:0;
vertical-align:text-top;
}

a:hover {
font-family: Comic Sans MS;
font-size: 14px;
text-decaration:underline;
color:white;
margin-top:0;
vertical-align:text-top;

}

a:visited {
text-decoration: none;
font-family: Comic Sans MS;
font-size: 14px;
color:white;
margin-top:0;
vertical-align:text-top;
}

si

index.php

<html>
<head>
<title>Blogger</title>
<link href="style.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="js/jquery.js"></script>
</head>

<body leftmargin="0" topmargin="0" bgcolor="#BABABA">

<?php
include ('top.php');
?>

la index totul e corect, am pus ca sa va dati seama cum merge treaba. Problema este in style.css sau in top.php .

Link-urile normal trebuie sa se puna sus, insa se pun jos, am declarat prin <p valign="top"> si oricum nu merge, nici partea css nu fucntioneaza, cand dau mouseover nu se face underline, nustiu ce are

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...