RE: [WSG] moving elements
Hi, You could solve the problem at a stroke by not using absolute positioning. If you use relative positioning and change the value for 'top:', it will stay after the content as it is resized. Also, you could make things easier by not using a graphic for that menu. Why have you chosen to do this? Iain -- Iain Gardiner http://www.firelightning.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bruce Sent: 26 January 2005 20:47 To: wsg@webstandardsgroup.org Subject: Re: [WSG] moving elements Paul wrote: > If a user increases or decreases the text size on the page, how do I > ensure elements maintain their spacing ? > ex. http://www.speakupnow.ca/4Life/english/test.php , I want the menu > graphic ( 4 red points ) to move downward if the text size is increased. > > Thanks Good question, I have been working with that myself. Would pixels for spacing work? I am still a tad new here, but considering using fixed sizes for spacing, margins, headings etc... Bruce Prochnau www.bkdesign.ca Ontario ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ** ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help **
RE: [WSG] moving elements
> Paul wrote: > > > If a user increases or decreases the text size on the page, > how do I > > ensure elements maintain their spacing ? > > ex. http://www.speakupnow.ca/4Life/english/test.php , I > want the menu > > graphic ( 4 red points ) to move downward if the text size > is increased. > > > > Thanks > > > Good question, I have been working with that myself. Would pixels for > spacing work? I am still a tad new here, but considering using fixed > sizes for spacing, margins, headings etc... > Bruce Prochnau I would use ems for spacing. Then your spacing will increase proportionally to the size of the text. If, however, you want to maintain a specific amount of space regardless of font size (say in a table you want the contents of a td to always maintain a consistent 6px from the sides of the td) then use fixed sizes, such as pixels. Ron ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help **
Re: [WSG] moving elements
Paul wrote: If a user increases or decreases the text size on the page, how do I ensure elements maintain their spacing ? ex. http://www.speakupnow.ca/4Life/english/test.php , I want the menu graphic ( 4 red points ) to move downward if the text size is increased. Thanks Good question, I have been working with that myself. Would pixels for spacing work? I am still a tad new here, but considering using fixed sizes for spacing, margins, headings etc... Bruce Prochnau www.bkdesign.ca Ontario ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help **