Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

[SOLVED] W3C and CSS font-weight property


  #1  
Old Aug 12, 2010, 03:12 PM
Jazoja
 
35 posts · Jun 2010
[SOLVED] W3C and CSS font-weight property

I am using atahualpa 3.5.3
I have just finished making my site w3c valid (LOL), and I found some strange things.
Becouse of W3C CSS validator I commented some lines to "make" it valid. Then I realized, that there are other font-weight lines that it accepted without errors.

css.php line 631-650 looks as follows:

Code:
div.widget ul li a:active {
	text-decoration: none; 
	/*font-weight: normal;*/
	color: #<?php echo $bfa_ata['widget_lists']['link-color']; ?>; 
	/*font-weight: <?php echo $bfa_ata['widget_lists']['link-weight']; ?>;*/
	}

div.widget ul li ul li a:link, 
div.widget ul li ul li a:visited, 
div.widget ul li ul li a:active {
	color: #<?php echo $bfa_ata['widget_lists2']['link-color']; ?>; 
	/*font-weight: <?php echo $bfa_ata['widget_lists2']['link-weight']; ?>;*/
	}

div.widget ul li ul li ul li a:link, 
div.widget ul li ul li ul li a:visited, 
div.widget ul li ul li ul li a:active {
	color: #<?php echo $bfa_ata['widget_lists3']['link-color']; ?>; 
	/*font-weight: <?php echo $bfa_ata['widget_lists3']['link-weight']; ?>;*/
	}
line 251-256:

Code:
h2.blogtitle a:hover {
    text-decoration: none;
	color: #<?php echo $bfa_ata['blog_title_color_hover']; ?>;
	font-weight: <?php echo $bfa_ata['blog_title_weight']; ?>;
	}
lines 1554-1559:

Code:
p.giTitle {
margin: 0.3em 0 !important;
font-size: 1em;
font-weight: normal;
color: #666;
}
Looking these lines I couldn't figure out what the problem was.

Last edited by Jazoja; Aug 12, 2010 at 03:14 PM.
  #2  
Old Aug 13, 2010, 04:54 AM
Dark_Fox
 
7 posts · Aug 2010
Scotland
Try putting the entire file with the code which fails validation into the page below for direct validation.

http://validator.w3.org/#validate_by_input

Strange that your site should fail validation, i'm testing a site using the latest version of the theme and it passes validation, are you sure its not a plugin causing your failure since some plugins do fail and i tend to avoid those ones.

Last edited by Dark_Fox; Aug 13, 2010 at 04:57 AM.
  #3  
Old Aug 13, 2010, 07:02 AM
Jazoja
 
35 posts · Jun 2010
Becouse it is a php file, it is a bit harder to copy-paste those small codes, but those lines are shown valid.
How did you manage to accept w3c those -moz/-webkit/etc. lines?
  #4  
Old Aug 13, 2010, 07:29 AM
Jazoja
 
35 posts · Jun 2010
I put on a fresh wp 3.0.1 and an atahualpa 3.5.3

W3C CSS3 validation of jazoja.dyndns.info

42 errors and the first is the word-wrap I was talkin' about.
No plugins or anything installed.
  #5  
Old Aug 13, 2010, 07:58 AM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
Please read this thread on W3C validaton.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #6  
Old Aug 13, 2010, 12:26 PM
Jazoja
 
35 posts · Jun 2010
Sorry, the original error was not with word-wrap:normal but with font-weight:normal. Now it is gone and I don't know why. The validator showed the error in css.php and gone after I commented it out.

But I think that I found some real error. In CSS insert there is a line:
Code:
ul.rMenu-ver li { margin-top: 0xp; }
where xp should be replaced to px.

Next I don't know what to do with this. (now I deleted the entire code, becouse it is an IE6 fix)
* html div#wrapper Parse Error {<!--width:expression"95%");
* html div#wrapper Parse Error -->}

And the error
div#container 0 is not a box-shadow value : 0 0 15px #333 0 0 15px #333
which comes from Style & configure LAYOUT
can be eliminated by putting px-es after the zeros.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] CSS display property and heading in post bigliettaio Customization, Design, Programming... 4 Jul 18, 2010 09:26 AM
Widgets: Font Weight and Double Left Borders maxhugen Sidebars & Widgets 8 Jul 15, 2010 04:44 AM
[SOLVED] CSS 'display' property set to 'none' question wardrob Atahualpa 3 Wordpress theme 2 Mar 11, 2010 11:44 AM
[SOLVED] How to Change Font Size and Weight on Links with WP Blogroll KatyDigg Page & Category Menu Bars 2 Aug 17, 2009 04:15 PM
Side bar widget - font-weight and background image? bamboojungles Sidebars & Widgets 1 Jun 2, 2009 08:32 AM


All times are GMT -6. The time now is 08:28 AM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.