SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Thread: IE6 woes

  1. #1
    .NET inside archigamer's Avatar
    Join Date
    Jan 2002
    Location
    Strongsville OH
    Posts
    1,534
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    IE6 woes

    I am having a very odd problem and i think it is related to CSS. I have some text, when the page is first displayed it is not visible however if you run your mouse over it and highlight it, it suddenly shows up. here is the page code:

    Code:
    <h1>
    					Customer Information
    				</h1>
    				<p>
    					This section will collect a little bit of information about you. If you wish to 
    					not recieve email from us please remember to select no from the newsletter 
    					question.
    				</p>
    				<p>
    					Required fields are outlined in red. Any errors will be noted at the bottom of 
    					the page once you press continue.
    				</p>
    here is the significant CSS

    Code:
    p {
    	font-size: 12px;
    	line-height: 22px;
    	margin-top: 20px;
    	margin-bottom: 10px; 
    	}
    
    h1 {
    	font-size: 24px;
    	line-height: 44px;
    	font-weight: bold;
    	margin-top: 0;
    	margin-bottom: 0;
    	}
    anyone ever heard of this?
    Web Finesse Studios
    Professional, business oriented web hosting and development.

  2. #2
    SitePoint Addict BenANFA's Avatar
    Join Date
    Apr 2003
    Location
    Bath, UK
    Posts
    353
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yep, all the time. Erm I think it has to do with positioning on the page of other elements so why not post your entire CSS.

  3. #3
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,276
    Mentioned
    179 Post(s)
    Tagged
    6 Thread(s)
    Hi,

    Ie has a few disappearing bugs and as Benanfa said they are usually to do with positioning. The code you supplied is not enough to see what's going on but ususally the solution is to either give the element a position:relative or sometimes it needs a specified width.

    Paul

  4. #4
    .NET inside archigamer's Avatar
    Join Date
    Jan 2002
    Location
    Strongsville OH
    Posts
    1,534
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Paul O'B
    Hi,

    Ie has a few disappearing bugs and as Benanfa said they are usually to do with positioning. The code you supplied is not enough to see what's going on but ususally the solution is to either give the element a position:relative or sometimes it needs a specified width.

    Paul
    putting the position relative thing in the h1 and p definitions works.

    thanks
    Web Finesse Studios
    Professional, business oriented web hosting and development.


Bookmarks

Posting Permissions

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