www.webdeveloper.com
Recent Articles
  • Finding Slow Running Queries in ASE 15
  • A More Advanced Pie Chart for Analysis Services Data
  • Adobe AIR Programming Unleashed: Working with Windows
  • Performance Testing SQL Server 2008's Change Data Capture Functionality
  • The ABC's of PHP: Introduction to PHP
  • How to Migrate from BasicFiles to SecureFiles Storage
  • Why the Twitter Haters Are Wrong
  • User Personalization with PHP: Beginning the Application
  • Whats in an Oracle Schema?
  • Lighting Enhancement in Photoshop
  •  

    Go Back   WebDeveloper.com > Client-Side Development > CSS

    CSS Discussion and technical support relating to Cascading Style Sheets.

    Reply
     
    Thread Tools Search this Thread Rate Thread Display Modes
      #1  
    Old 06-28-2007, 03:40 PM
    motormaniac motormaniac is offline
    Just an Amature
     
    Join Date: Jul 2006
    Posts: 118
    problem with firefox

    hey,
    my page doesnt look right when its in firefox. it brings some of my navbar down onto the page. look at it in IE then Firefox and see the diffrence

    i think its a problem with my css code, but im not sure. someone help me.

    THE SITE IS THE FIRST ONE IN MY SIGNATURE


    HTML:
    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-Transitional.dtd">
    <html>
    <head>
    
      <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type" />
    
      <title>Maniac Studios</title>
    
    
      <link rel="stylesheet" href="mainstyle.css" />
    
    </head>
    
    
    <body>
    
    <div id="body">
    
    <!--Banner-->
    
    
    <img class="banner" alt="banner" src="banner.PNG" />
    
    
    
    
    
    <!--Navigation-->
    <!--I put all of the opening <li> tags at the end of line of code above it to keep from spaces displaying-->
    
    <div id="navbar">
    <ul class="navbar">
    	<li><a href="home.html"><img alt="home button" src="home_button.PNG" /></a></li><li> 
    	<a href="about.html"><img alt="about button" src="about_button.PNG" /></a></li><li>
    	<a href="services.html"><img alt="services button" src="services_button.PNG" /></a></li><li> 
    	<a href="portfolio.html"><img alt="portfolio button" src="portfolio_button.PNG" /></a></li><li>  
    	<a href="contact.html"><img alt="contact button" src="contact_button.PNG" /></a></li><li>   
    	<img alt="" src="blanknavbar.PNG" /></li>  
    </ul>
    </div>
    
    
    
    <!--Heading for design of the week-->
    
    <img class="designofweek" src="design_of_week_bar.PNG" alt="design_of_week_bar.PNG" />
    
    
    <!--Table For design of the week-->
    
    <table class="designofweek">
    
      <tbody>
    
        <tr>
    
          <td>
    <img style="width: 214px; height: 214px;" src="3diconarrowbutton.GIF" alt="3d%20icon%20arrow%20button.GIF" />Simple Downloading
    button origanlly made for &nbsp;PSP Unlimited
    but&nbsp;I wont&nbsp;use it.
    (Made with GIMP)</td>
    
        </tr>
    
      </tbody>
    </table>
    
    <div id="content">
    
    <h1>Maniac Studios...</h1>
    
    <p>Maniac Studios is a high tech web design/developer service. We offer professionally made websites, with graphics at a very small cost.   
    Whether you want a full out website with everything web pages should have and more, or if you are just looking to tell people  
    about your business, we are what you need. Every tool we use is some type of open source program.  We believe that professional, fresh looking websites can be achieved without spending hundreds and thousands of dollars out of the designers pockets or the customers.</p>
    
    </div>
    
    <!--Copyright bar and Maniac Studios pic-->
    
    <img class="footer_copyright" style="width: 759px; height: 29px;" src="copyright_bar.PNG" alt="copyright_bar.GIF" />
    <img class="footer_maniac" style="width: 174px; height: 77px;" src="maniacstudios.gif" alt="maniacstudios.gif" />
    
    
    <!-- Valid css and xhtml buttons-->
    
    <a class="validfooter" href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-xhtml10-blue" alt="Valid XHTML 1.0 Transitional" height="31" width="88" /></a> 
    
    <a class="validfooter1" href="http://jigsaw.w3.org/css-validator/validator?uri=http://home.comcast.net/~motormaniac/mainstyle.css">
      <img src="http://www.w3.org/Icons/valid-css-blue" alt="Valid CSS!" /></a>
    
    </div>
    
    </body>
    </html>
    CSS:
    Code:
    body {  
    	font-family: verdana,Times,serif;  
    	color: #0E1D2D;
    	font-weight: normal; 
    	font-size: 14px;
    	color: #356AA0;  
    	text-align: center;  height: 700px;
    	background-color:white;
    
    	}
    
    banner {  
    	font-family: verdana,Times,serif;  
    	color: silver;
    	font-weight: normal; 
    	font-size: 14px;
    	
    
    	}
    
    
    h1 {  
    	font-weight: normal;  
    	font-style: normal;  
    	text-decoration: none;  
    	background-color: transparent;   
    	font-family: verdana,times,monospace;   
    	color: #356AA0;  
    	font-size: 24px;  
    	text-align: center;  
    	text-transform: none;
    
    	}
    
    h3 {  	font-family: verdana,times,monospace;  
    	color: #356AA0;
    	text-decoration: underline;
    	font-size: 18px;
    	font-weight: normal;
    	}
    
    a {
    	color: blue;
    	text-decoration:none;
    
    	}
    
    a:visited {
    	color: blue;
    	text-decoration:none;
    
    	}
    
    a:hover {
    	color: red;
    	text-decoration: none;
    
    	}
    
    img {  
    	border:none;
    	}
    
    img.logo_maniac {  
    	border:none;
    	
    	}
    
    ul  {
    	list-style-type:none;
    	}
    
    
    
    
    img.footer_copyright {
    	position:absolute;
    	top:900px;
    	left:80px;
    
    	}
    
    img.footer_maniac {
    	position:absolute;
    	top:990px;
    	left:350px;
    
    	}
    
    a.validfooter {
    	position:absolute;
    	top:990px;
    	left:550px;
    
    	}
    
    a.validfooter1 {
    	position:absolute;
    	top:1020px;
    	left:550px;
    
    	}
    
    
    
    img.designofweek {  
    	position: absolute;  	
    	right: 0px;  
    	top: 355px;
    
    	}
    
    table.designofweek {  
    	position: absolute;  
    	right: 0px;  
    	top: 380px;
    	width:359px;
    	height:310px;
    	}
    
    img.blog {  
    	position: absolute;  
    	left: 490px;  
    	top: 300px;
    
    	}
    
    
    
    table.updates {  
    	position: absolute;  
    	left: 530px;  
    	top: 355px;
    
    	}
    
    
    
    a.affilated1 {
    	color: #EBD88B;
    	text-decoration:none;
    	position:absolute;
    	left: 30px;
    	border: none;
    
    	}
    
    
    
    a.affilated2 {
    	color: #EBD88B;
    	text-decoration:none;
    	position:absolute;
    	left: 30px;
    	border: none;
    
    	}
    
    
    /*NAVBAR STYLE*/
    
    
    
    
    
    ul.navbar {
    	padding: 0px; 
    	margin: 0; 
    	width: 0;
    	display:inline;
     	border: none;
    	}
    
    
    
    ul.navbar li {
    	margin: 0px; 
    	padding: 0px;
    	text-align: left; 
    	display: inline;
    	border: none;
    	
    	}
    
    ul.navbar a {
    	 
    	color: silver;
    	padding: 0; 
    	margin: 0; 
    	width: 0;
    	 }
    
    div {
    	background-color: transparent; 
    	border:0; }
    
    
    
    #navbar {
    	width: 900px; 
    	height: 48px;
    	margin: 0; 
    	padding: 0px; 
    	z-index: 1;
    	background-color:#356AA0;
    	position:absolute;
    	top:146px;
    	left:0px;
    	}
    
    
    
    
    #body {
    	width: 900px; 
    	height: 1080px;
    	margin: 0; 
    	padding: 0px; 
    	background-color:#B9D0E7;
    	position:absolute;
    	top:35px;
    	left:49px;
    
    	}
    
    #content {
    	width: 400px; 
    	height: 600px;
    	margin: 0; 
    	padding: 0px; 
    	position:absolute;
    	top:300px;
    	left:20px;
    	text-align:justify;
    
    	}
    
    #content_right {
    	width: 250px; 
    	height: 600px;
    	margin: 0; 
    	padding: 0px; 
    	position:absolute;
    	top:300px;
    	right:20px;
    	text-align:justify;
    
    	}
    __________________
    Website
    Maniac Studios
    Reply With Quote
      #2  
    Old 06-28-2007, 05:14 PM
    ray326's Avatar
    ray326 ray326 is offline
    Got Link?
     
    Join Date: Nov 2003
    Location: Jerryville, Tejas
    Posts: 11,741
    Try float:left instead of display:inline.
    __________________
    Help Save Ana

    Why use Web Standards: Zeldman
    How (new): Castro
    How (experienced): Cederholm
    If you can only get one book and you're already HTML savvy then this is it:
    stylin' with CSS: A Designer's Guide
    Charles Wyke-Smith
    New Riders


    "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." Brian W. Kernighan
    Reply With Quote
      #3  
    Old 06-29-2007, 12:16 PM
    motormaniac motormaniac is offline
    Just an Amature
     
    Join Date: Jul 2006
    Posts: 118
    thank you a tons. it worked.
    __________________
    Website
    Maniac Studios
    Reply With Quote
    Reply

    Bookmarks


    Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
     
    Thread Tools Search this Thread
    Search this Thread:

    Advanced Search
    Display Modes Rate This Thread
    Rate This Thread:

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is Off
    HTML code is Off
    Forum Jump


    All times are GMT -5. The time now is 04:18 PM.



    Acceptable Use Policy


    The Network for Technology Professionals

    Search:

    About Internet.com

    Legal Notices, Licensing, Permissions, Privacy Policy.
    Advertise | Newsletters | E-mail Offers

    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.