Jump to content

Recommended Posts

Ok a few days ago i had an issue (http://www.phpfreaks.com/forums/index.php/topic,310561.0.html) with text being rendered in bold only on macs.

I seem to have resolved this issue mostly by reducing the general font size through my site. It's starting to look a lot better. Only i cant get certain bits to the way they look on a pc.

 

The bits of text in question are links in my header and footer. The header has a blue gradient repeat-x as the background and all text ontop of it is in white bold. I like the look on a pc, but when a mac opens the page the bold becomes super bold.

 

Below is all the CSS which effects the header:

html, body {
height: 100%;
font-family: verdana;
font-weight: normal;
font-size: 10pt;
}
#header {
width: 700px;
height: 62px;
margin-right:auto;
margin-left:auto;
background-image: url(png/top-gradient.png);
background-repeat: repeat-x;
position: relative;
}
#header-inner{
float: right;
width: 400px;
font-weight: bold;
color: #FFFFFF;
text-align: right;
padding-right: 15px;
padding-top: 5px;
vertical-align: middle;
}
A:link {
text-decoration: none;
color: #FFFFFF;
}
A:visited {
text-decoration: none;
color: #FFFFFF;
}
A:active {
text-decoration: none;
color: #FF6600;
}
A:hover {
color: red;
text-decoration: none;
}

 

 

And bloew here is the html for the header.

<div id="header">
   <span id="header-inner">
      Logged in as: john -<br/>
      <a href="accountDetails.php">Account Details -</a><br/>
      <a href="logout.php">Log Out</a> -
   </span>
   <a href="http://www.mysite.net"><img style="padding-left:5px;padding-top:2px;" src="png/logo.png" alt="logo" /></a>
</div>

 

Should i be using a different font to be able to use bold but keeping it looking the same on moth pc's and macs?

Link to comment
https://forums.phpfreaks.com/topic/214413-css-bold-is-css-super-bold-in-mac/
Share on other sites

  • 2 weeks later...

I don't really know if this will help you but it's worth a shot. Check out the link I provided below.

 

http://www.w3schools.com/Css/pr_font_weight.asp

 

I hope I could be of some assistance.

Thanks,

Colton Wagner

This thread is more than a year old. Please don't revive it unless you have something important to add.

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.   Restore formatting

  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...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.