By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,723 Members | 1,255 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,723 IT Pros & Developers. It's quick & easy.

fixing my css layout in ie7

P: n/a
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
Aug 12 '08 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On Aug 12, 1:34*am, cdea <christopher....@gmail.comwrote:
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
Aug 15 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.