User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 456,234 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,754 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 431 | Replies: 2
Reply
Join Date: Oct 2007
Posts: 13
Reputation: bob on whidbey is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
bob on whidbey bob on whidbey is offline Offline
Newbie Poster

Template oddity with Font Sizes

  #1  
Nov 13th, 2007
I'm in the process of converting many sections of my web to templates (for use with Contribute) so I can get away from all of that mundane editing. Each page has a header, navbar, and body, with only the body being editable in the template.

When viewed with Firefox, every page looks right. However, with IE (6 & 7 tested) the pages with some templates are correct and with others, the're not. The problem with the "bad" pages is that the font size is about two points too big.

See www.writeonwhidbey.org The Home Page and the Membership Section all look correct, while all the pages in the Classes, Contact Us & Contest sections have fonts which are too large.

All the pages in the web site use the same CSS file. Adobe hasn't been able to figure this out, yet. Perhaps one of you gurus has seen something similar or perhaps can guess how I can get around this problem.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jan 2007
Posts: 2,604
Reputation: MidiMagic is on a distinguished road 
Rep Power: 7
Solved Threads: 119
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Posting Maven

Re: Template oddity with Font Sizes

  #2  
Nov 15th, 2007
Does the CSS contain the font-size attribute 'larger'? If so, each time it is encountered, it makes the font larger, relative to the lastr time it was encountered.
Daylight-saving time uses more gasoline
Reply With Quote  
Join Date: Oct 2007
Posts: 13
Reputation: bob on whidbey is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
bob on whidbey bob on whidbey is offline Offline
Newbie Poster

Re: Template oddity with Font Sizes

  #3  
Nov 15th, 2007
No, the CSS doesn't use the word larger anywhere. All my font sizes are in terms of :large, x-small, small, etc.

I've finally given up on the template - never having solved the problem. Three sections of my web www.writeonwhidbey.org use templates, which have an editable region covering the entire body area (The Home page, Membership, and Contact Us). All the other sections don't use any template. This hasn't been a problem in Contribute. The user can't edit the header or navbar because they are inserted via SSI. While technically the entire page is editable, only the body ends up being editable. So, I'm happy, but I never did figure out my problem.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb HTML and CSS Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the HTML and CSS Forum

All times are GMT -4. The time now is 5:09 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC