As usual Firefox is perfect and IE is a pain in the ass.
Can anyone tell me why I'm getting all the extra space under the search box, please. I've tried a couple of solutions to no prevale.. =(
URL:
http://www.macabre.org .uk/global/site4
CSS:
body
{
margin: 0;
padding: 0;
text-align: center;
color: black;
background-color: #fff;
}
h2
{
color: #d00;
font: 150% arial, hevetica, sans-serif;
font-weight: bold;
}
h3
{
color: #d00;
font: 120% arial, hevetica, sans-serif;
font-weight: bold;
margin-top: 0;
}
#container
{
margin: 1em auto;
padding: 0px;
width: 960px;
background-color: #fff;
border: 1px solid black;
background-image: url(images/back.jpg);
}
#header
{
height: 101px;
background-color: #fff;
background-image: url(images/header.gif);
padding: 0px 35px 0px 0px;
text-align: right;
}
#topmenu
{
background-image: url(images/topmenu.jpg);
background-repeat: no-repeat;
padding: 2px;
height: 26px;
}
#topmenu ul
{
font: 80% "arial", serif;
text-align: left;
font-weight: bold;
margin: 0px 0px 0px 10px;
padding: 2px 0px 0px 0px;
list-style-type: none;
}
#topmenu li
{
display: inline;
padding: 10px;
}
#topmenu li a
{
text-decoration: none;
color: #000;
}
#topmenu li a:hover
{
text-decoration: none;
color: #f00;
}
#topmenu form
{
float: right;
padding: 40px 35px 0px 0px;
margin: 0px 0px 0px 0px;
}
#topmenu input
{
margin: 0px 0px 0px 0px;
}
#mainnav
{
text-align: left;
float: left;
margin: 60px 0px 5px 2px;
padding: none;
background-image: url(images/mainnav_back.gi f);
}
#mainnav ul
{
list-style-type: none;
margin: 0px 0px 0px 14px;
padding-left: 0px;
padding: none;
width: 140px;
font: 10pt arial, hevetica, sans-serif;
}
#mainnav li
{
padding: 0px 0px 0px 0px;
}
#mainnav li a
{
display: block;
padding: 5px 5px 5px 0.5em;
color: #000;
text-decoration: none;
}
#mainnav li a:hover
{
text-decoration: none;
color: #fff;
margin: 0px 12px 0px 4px;
background-color: #003466;
}
#contents
{
margin: 60px 47px 0px 152px;
padding: 10px 6px 6px 6px;
text-align: left;
background-color: #fff;
}
#contents p
{
font: 80% arial, hevetica, sans-serif ;
line-height: 120%;
}
#contents a
{
color: #570808;
}
#contents a:hover
{
text-decoration: none;
color: #570808;
}
#footer
{
font: 8pt arial, hevetica, sans-serif;
border-top: 1px dashed #444;
margin: 5px 35px 0px 14px;
padding: 5px 5px 5px 5px;
height: 15px;
text-align: right;
clear: both;
background-image: url(images/footer.jpg);
}
.imagefloatrigh t
{
float: right;
padding: 2px;
border: 0px solid #000;
margin: 0 0 10px 10px;
}
.imagefloatleft
{
float: left;
padding: 2px;
border: 0px solid #000;
margin: 10px 10px 0px 0px;
}
Thanks in advance,
Tom
3 1738
I've been messing with the CSS, so here's an updated version
body
{
margin: 0;
padding: 0;
text-align: center;
color: black;
background-color: #fff;
}
h2
{
color: #d00;
font: 150% arial, hevetica, sans-serif;
font-weight: bold;
}
h3
{
color: #d00;
font: 120% arial, hevetica, sans-serif;
font-weight: bold;
margin-top: 0;
}
#container
{
margin: 1em auto;
padding: 0px;
width: 960px;
background-color: #fff;
border: 1px solid black;
background-image: url(images/back.jpg);
}
#header
{
height: 120px;
background-color: #fff;
background-image: url(images/header.gif);
padding: 0px 35px 0px 0px;
text-align: right;
}
#topmenu
{
background-image: url(images/topmenu.jpg);
background-repeat: no-repeat;
padding: 2px;
height: 26px;
}
#topmenu ul
{
font: 80% "arial", serif;
text-align: left;
font-weight: bold;
margin: 0px 0px 0px 10px;
padding: 2px 0px 0px 0px;
list-style-type: none;
}
#topmenu li
{
display: inline;
padding: 10px;
}
#topmenu li a
{
text-decoration: none;
color: #000;
}
#topmenu li a:hover
{
text-decoration: none;
color: #f00;
}
#topmenu form
{
display: inline;
float: right;
padding: 20px 35px 0px 0px;
margin: 0px 0px 0px 0px;
}
#topmenu input
{
margin: 0px 0px 0px 0px;
}
#mainnav
{
text-align: left;
float: left;
margin: 60px 0px 5px 2px;
padding: none;
background-image: url(images/mainnav_back.gi f);
}
#mainnav ul
{
list-style-type: none;
margin: 0px 0px 0px 14px;
padding-left: 0px;
padding: none;
width: 140px;
font: 10pt arial, hevetica, sans-serif;
}
#mainnav li
{
padding: 0px 0px 0px 0px;
}
#mainnav li a
{
display: block;
padding: 5px 5px 5px 0.5em;
color: #000;
text-decoration: none;
}
#mainnav li a:hover
{
text-decoration: none;
color: #fff;
margin: 0px 12px 0px 4px;
background-color: #003466;
}
#contents
{
margin: 60px 47px 0px 152px;
padding: 10px 6px 6px 6px;
text-align: left;
background-color: #D8E1E8;
}
#contents p
{
font: 80% arial, hevetica, sans-serif ;
line-height: 120%;
}
#contents a
{
color: #570808;
}
#contents a:hover
{
text-decoration: none;
color: #570808;
}
#footer
{
font: 8pt arial, hevetica, sans-serif;
border-top: 1px dashed #444;
margin: 5px 35px 0px 14px;
padding: 5px 5px 5px 5px;
height: 15px;
text-align: right;
clear: both;
background-image: url(images/footer.jpg);
}
.imagefloatrigh t
{
float: right;
padding: 2px;
border: 0px solid #000;
margin: 0 0 10px 10px;
}
.imagefloatleft
{
float: left;
padding: 2px;
border: 0px solid #000;
margin: 10px 10px 0px 0px;
}
-
-
body
-
{
-
margin: 0;
-
padding: 0;
-
text-align: center;
-
color: black;
-
background-color: #fff;
-
}
-
-
-
h2
-
{
-
color: #d00;
-
font: 150% arial, hevetica, sans-serif;
-
font-weight: bold;
-
}
-
-
h3
-
{
-
color: #d00;
-
font: 120% arial, hevetica, sans-serif;
-
font-weight: bold;
-
margin-top: 0;
-
}
-
-
#container
-
{
-
margin: 1em auto;
-
padding: 0px;
-
width: 960px;
-
background-color: #fff;
-
border: 1px solid black;
-
background-image: url(images/back.jpg);
-
}
-
-
-
#header
-
{
-
height: 120px;
-
background-color: #fff;
-
background-image: url(images/header.gif);
-
padding: 0px 35px 0px 0px;
-
text-align: right;
-
}
-
-
-
#topmenu
-
{
-
background-image: url(images/topmenu.jpg);
-
background-repeat: no-repeat;
-
padding: 2px;
-
height: 26px;
-
}
-
-
-
-
#topmenu ul
-
{
-
font: 80% "arial", serif;
-
text-align: left;
-
font-weight: bold;
-
margin: 0px 0px 0px 10px;
-
padding: 2px 0px 0px 0px;
-
list-style-type: none;
-
}
-
-
#topmenu li
-
{
-
display: inline;
-
padding: 10px;
-
}
-
-
#topmenu li a
-
{
-
text-decoration: none;
-
color: #000;
-
}
-
-
#topmenu li a:hover
-
{
-
text-decoration: none;
-
color: #f00;
-
}
-
-
#topmenu form
-
{
-
display: inline;
-
float: right;
-
padding: 20px 35px 0px 0px;
-
margin: 0px 0px 0px 0px;
-
}
-
-
#topmenu input
-
{
-
margin: 0px 0px 0px 0px;
-
}
-
-
#mainnav
-
{
-
text-align: left;
-
float: left;
-
margin: 60px 0px 5px 2px;
-
padding: none;
-
background-image: url(images/mainnav_back.gif);
-
}
-
-
#mainnav ul
-
{
-
list-style-type: none;
-
margin: 0px 0px 0px 14px;
-
padding-left: 0px;
-
padding: none;
-
width: 140px;
-
font: 10pt arial, hevetica, sans-serif;
-
}
-
-
#mainnav li
-
{
-
padding: 0px 0px 0px 0px;
-
}
-
-
#mainnav li a
-
{
-
display: block;
-
padding: 5px 5px 5px 0.5em;
-
color: #000;
-
text-decoration: none;
-
-
}
-
-
#mainnav li a:hover
-
{
-
text-decoration: none;
-
color: #fff;
-
margin: 0px 12px 0px 4px;
-
background-color: #003466;
-
}
-
-
#contents
-
{
-
margin: 60px 47px 0px 152px;
-
padding: 10px 6px 6px 6px;
-
text-align: left;
-
background-color: #D8E1E8;
-
}
-
-
-
#contents p
-
{
-
font: 80% arial, hevetica, sans-serif ;
-
line-height: 120%;
-
}
-
-
-
#contents a
-
{
-
color: #570808;
-
}
-
-
#contents a:hover
-
{
-
text-decoration: none;
-
color: #570808;
-
}
-
-
#footer
-
{
-
font: 8pt arial, hevetica, sans-serif;
-
border-top: 1px dashed #444;
-
margin: 5px 35px 0px 14px;
-
padding: 5px 5px 5px 5px;
-
height: 15px;
-
text-align: right;
-
clear: both;
-
background-image: url(images/footer.jpg);
-
}
-
-
.imagefloatright
-
{
-
float: right;
-
padding: 2px;
-
border: 0px solid #000;
-
margin: 0 0 10px 10px;
-
}
-
-
.imagefloatleft
-
{
-
float: left;
-
padding: 2px;
-
border: 0px solid #000;
-
margin: 10px 10px 0px 0px;
-
}
As a thought in order to place everything correctly use position: relative or absolute so that IE will behave itself.
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Mercury Mercurius |
last post by:
Please help - I'm at my wits' end....
I'm getting two different placements of some content wrapped in a
<span> tag in Netscape and Internet Explorer (big surprise!). I prefer
how the page looks in IE (the text describing the painting should be
just to the right side of the painting). However, in Netscape, this
same text is mysteriously relegated to the bottom of the page. What
correction / adjustment do I need to make in order to get...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
| |
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |