safari problem with screen display html

Posted on 2007-08-10
Last Modified: 2013-11-19
I am having a problem with safari. The menu bar does not render correctly, but works fine in IE and Mozilla. I have tried numerous ways to try to fix this, but I am stuck.

Here is the code for the header.htm file which is a php include.

<div style="width: 800px; height: auto; background-image:url(images/bkg-header2.jpg); background-repeat:repeat-x;" class="login"><table width="85" cellspacing="4" cellpadding="3" border="0" align="right" class="dl_table"><tbody><tr><td width="85" bgcolor="#d6dce1"><a href="#" class="login" onclick="javascript: secondwindow =open('','login','height=900, width=900, scrollbars=yes,resizable=yes,top=100,left=100,screenx=100,screeny=100,addressbar=1,toolbar=1,statusbar=1,menubar=1'); secondwindow.focus();">-login-</a></td></tr><tr><td width="85"  bgcolor="#aac7de"><a href="#" class="login" onclick="javascript: secondwindow = open('','login','height=900,width=900, scrollbars=yes,resizable=yes,top=100,left=100,screenx=100,screeny=100,addressbar=1,titlebar=yes,location=yes,toolbar=1,statusbar=1,menubar=1');secondwindow.focus();">-register-</a></td></tr></tbody></table><img src="images/logo-hack.jpg"/><img src="images/fill.jpg" /><img src="images/fill.jpg" /><a href="contact.php"><img src="images/helpa.jpg" style="border:none"/></a><img width="52" height="50" border="0" src="images/users.jpg"/><img src="images/house.jpg" /></div>

Here is the css

.content .login{table_align: right; font-size: 11px; top: auto; width: auto; padding-left: 4px; padding-right: 4px; padding-top: 4px; padding-bottom: 4px; color: #0e4075;  text-decoration:none; font-style: normal;}

.login A:link{ font-size: 11px; BORDER-RIGHT: #121212 0px solid; FONT-WEIGHT: bold; COLOR: #606a84; padding-left: 4px; padding-right: 4px; padding-top: 4px; padding-bottom: 4px; TEXT-DECORATION:none; }

.login A:visited {font-size: 11px; BORDER-RIGHT: #ffffff 0px solid; FONT-WEIGHT: bold; COLOR: #606a84; padding-left: 4px;
padding-right: 4px; padding-top: 4px; padding-bottom: 4px; TEXT-DECORATION: none;}

.login A:hover {font-size: 11px; BORDER-RIGHT: #ffffff 0px solid; FONT-WEIGHT: strong; COLOR: #9c4352;
 padding-left: 4px; padding-right: 4px; padding-top: 4px; padding-bottom: 4px;
TEXT-DECORATION: underline;}

Question by:derekstattin
    LVL 14

    Accepted Solution

    An attribute

    FONT-WEIGHT: strong;

    does not exist, by the way and before going into further details,
    there are browsers who react quite sensitive when given nonexisiting data. ; ))

    Author Comment

    thanks, I will take a look at the css file in more detail.
    DW did not pick up the error here, and I missed it!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL ( several years ago, it seemed like now was a good time to updat…
    Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
    In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
    The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now