473,804 Members | 3,460 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ARGHH! Forms!

toxicpaint
58 New Member
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
Nov 18 '06 #1
3 1738
toxicpaint
58 New Member
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;
}
Nov 18 '06 #2
cassbiz
202 New Member
Expand|Select|Wrap|Line Numbers
  1.  
  2.     body
  3.     {
  4.         margin: 0;
  5.         padding: 0;
  6.         text-align: center;
  7.         color: black;
  8.         background-color: #fff;
  9.     }
  10.  
  11.  
  12.     h2
  13.     {
  14.         color: #d00;
  15.         font: 150% arial, hevetica, sans-serif;
  16.         font-weight: bold;
  17.     }
  18.  
  19.     h3
  20.     {
  21.         color: #d00;
  22.         font: 120% arial, hevetica, sans-serif;
  23.         font-weight: bold;
  24.         margin-top: 0;
  25.     }
  26.  
  27.     #container
  28.     {
  29.         margin: 1em auto;
  30.         padding: 0px;
  31.         width: 960px;
  32.         background-color: #fff;
  33.         border: 1px solid black;
  34.         background-image: url(images/back.jpg);    
  35.     }
  36.  
  37.  
  38.     #header
  39.     {
  40.         height: 120px;
  41.         background-color: #fff;
  42.         background-image: url(images/header.gif);
  43.         padding: 0px 35px 0px 0px;
  44.         text-align: right;
  45.     }
  46.  
  47.  
  48.     #topmenu
  49.     {
  50.          background-image: url(images/topmenu.jpg);
  51.         background-repeat: no-repeat;
  52.         padding: 2px;
  53.         height: 26px;
  54.     }
  55.  
  56.  
  57.  
  58.     #topmenu ul
  59.     {
  60.         font: 80% "arial", serif;
  61.         text-align: left;
  62.         font-weight: bold;
  63.         margin: 0px 0px 0px 10px;
  64.         padding: 2px 0px 0px 0px;
  65.         list-style-type: none;
  66.     }
  67.  
  68.     #topmenu li
  69.     {
  70.         display: inline;
  71.         padding: 10px;
  72.     }
  73.  
  74.     #topmenu li a
  75.     {
  76.         text-decoration: none;
  77.         color: #000;
  78.     }
  79.  
  80.     #topmenu li a:hover
  81.     {
  82.         text-decoration: none;
  83.         color: #f00;
  84.     }
  85.  
  86.     #topmenu form
  87.     {
  88.         display: inline;
  89.         float: right;
  90.         padding: 20px 35px 0px 0px;
  91.         margin: 0px 0px 0px 0px;
  92.     }
  93.  
  94.     #topmenu input
  95.     {
  96.         margin: 0px 0px 0px 0px;
  97.     }
  98.  
  99.     #mainnav
  100.     {
  101.         text-align: left;
  102.         float: left;
  103.         margin: 60px 0px 5px 2px;
  104.         padding: none;
  105.         background-image: url(images/mainnav_back.gif);
  106.     }
  107.  
  108.     #mainnav ul
  109.     {
  110.         list-style-type: none;
  111.         margin: 0px 0px 0px 14px;
  112.         padding-left: 0px;
  113.         padding: none;
  114.         width: 140px;
  115.         font: 10pt arial, hevetica, sans-serif;
  116.     }
  117.  
  118.     #mainnav li
  119.     {
  120.         padding: 0px 0px 0px 0px;
  121.     }
  122.  
  123.     #mainnav li a
  124.     {
  125.         display: block;
  126.         padding: 5px 5px 5px 0.5em;
  127.         color: #000;
  128.         text-decoration: none;
  129.  
  130.     }
  131.  
  132.     #mainnav li a:hover
  133.     {
  134.         text-decoration: none;
  135.         color: #fff;
  136.         margin: 0px 12px 0px 4px;
  137.         background-color: #003466;
  138.     }
  139.  
  140.     #contents
  141.     {
  142.         margin: 60px 47px 0px 152px;
  143.         padding: 10px 6px 6px 6px;
  144.         text-align: left;
  145.         background-color: #D8E1E8;
  146.     }
  147.  
  148.  
  149.     #contents p
  150.     {
  151.         font: 80% arial, hevetica, sans-serif ;
  152.          line-height: 120%;
  153.     }
  154.  
  155.  
  156.     #contents  a
  157.     {
  158.         color: #570808;
  159.     }
  160.  
  161.     #contents a:hover
  162.     {
  163.         text-decoration: none;
  164.         color: #570808;
  165.     }
  166.  
  167.     #footer
  168.     {
  169.         font: 8pt arial, hevetica, sans-serif;
  170.         border-top: 1px dashed #444;
  171.         margin: 5px 35px 0px 14px;
  172.         padding: 5px 5px 5px 5px;
  173.         height: 15px;
  174.         text-align: right;
  175.         clear: both;
  176.         background-image: url(images/footer.jpg);
  177.     }
  178.  
  179.     .imagefloatright
  180.     {
  181.         float: right;
  182.         padding: 2px;
  183.         border: 0px solid #000;
  184.         margin: 0 0 10px 10px;
  185.     }
  186.  
  187.     .imagefloatleft
  188.     {
  189.         float: left;
  190.         padding: 2px;
  191.         border: 0px solid #000;
  192.         margin: 10px 10px 0px 0px;
  193.     }

As a thought in order to place everything correctly use position: relative or absolute so that IE will behave itself.
Nov 20 '06 #3
toxicpaint
58 New Member
Thanks a lot
Nov 22 '06 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

29
1830
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...
0
9711
marktang
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...
0
9591
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,...
1
10331
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,...
0
10087
tracyyun
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...
0
9166
agi2029
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...
0
6861
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();...
0
5529
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...
2
3831
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3001
bsmnconsultancy
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.