There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
access audio avg avg 8 bios blue screen boot bsod computer connection cpu crash css dell desktop dma driver drivers dvd email error excel explorer firefox firefox 3 freeze gimp graphics hard drive hardware hijackthis hjt install internet internet explorer itunes keyboard laptop macro malware monitor motherboard network networking outlook outlook 2003 outlook 2007 outlook express pio problem problems router seo server slow sound sp3 spyware trojan usb video virtumonde virus vista vundo windows windows vista windows xp winxp wireless
Web Design & Development
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Internet & Networking > Web Design & Development >
Firefox and CSS.


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

 
Thread Tools
Tim Underwood's Avatar
Member with 75 posts.
 
Join Date: Oct 2006
Experience: Intermediate
01-Nov-2007, 04:30 PM #1
Firefox and CSS.
Hi.

I am trying to create a website for my boss and i have done a little bit so far. But i have a problem.

If you go to:

www.enigmamobilediscos.co.uk/style1.html

in Internet explorer 7 is how it should look. However in Firefox it doesnt look how it should. The buttons are not in the "bannerbg" bit at the top they are kind of below it and the footer is at the top of the page, covering it all. Is there any way to fix this?

the css is at:

www.enigmamobilediscos.co.uk/style1.css

I would really appreciate some help as i'm stuck for ideas. Hopefully i'm just missing something. . .

Kind Regards
Tim
Fyzbo's Avatar
Senior Member with 1,767 posts.
 
Join Date: Feb 2002
Location: North Carolina, USA
Experience: Programming-Advanced|EVER
01-Nov-2007, 04:48 PM #2
You need to add two styles one to .bannerbg and one to .footer

PHP Code:
.bannerbg{
    
border-bottom:4px solid #FFFFFF;
    
background-color#CB160B;
    
height20%;
    
width100%;
    
padding-left0%;
    
float:left/* Adding a float left will force it to stretch to contain it's nested float left items, like the navbar */
}
.
footer{
    
width:100%;
    
background-color#CB160B;
    
height5%;
    
margin-top8px;
    
text-aligncenter;
    
text-color#FFFFFF;
    
clear:both/* clear both forces it to be below both float right and float left items */

Tim Underwood's Avatar
Member with 75 posts.
 
Join Date: Oct 2006
Experience: Intermediate
01-Nov-2007, 04:57 PM #3
Thank you! You have saved me! It works brilliantly!

I am really grateful! Thank you!

Kind Regards
Tim
Reply


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

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 On
Pingbacks are Off
Refbacks are Off

You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 09:36 AM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.