|
|
 |
August 30th, 2007, 03:32 AM
|
#1
|
|
WebForumz Member
Join Date: Jun 2007
Location: Northumberland, UK
Age: 46
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0
|
[SOLVED] Accessibility problem with layout
Hi all,
I'm just about finished the homepage of my new site, but when its viewed in IE7 and Firefox with enlarged text for accessibility, the bottom of the page doesn't render like it should, any ideas on how to solve this problem please?
This is my first attempt at using css for layouts so please be patient with me
http://www.freewebs.com/gladstones/
Thanks in advance,
Gary
|
|
|
August 30th, 2007, 10:01 AM
|
#2
|
|
Reputable Member
Join Date: Dec 2005
Location: U.S.A.
Posts: 156
Thanks: 0
Thanked 4 Times in 4 Posts
Rep Altering Power: 0
|
Re: Accessibility problem with layout
Your site was fine while increasing your font size twice. After the third resizing most of the elements started to overlap. This is due to your containers using absolute sizes. That doesn't allow them to stretch. Try using percentages.
Good Luck,
Scott
|
|
|
August 30th, 2007, 10:15 AM
|
#3
|
|
Most Reputable Member
Join Date: May 2006
Location: North West, UK
Age: 23
Posts: 1,170
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0
|
Re: Accessibility problem with layout
Use ems. em is a typographical unit so every non-expanding element that uses ems will resize when text-size is increased or decreased. Elements such as main content areas etc should be ok as the will stretch to fit the content. It's your nav and elements like that that need to stretch on resize.
Pete. 
|
|
|
August 30th, 2007, 04:34 PM
|
#4
|
|
WebForumz Member
Join Date: Jun 2007
Location: Northumberland, UK
Age: 46
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0
|
Re: Accessibility problem with layout
Hi again,
Thanks for the replies Scott and Pete.
I've changed the height measurements in the containing div's from using px's to em's, so could someone please check it again for me in Firefox and IE7 for text size accessibility, as at the moment i dont have access to those browsers.
http://www.freewebs.com/gladstones
Thanks,
Gary
Last edited by Graisbeck; August 31st, 2007 at 03:53 AM..
|
|
|
August 31st, 2007, 06:41 AM
|
#5
|
|
WebForumz Member
Join Date: Jun 2007
Location: Northumberland, UK
Age: 46
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0
|
Re: Accessibility problem with layout
ok, ive managed to view the homepage in Firefox and IE7, even without using the browsers tools to enlarge the text, the page does not render properly using em's. Any ideas would be welcomed.
Thanks in advance,
Gary
|
|
|
September 2nd, 2007, 05:50 PM
|
#6
|
|
WebForumz Member
Join Date: Jun 2007
Location: Northumberland, UK
Age: 46
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0
|
Re: Accessibility problem with layout
I've now changed back to using px's as i can't seem to make the page render any better than what it was at the start.
I thought using css for layouts was meant to be easier than using tables... bah humbug!!!
|
|
|
September 2nd, 2007, 05:56 PM
|
#7
|
|
Reputable Member
Join Date: Dec 2005
Location: U.S.A.
Posts: 156
Thanks: 0
Thanked 4 Times in 4 Posts
Rep Altering Power: 0
|
Re: Accessibility problem with layout
Quote:
Originally Posted by ScottR
Try using percentages.
Good Luck,
Scott
|
|
|
|
September 3rd, 2007, 08:16 AM
|
#8
|
|
WebForumz Member
Join Date: Jun 2007
Location: Northumberland, UK
Age: 46
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0
|
Re: Accessibility problem with layout
Thanks for all replies,
The solution to the problem was to get rid of the height declarations and to give the 'wrap' div a white background. This stopped the containing divs' content from overflowing.
Thanks again,
Gary
Last edited by Graisbeck; September 3rd, 2007 at 12:56 PM..
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Similar Threads
|
| Thread |
Thread Starter |
Forum |
Replies |
Last Post |
|
[SOLVED] simple layout problem
|
saltedm8 |
HTML, XHTML and CSS |
13 |
May 2nd, 2008 03:02 PM |
|
Layout problem
|
Pádraig |
HTML, XHTML and CSS |
4 |
July 31st, 2007 05:52 PM |
|
layout problem
|
samv |
HTML, XHTML and CSS |
21 |
February 17th, 2007 07:21 AM |
|
layout problem
|
moshe |
HTML, XHTML and CSS |
16 |
February 12th, 2007 12:00 PM |
|
layout problem
|
key_uk |
HTML, XHTML and CSS |
3 |
April 2nd, 2006 10:53 PM |
|