Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Feb 2005
    Thanked 0 Times in 0 Posts

    CSS problem with rounded corners

    I am finalising a student website redesign and have a layout issue which is appearing in Firefox.

    In IE the layout of the rounded corner in the main content area is working. In Firefox it adds a vertical bar on the left hand side. I am guessing that IE is working around an issue with the CSS structure.

    I am stumped as to why this is happening because the same rounded corner code is working fine on the same page in the top right corner within Firefox

    Any help or guidance would be appreciated:


    the CSS can be found at:




  • #2
    Senior Coder
    Join Date
    Jan 2005
    Memphis, TN
    Thanked 132 Times in 130 Posts
    Not 100% sure why it happens but I had the smae problem a while back. I'm sureone will have a better solution but try:

    #content[id] {
    width: 624px

    add it in addition to the regular #content in your CSS. You may have to play with the width a little. I just guessed.


    It just dawned on me to elaborate a little. IE doesn't read the [id] line (same can be done w/ classes) so it ignores the css. So anything you change in this part will not affect IE. So if the padding is a little off after changing the width, you can tinker with it as well.

    I have not seen what happens on IEmac/Safari/Opera when this is done. I have only tried it with FF/MOZ and IE6.
    Last edited by harbingerOTV; 02-22-2005 at 02:54 PM.


    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts