Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 5 of 5
  1. #1
    Junior Member
    Join Date
    Nov 2004
    Posts
    2
    Member #
    8127
    Hi,

    I was under impression that CSS is the way to resolve browser and platform inconsistency. Is it true or not?

    I used CSS and HTML for my online resume and it looks different in IE5, Netscape7 and Safari. The difference is between how much white space is between "Knowledge of blah-blah-blah-blah-blah:", skills colomns and "WORK EXPERIENCE" (please refer to the atached code). Is it something wrong with my code or this is something that can't be avoided?

    Thank you in advance for help.
    Marina

  2.  

  3. #2
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Location
    Boston, MA
    Posts
    9,729
    Member #
    819
    Liked
    205 times
    They're not the same. padding and margins are treated differently, and look to be what are causing your problems. nesting elements with padding / margins usually solves the issue for me.

  4. #3
    Junior Member
    Join Date
    Nov 2004
    Posts
    2
    Member #
    8127
    Could you be more specific?

    I used margins only for <body> tag. It should affect all code inside of <body></body>, so it should not be a problem.

    I used padding only with .jobtitle class to make a gray color background to be bigger then text height. Is there any other way to do it?

    Thanks again

  5. #4
    Senior Member Physt's Avatar
    Join Date
    Jul 2004
    Posts
    255
    Member #
    6655
    Google the words Box Model Hack and study up on all of the hacks.. CSS wasn't created to fix browser inconsistancies.. It was created to seperate content from design.. Some browsers read CSS and HTML in different ways.. Borders.. Padding/Margin... and children.. It's pretty complicated stuff but I suggestyou learn it..
    www.controlalternate.com - Web resources and free templates. www.chaosconcepts.net - Custom web and graphic design.
    www.blog.chaosconcepts.net - My Blog

  6. #5
    Member
    Join Date
    Aug 2004
    Location
    Ohio
    Posts
    47
    Member #
    7210
    <p> has its own default padding/margins it appears. Define specific padding and margin values for <p> in your style settings and see if that makes a difference.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 10:41 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com