Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Site views wrong in firefox please help
Old 07-28-2006, 04:11 AM Site views wrong in firefox please help
Extreme Talker

Posts: 161
Trades: 0
Ok am learning to design a site and have this one here but it looks ok in IE, but there is white space under the logo on firefox how do i sort this in firefox.
afcbob is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-28-2006, 04:57 AM Re: Site views wrong in firefox please help
sameer's Avatar
Super Talker

Posts: 103
Name: Sameer
Location: India
Trades: 0
Code:
div.header,div.footer
{
padding:0.5em;
color:white;
background-color:#000055;
clear:left;
}
it should be
Code:
div.header
{
padding:0em 0.5em, 0.5em,0.5em;
color:white;
background-color:#000055;
clear:left;
}
div.footer
{
padding:0.5em;
color:white;
background-color:#000055;
clear:left;
}
If it doesnt work try placing borders around the Div
so that you can know what is expanding/overlapping
u can remove the borders after you fix the code.
__________________

Please login or register to view this content. Registration is FREE
|

Please login or register to view this content. Registration is FREE
|

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE
sameer is offline
Reply With Quote
View Public Profile Visit sameer's homepage!
 
Old 07-28-2006, 06:34 AM Re: Site views wrong in firefox please help
Extreme Talker

Posts: 161
Trades: 0
Ok tried that but still not working. I have now put a red borer around the logo header and menu. and you please see why its still not working right.
afcbob is offline
Reply With Quote
View Public Profile
 
Old 07-28-2006, 08:06 AM Re: Site views wrong in firefox please help
sameer's Avatar
Super Talker

Posts: 103
Name: Sameer
Location: India
Trades: 0
here is the corrected html
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.O Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html><head><title>Marine Fish</title>





<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link rel="stylesheet" type="text/css" href="index_files/style.css"></head><body>

<div class="container">
    <div class="logo"><img src="index_files/logo.jpg" height="90" alt="logo" width="100%"></div>
    <div class="header">
    <ul>
    <li><a href="#">Home</a></li>
    <li><a href="#">News</a></li>
    <li><a href="#">Marine Life</a></li>
    <li><a href="#">Gallery</a></li>
    <li><a href="#">Contact Us</a></li>
    <li><a href="#">Links</a></li>
    </ul>

    </div>
    <div class="left"><h3 class="red">Latest News</h3>
    <p>New Site will be added lots more soon.</p>
    <p>Will be adding images of my tank soon.</p>
    <p>Please vist a very good forum at www.marineifshuk.co.uk</p>
    </div>

    <border="1"></border="1"><div class="content">
    <h2 class="header">Photo Of The Month</h2>
    <p>We
will display a photo here that we think is worth our photo of the
month. Your image does not have to be the most beautiful tank but
something that stands out.</p>
    <p class="small"><img src="index_files/crabsmall.jpg" alt="crabs fighting"><br>Crabs Fighting</p>
    <p>If you think you have a photo of the month please send it to us by email.</p>
    </div>
    <div class="footer">Copyright 2006 by Marine Fish Designed by Robert Nelson.</div>
</div>

</body></html>
the css
Code:
div.container
{
position:absolute;
left:150px;
width:70%;
margin:0px;
border: 1px solid #000055;
}

div.logo
{
height:91px;
}

p.small
{
text-align:center;
font-size:small;
}

div.header
{

color:white;
background-color:#000055;

}

div.footer
{
padding:0.5em;
color:white;
background-color:#000055;
clear:left;
}


h2.header
{
text-align: center;
}

h3.red
{
color:red;
padding:0;
margin:0;
}

div.left
{
font-size:small;
float:left;
width:150px;
hight:300px;
margin:0;
padding:2em;


}

div.content
{
margin-left:190px;
hight:300px;
border-left: 1px solid #000055;
padding:1em;
}

ul
{
text-align:right;
padding:0;
margin:0;
list-style-type:none;
}

a
{
width:6em;
text-decoration:none;
color:white;
background-color:#000055;
padding:0px 15.5px;
border-left:1px solid white;
}

a:hover {background-color:#000088}
li {display:inline}
it NOW works both in IE and FF
__________________

Please login or register to view this content. Registration is FREE
|

Please login or register to view this content. Registration is FREE
|

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Last edited by sameer; 07-28-2006 at 08:18 AM..
sameer is offline
Reply With Quote
View Public Profile Visit sameer's homepage!
 
Old 07-28-2006, 10:16 AM Re: Site views wrong in firefox please help
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Ok, the only thing that has to be fixed is to remove this:

<p class="small"></p> -- it is above your <ul> for your menu.

Also remove this:

<border="1"><div class="content">

There is no such thing.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Last edited by LadynRed; 07-28-2006 at 10:18 AM..
LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Site views wrong in firefox please help
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.27799 seconds with 12 queries