SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Oct 2008
    Posts
    51
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question heading and content text not showing up in all browsers

    hi all,

    have no idea why the headings and text(content) have disappeared in the colored bars, even though I am using jquery accordian, this question relates to the html and css. I viewed the site in ie, firefox, opera, safari and chrome.
    this is the link
    I also viewed the webpage in firebug and the heading and text(content) is greyed out
    When you view the page source, all the text and heading are there

    css
    Code:
    .va-slice{cursor:pointer; margin:0 auto; width:725px; overflow:hidden;}
    .va-heading{font-family: 'Lato', sans-serif; text-transform:uppercase; font-size:2.0em; margin-left:40px; color:#ffffff;}
    .va-content{margin-left:40px; height:auto;}
    .va-slice p{	font-size:1.2em; font-style: normal; color:#ffffff; font-family:'Lato', sans-serif; line-height:140%;}
    h3 {color: #ffffff; font-family: "Futura Lt BT"; font-size:1.4em; font-weight: normal; left: 60px; position: relative;top: 128px;}
    html
    HTML Code:
    <div class="va-slice va-slice-1">
      <h3 class="va-heading">Welcome</h3>
      <div class="va-content">
      <p>Duis tempor aliquet ante quis pretium. Aliquam et.</p>	
    Any explanation will be greatly appreciated

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,203
    Mentioned
    456 Post(s)
    Tagged
    8 Thread(s)
    Try removing position:relative from this code (line 66):

    Code:
    h3 {
         color: #ffffff;/*#E7E5E3;*/
         font-family: "Futura Lt BT";
         font-size:1.4em;
         font-weight: normal;
         left: 60px;
         position: relative;
         top: 128px;
    }

  3. #3
    SitePoint Enthusiast
    Join Date
    Oct 2008
    Posts
    51
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    silly me, thanks,


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
  •