http://69.36.167.110/test/testing.php
I've got it working mostly the way I want it to in moz/fb and ie6 but haven't tested it on other browsers (earlier ie's, etc). I'd love some feedback on what does and doesn't work.
Thanks much!!
browser compatability check
You're getting a horizontal scroll bar at the bottom of NEWS in IE5
browser compatability check
thanks for the quick reply!
I don't see anything in my style sheet that *should* be causing horizontal scrolling in ie5, but then again, I'm not terribly familiar with ie5 problems.
here's the portin of my style sheet that deals with the news section
#news{ height: 515px; * height: 525px; /*for ie only*/ width:182px; float:right; background-color:#F5F5F5; overflow: auto; border: 1px solid black; margin-left: 3px; margin-right: 5px; * margin-right: 3px; /*for ie only*/ margin-top: 5px; margin-bottom: 5px; * margin-bottom: 3px; /*for ie only*/ } #newscont{ margin-left: 3px; margin-right: 3px; } #newshead{ width: 182px; * width: 182px; height: 25px; background-color:#006699; color: white; text-align:center; /*font-weight:bold; font-size:large;*/ }
and here's the portion of the php file that deals with it as well
<div id="news"> <div id="newshead">NEWS</div> <?php //pulling news items from db $filename = ".htdbaccess"; $file = fopen($filename, "r"); $contents = fread($file, filesize($filename)); fclose($file); $dbvars = explode("\n", $contents); $dbuser = stripslashes($dbvars[0]); $dbpass = stripslashes($dbvars[1]); $host = "localhost"; $dbname = "web"; $table_name = "news"; $connection = @mysql_connect($host, $dbuser, $dbpass) or die(@mysql_error('connection')); $db = @mysql_select_db($dbname, $connection) or die(@mysql_error('db')); $sql = "SELECT * FROM $table_name ORDER BY id DESC LIMIT 2"; $result = @mysql_query($sql, $connection); if (!$result){ echo "query failed"; } else { if(mysql_num_rows($result) > 0){ while ($row = mysql_fetch_array($result)){ echo "<div id=\"newscont\">"; echo "<span style=\"float:left\">" . $row['updated'] . "</span><br />"; echo "<span>" . $row['content'] . "</span><br />"; echo "</div>"; echo "<br />"; } } else { echo "<span style=\"text-align:center\">No news</span>"; } } mysql_free_result($result); mysql_close($link); ?> </div><!--end news-->
if anyone sees anything that is obviously ballsing up ie5, I'd appreciate the input as I'm not seeing it.
muchas gracias!
--also if people don't mind testing some of the other working links, I'd appreciate it (as they have some content so that might affect quirks in other browsers). the Downloads and State filing dates links work
user/pass
temp/temp
again, thanks much!
browser compatability check
This might be the problem:
#news{ width:182px; overflow: auto; border: 1px solid black; } #newshead{ width: 182px; }
browser compatability check
I hadn't checked your dropdown menu before.
In IE5.5 they work (the left borders of the dropdowns are not showing).
IE5 is choking on the js, I'm getting the following alert:
'filters.Alpha' is not an object
line 591
browser compatability check
you mean having the same width and because of the border? I've tried shrinking the newshead but in ie6 and moz/fb the header just looks smaller and doesn't fill the width of the news container. Would this be a situation where one should use the tantek hack (b/c of the border?)? I'm quite unfamiliar with those hacks and I'm still not entirely sure when and where to use them.
thanks!
ahh balls(must've been typing this post when you were posting above). The menu I used is one created from the sothink menu utility - I really didn't have any desire to cobble together a browser compatible dhtml drop down menu and all the various css menu options I looked into were even less compatible then this but I thought it was supposed to be ok with ie5.0
browser compatability check
I wouldn't think you need a width for #newshead, try taking it out.
browser compatability check
firstreflex, thanks, I did do that (although, not having ie5 I was unable to test the results). Would anyone else with different browsers care to chime in (ie mac, etc..?) thanks much!!
(also, I definetly don't understand why that damned menu is having a problem in ie 5, the utility very clearly states that it is compatible with ie5+)
thanks!
browser compatability check
just curious if the number of views and low number of replies mean that it IS ok in various browsers or....(not sure if people have a habit of posting if things are working right and only posting if things are off or...).
thanks again for any and all input!