Topic: divs and textsize/accessibility (Page 1 of 1) |
|
---|---|
Obsessive-Compulsive (I) Inmate From: NZ |
![]() Hello! code: #welcome{
|
Paranoid (IV) Inmate From: A graveyard of dreams |
![]() You should avoid using position: absolute. When you're using absolute positions the divs position is based on the top-left of the browser, regardless of text-size. Instead use 'position: relative' or float the divs where you want them. That will create a more fluid design, that will work for different text-sizes. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() If you *do* choose to use position:absolute, base the top, left, width, and height values off of units other than pixels. Use em's instead, which change based on the font size. For example: |
Paranoid (IV) Inmate From: NZ |
![]() Long time no see, mate. |
Obsessive-Compulsive (I) Inmate From: NZ |
![]() Hey thanks, you guys - that's a great help |