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 2 of 2
  1. #1
    Junior Member
    Join Date
    Jan 2006
    Member #
    I originally designed the following site using CSS and HTML with all absolute positioning:

    I thought it was a bad site for a newbie until I got some complaints from some of the people viewing the site. When I opened it on my browser at home, which is much smaller than the browser I designed the site on I found that it looked a lot worse! Even though I designed the site to be no more than 800 pixels wide, the page seemed huge and I had to scroll to see everything.

    So I resolved to revamp the site to be flexible or liquid, and to get rid of the absolute positioning. I thought that this was a noble goal until I realized each browser has different bugs or shortcomings when it comes to CSS! A liquid design that looks correct in Internet Explorer doesn't look correct in Firefox, and one that displays correctly in Firefox doesn't look right in Internet Explorer. I didn't even try any other browsers!

    This problem leads me to ask a simple question. Can I display a webpage using a different stylesheet based on the browser that is viewing it?

    If not, can I set up sections in the same Stylesheet that are only applied with specific browsers? (In other words, 2 stylesheets for IE and Firefox in the same parent stylesheet, but only use on or the other.)

    As much as I like CSS, it seems like liquid design with the standard requires an ugly style sheet with all types of hacks for different browsers. Maybe I just need to fall back on the old <table>, <center>, and <color> tags! :cry:
    Scott Huey


  3. #2
    WDF Staff Wired's Avatar
    Join Date
    Apr 2003
    Member #
    137 times
    YES. There are multiple CSS tricks to make most browsers happy.

    I'm no CSS guru though
    The Rules
    Was another WDF member's post helpful? Click the like button below the post.

    Admin at

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 07:27 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: