Connecting Tech Pros Worldwide Help | Site Map

fixing my css layout in ie7

cdea
Guest
 
Posts: n/a
#1: Aug 12 '08
hi,

i'm trying to fix my layout for ie7 but i haven't the slightest clue
as to where i should start. you can check out the layout for yourself
at http://www.deepcoterie.com/index.php

the css file can be found at http://www.deepcoterie.com/ndxz-stud...erie/style.css

from what's showing up on my browser it looks like the div named
"content" isn't getting it's top margin of 110px applied.

i hope someone can help me out with this. thanks in advance.

-chris
GTalbot
Guest
 
Posts: n/a
#2: Aug 16 '08

re: fixing my css layout in ie7


On Aug 12, 1:34*am, cdea <christopher....@gmail.comwrote:
Quote:
hi,
>
i'm trying to fix my layout for ie7 but i haven't the slightest clue
as to where i should start. *you can check out the layout for yourself
athttp://www.deepcoterie.com/index.php
>
the css file can be found athttp://www.deepcoterie.com/ndxz-studio/site/deepcoterie/style.css
>
from what's showing up on my browser it looks like the div named
"content" isn't getting it's top margin of 110px applied.
>
i hope someone can help me out with this. *thanks in advance.
>
-chris


Hello

Stop defining font size in less than what is the default value on the
visitor's browser.

"
If you do not specify any font size at all (as on the pages you are
reading), text will appear in the default size that was selected by
the user.
"
Truth and consequences of web design
Font size


"
respect the users' preferences, avoid small size for content

* As a base font size for a document, 1em (or 100%) is equivalent
to setting the font size to the user's preference. Use this as a basis
for your font sizes, and avoid setting a smaller base font size
* Avoid sizes in em smaller than 1em for text body

Units: avoid absolute length units for screen display

* Do not specify the font-size in pt, or other absolute length
units for screen stylesheets. They render inconsistently across
platforms and can't be resized by the User Agent (e.g browser).
"
Care with font-size
http://www.w3.org/QA/Tips/font-size

10px for font-size for body text is too small. Just replace that with

font-size: 100%;

and that will use the preferred font-size by the user.

Your stylesheet has over-coded, over-declared and over-defined every
single margin and padding of elements. You do not need to do any of
this if you rely on the default browser values. Using the universal
selector is also a big mistake.

Regards, Gérard
Closed Thread