Connecting Tech Pros Worldwide Help | Site Map

fixing my css layout in ie7

 
LinkBack Thread Tools Search this Thread
  #1  
Old August 12th, 2008, 05:35 AM
cdea
Guest
 
Posts: n/a
Default fixing my css layout in ie7

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

  #2  
Old August 15th, 2008, 11:15 PM
GTalbot
Guest
 
Posts: n/a
Default 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
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.