FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Whats wrong with my code?





Mark999111
hey

This is the code i have for a page on my site (im just using this page as an example):

Code:
<html>
<head>
<title>::BOP:: Burning Ben</title>
<style type="text/css">
body {background-color: #BDFB5C}
body {font-size: medium}
body {font-family: arial}
body {margin-left: 4cm}
body {margin-right: 4cm}
a:link {color: #BDFB5C}
a:link:hover {color: black; background-color: #BDFB5C;}
a:link:visited {color: black; background-color: #BDFB5C;}
</style></head>

<body>

<div align="left"><img src="http://bop.frih.net/banner.jpg" width="700" height="200" border="2"></div>
<table>
<table border="0" cellpadding="0" bgcolor="#000000" align="left">

<tr>
<td align="center"><font color="#BDFB5C"><b>Navigation</b></font></td>
</tr>

<tr>
<td align="center">
<a href="http://bop.frih.net/index.html">Home</a>
<br>
<a href="http://bop.frih.net/videos.html">Videos</a></td>
</tr>
</table>

<table width="618" border="0" bgcolor="#000000">
<tr>
    <td width="608" align="center"><font color="#BDFB5C" size="+2"><b>Videos: Burning Ben</b></font></td>
  </tr>
  <tr>
  <td><div align="center"><br>
  <font color="#BDFB5C"><font color="#BDFB5C">A big fat guy called ben soaks himself in petrol, the
  obvious happens next.</font>
  <br>
  <br>
        <embed src="http://bop.frih.net/burningben.wmv" embed width="320" height="240"></embed>
  </div>
      <br>
      </td></tr>
</table>


</body>


I used CSS so that when a link is hovered on by the cursor it highlights basicly and it worked in the dreamweaver preview, but when i changed the URL of the link destination to the bop.frih/file.html one, it didnt work and now the link is just blue all the time - which sucks!

Heres the page if you want a look: http://bop.frih.net/burningben.html

So, any ideas?
arch23
If I got you right - you should change the style for the "visited" links - make then the same as a regular link, so they won't turn blue.
Israfel
I checked out your site and the links worked fine for me. They highlight ok and even after you visit them they aren't blue. I'm using Mozilla Firefox 1.0.7. What browser are you using?
fathomer6279
need ny help understnding html or scripting it?
jst go to www.w3schools.com/html/
Also I recommend using CSE HTML Validator Lite as it is a gd validator, it can help u chnge ur errors and it is free!!!!
Mark999111
got it cleared up, thanks!
SamiTheBerber
Mark999111 wrote:
got it cleared up, thanks!

Fix the game.html because it use same css in navigation and images.
Related topics
islam is...
So is everyone here using HTML coding???
[solved] Weird mysql error
insert data to mySQL database problem
Code help
Signature Code
whats wrong with my database
Don't know what's wrong
whats wrong with this php script?
911
Checking if user exists, whats wrong?
Frihost whats wrong,i can'tsendprivate messages
Are they FAKE
Database not update. Where is my wrong code?
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.