I'm working on DW CS3 on a macbook, entering text in the main content div, using <p> tags on my style sheet.
I have written a rule with the following properties
#wrapper #content mainContent p
font-family Arial, Helvetica sans-serif
font-size 14
font-weight lighter
line-height 15
I have also tried applying a class to some of the text and reducing my demands to norm by specifying normal
It looks good in DW but becomes bold in Safari FF and Opera, Any Ideas?
Thanks in advance
Chris
If that's really the code you're using, it's not valid CSS.
#wrapper #content #mainContent p {
font-family: Arial, Helvetica sans-serif;
font-size: 14px;
font-weight: normal;
line-height: 1.5;
}
Code validation tools
http://jigsaw.w3.org/css-validator/
http://validator.w3.org/
Safari fonts are always too bold. Nothing you can do about it.
http://www.sitepoint.com/forums/showthread.php?t=635054
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb
http://alt-web.blogspot.com
Chris,
Rather than pasting individual CSS rules in your posts to try and explain your problem, it would help us to help you if you provide a link to your site in your post.
We can then immediately see for ourselves if your issues are syntax errors, CSS clashes or inheritance issues, other code errors or cross browser issues.
Most regulars here have an arsenal of tools and utilities to quickly analyze webpages online from every conceivable angle and spot errors.
These tools are most useful when they've got a URL link to visit.
I have checked the code with the jigsaw css code validator and the code is fine. This is not only on Safari I am also using Opera and Firefox.
I posted the urls in my previous post, could someone have a look please.
Is this as fine as they go. I look at other sites and they are using fonts far lighter than these, pls ignore format, typos, etc.
Thanks Chris
I don't know how to answer your question. It could be a display issue at your end or the simple fact that browsers do what browsers do.
W3 Schools examples of font-weight
http://w3schools.com/css/tryit.asp?filename=trycss_font-weight
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb
http://alt-web.blogspot.com
John, Nancy,
thanks for your help, there's a big difference between DW and all the browsers (browsers are bold) on the mac. I've just had a look on a PC using IE, FF and safari and they are all the same there too, as they look in DW (correct), so it's a display issue with the mac alone, but when I view sites other than my own I do see normal and lighter fonts. If it was a case of my settings it would effect other sites also wouldn't it?
Chris
but when I view sites other than my own I do see normal and lighter fonts. If it was a case of my settings it would effect other sites also wouldn't it?Chris
Other sites may be using Flash text or Images of text.
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb
http://alt-web.blogspot.com
North America
Europe, Middle East and Africa
Asia Pacific