ted_chou12 Posted October 17, 2009 Share Posted October 17, 2009 Hi, I have a script that works in ie, ff when you change the font size but not in chrome, i wonder if other people have experienced it too: <div class="menu"> <ul id="nav"> <li class="first" style="width:53px;"> <a href="/users/index.php">INDEX<!--[if IE 7]><!--></a><!--<![endif]--> <!--[if lte IE 6]><table><tr><td><![endif]--> <ul> <li><a href="/users/profiles.php?user=<?php echo $username;?>">View My Profile</a></li> <li><a href="/users/editprofile.php">Edit My Profile</a></li> <li><a href="/users/editaccount.php">Edit My Account</a></li> <li><a href="/users/editpreference.php">Edit Preferences</a></li> <li><a href="/users/friends.php">My Friends Lists</a></li> </ul>...//continues on and the css code is here: <style type="text/css"> */ .menu { width: 770px; font-size: 11px;//changing this.********** position: relative; z-index: 100; white-space: nowrap; padding: 1px 0px 1px 0px; } /* remove all default list styling */ .menu ul { padding: 0px; margin: 0px; list-style-type: none; } .menu ul#nav { margin: 15px 0 0 0; } /* float the list to make it horizontal relative positon so that you can control the dropdown menu positon */ .menu li { float:left; position: relative; /* space between buttons */ margin-left: 2px; } .menu .first { margin-left: 0px; } .menu .last { margin-right: 0px; } /* FIRST-LEVEL NORMAL *********************************************************/ .menu a, .menu a:visited { display: block; font-size: 11px;// and changing this ***** text-decoration: none; text-align: center; font-weight: bold; background-image: url('nav_top_backg_off.gif'); background-color: #B6D3F7; color: #2B449C; height: 15px; padding-left:5px; padding-right:5px; padding-top:3px; padding-bottom:2px } Changing them changes the font size in all other browsers except for chrome, i dont understand why, please let me know if these pieces of the code is not enough. Ted Link to comment https://forums.phpfreaks.com/topic/178005-chromes-weird-behaviour/ Share on other sites More sharing options...
haku Posted October 17, 2009 Share Posted October 17, 2009 It's probably a javascript thing. Whatever it is, you aren't showing it to us there. Did you write this yourself? Link to comment https://forums.phpfreaks.com/topic/178005-chromes-weird-behaviour/#findComment-938621 Share on other sites More sharing options...
ted_chou12 Posted October 17, 2009 Author Share Posted October 17, 2009 nope thanks, i found out it is a weird problem of chrome, they do not display the font less than 12px correctly. Link to comment https://forums.phpfreaks.com/topic/178005-chromes-weird-behaviour/#findComment-938899 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.