Welcome to Adult Webmaster Forums News Resources & Tips - Adult Forums 247 Mark forums read | View Forum Leaders
Adult Webmaster Forums News Resources & Tips - Adult Forums 247



Reply
LinkBack Thread Tools Display Modes
IE7 suddenly ignoring font-size in blog's css
 
 
Tigger is my bitch!
Webmistress's Avatar

Reply With Quote
Send a message via ICQ to Webmistress
 
Join Date: Mar 2009
Location: Spain
Posts: 412
12-28-2009, 07:39 AM
 
Checked out one of our blogs today and in FF & Chrome it is perfectly as it should be but in IE7 suddenly the text is HUGE and seems to be ignoring the set text sizes. It worked fine before today, other than adding some new postings nothing has changed on the blog at all.

I changed other things on the stylesheet like text colours etc and IE7 recognised and displayed these changes fine but any change to the font size remained totally ignored!

Any ideas what's gone wrong or what to do to rectify it?



ps. this blog hasn't been upgraded to 2.9

Last edited by Webmistress; 12-28-2009 at 07:43 AM..
 
 
 
 
Wake Up Tigs Update Time
Gaystoryman's Avatar

Reply With Quote
Blog Entries: 12
Send a message via ICQ to Gaystoryman
 
Join Date: Mar 2009
Location: Western Canada,
Posts: 1,615
12-28-2009, 09:44 AM
 
That is an odd one, what's the blog url so we can see. My first thoughts are a virus, or somehow the code got corrupted.
__________________
Making Gay Story Telling Exciting & Affordable
Webmasters: Add Custom Stories To Your Sites

Surfers Read Stories FREE At:
Gaystoryman Fiction, Gay Fiction
Follow my antics on Twitter @gaystoryman
Social Commentary, with a Gay Slant, At:
Gay Talk, Average Joe Blog, Only Sex Blog
 
 
 
 
Tigger is my bitch!
Webmistress's Avatar

Reply With Quote
Send a message via ICQ to Webmistress
 
Join Date: Mar 2009
Location: Spain
Posts: 412
12-28-2009, 09:48 AM
 
Here's the site

It is so odd as it works absolutely fine in FF & Chrome.....
 
 
 
 
Wake Up Tigs Update Time
Gaystoryman's Avatar

Reply With Quote
Blog Entries: 12
Send a message via ICQ to Gaystoryman
 
Join Date: Mar 2009
Location: Western Canada,
Posts: 1,615
12-28-2009, 09:57 AM
 
have you tried uploading another copy of the stylesheet? sometimes they seem to get corrupted and that usually clears it up.
__________________
Making Gay Story Telling Exciting & Affordable
Webmasters: Add Custom Stories To Your Sites

Surfers Read Stories FREE At:
Gaystoryman Fiction, Gay Fiction
Follow my antics on Twitter @gaystoryman
Social Commentary, with a Gay Slant, At:
Gay Talk, Average Joe Blog, Only Sex Blog
 
 
 
 
Wake Up Tigs Update Time
Gaystoryman's Avatar

Reply With Quote
Blog Entries: 12
Send a message via ICQ to Gaystoryman
 
Join Date: Mar 2009
Location: Western Canada,
Posts: 1,615
12-28-2009, 10:02 AM
 
Is it the sidebar text that's gone wonky? or the post content font size? Might want to check the sidebar font in the stylesheet. I am seeing it off in both IE8 and 7

I use browsershots.org that gives me screenshots of a site in all browsers. you can select which one's to have them show.
__________________
Making Gay Story Telling Exciting & Affordable
Webmasters: Add Custom Stories To Your Sites

Surfers Read Stories FREE At:
Gaystoryman Fiction, Gay Fiction
Follow my antics on Twitter @gaystoryman
Social Commentary, with a Gay Slant, At:
Gay Talk, Average Joe Blog, Only Sex Blog
 
 
 
 
Tigger is my bitch!
Webmistress's Avatar

Reply With Quote
Send a message via ICQ to Webmistress
 
Join Date: Mar 2009
Location: Spain
Posts: 412
12-28-2009, 10:13 AM
 
It is the text right across the site, not just the sidebar but the main body text as well
I have re-uploaded the stylesheet, no effect
I have made changes to the stylesheet and it changes everything apart from the text size
I have checked the stylesheet for any errors and can't see any
I haven't actually made an changes to the coding since the blog initially went live and it was working fine yesterday

Actually it is IE8 I'm viewing it in
 
 
 
 
I Don't Bite...Much
VoyGeorge's Avatar

Reply With Quote
 
Join Date: Mar 2009
Location: Somewhere, Out There
Posts: 1,255
12-28-2009, 10:23 AM
 
You might want to download a copy of the source, and pass that through Dreamweaver's validation feature. That can sometimes turn up a missing end tag. WHY a tag would be missing is hard to tell, but it could be a plugin or something else.

I passed the URL through the W3 validator, and the first two errors/warnings would be considered "fatal"

The W3C Markup Validation Service

It only works in Firefox and other Webkit-based browsers because those browsers are correcting for the error.

Others like

id=hidden

rather than id="hidden" (which it should be)

could cause problems depending on the browser.

Anyway, some of this can be corrected by going through the theme and making the necessary corrections but other things may be due to WordPress messing up (SEO pack, for example).
 
 
 
 
Tigger is my bitch!
Webmistress's Avatar

Reply With Quote
Send a message via ICQ to Webmistress
 
Join Date: Mar 2009
Location: Spain
Posts: 412
12-28-2009, 10:29 AM
 
Ok thanks, it just seems very odd that nothing has been changed since the theme, etc was originally uploaded and no plugins have been upgraded. Will have a look again at the code.
 
 
 
 
Techy Geeky Dude

Reply With Quote
Blog Entries: 11
 
Join Date: Mar 2009
Posts: 8,084
12-28-2009, 01:09 PM
 
along with VG's suggestion of validating the template code, you can also validate the CSS with The W3C CSS Validation Service

I just checked your CSS and it validates fine. Between HTML and CSS validation, they account for the largest number of problems related to wonky behavior between browsers in my experience. Start throwing in dynamic code via PHP and it can get really fun to correct...

Why it worked before and changed suddenly is anybodies guess - corrupted file someplace is likely
 
 
 
 
I Don't Bite...Much
VoyGeorge's Avatar

Reply With Quote
 
Join Date: Mar 2009
Location: Somewhere, Out There
Posts: 1,255
12-28-2009, 04:04 PM
 
Good idea on the CSS validation.

I know the problem appears to have come out of the blue, but something these things happen. And, looking at the errors the W3 validator points out, the template/theme leaves something to be desired. It has a lot of rudimentary XHTML errors in it.

I think you'll find if you locate the first main H1 within DIV class="logo", and close the tag, it'll work again.

Though I think it's a good idea to correct the markup errors, you might be able to also ease some of the issues by using a HTML 4.01 DOCTYPE rather than XHTML. The difference is how strict the browser interprets the code.
 
 
 
 
Techy Geeky Dude

Reply With Quote
Blog Entries: 11
 
Join Date: Mar 2009
Posts: 8,084
12-28-2009, 05:15 PM
 
Quote:
Originally Posted by VoyGeorge View Post
Though I think it's a good idea to correct the markup errors, you might be able to also ease some of the issues by using a HTML 4.01 DOCTYPE rather than XHTML. The difference is how strict the browser interprets the code.
good point, and you can also get there going with a transitional versus strict doctype. You almost have to balance how much HTML versus XHTML you have in the code. If you've got any XHTML, you can use transitional with it.

Unfortunately, I think there are a lot of people who don't understand what the doctype does for them and that's where some of these problems start...
 
 
 
 
Tigger is my bitch!
Webmistress's Avatar

Reply With Quote
Send a message via ICQ to Webmistress
 
Join Date: Mar 2009
Location: Spain
Posts: 412
12-29-2009, 06:30 AM
 
Thanks for all your help guys! The H1 closing tag did it!!!!! I will look at any other bits as well but at least it looks normal again.

Why is it the harder and longer you stare at a problem you just can't get your head around a solution and see the problem!!

Thanks again
 
 
 
 
Administrator
Tigger's Avatar

Reply With Quote
Blog Entries: 11
Send a message via ICQ to Tigger
 
Join Date: Mar 2009
Location: Spain
Posts: 12,412
12-29-2009, 07:12 AM
 
AND

before you lot start having a go it was nothing to do with me
 
 
 
 
Adult Webmaster
jello's Avatar

Reply With Quote
 
Join Date: Mar 2009
Location: Brazil
Posts: 1,623
12-29-2009, 07:57 AM
 
Quote:
Originally Posted by Tigger View Post
AND

before you lot start having a go it was nothing to do with me
 
 
 
 
Techy Geeky Dude

Reply With Quote
Blog Entries: 11
 
Join Date: Mar 2009
Posts: 8,084
12-29-2009, 10:07 AM
 
you know what the real solution is? We all need to organize and stop designing for IE, that way, people will stop using it and we can work with some standards!

glad it got sorted
 
 
 
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -5. The time now is 07:25 PM.
Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0 RC2 Ad Management plugin by RedTyger