When viewing my page (siuehockey.net ) in Firefox, it's setup how I want it to look. When i viewed it using IE, the menu at the top runs into the "Cougar Hockey/cougarhockey.ne t" at the top left. It's leaving off two menu selections: Contact, and Cougar History, which when loading the page get covered up by the banner picture.
Here's the CSS for the site: -
body {
-
margin: 0;
-
padding: 0;
-
background: #000000 url(images/img01.jpg) repeat-x left top;
-
text-align: justify;
-
font-family: Tahoma, Arial, Helvetica, sans-serif;
-
font-size: 12px;
-
color: #404040;
-
}
-
-
form {
-
margin: 0;
-
padding: 0;
-
}
-
-
fieldset {
-
margin: 0;
-
padding: 0;
-
border: none;
-
}
-
-
input, textarea, select {
-
font: normal 1em "Trebuchet MS", Arial, Helvetica, sans-serif;
-
}
-
-
-
h1, h2, h3 {
-
font-weight: normal;
-
color: #212121;
-
}
-
-
h1 {
-
letter-spacing: -1px;
-
font-size: 2.2em;
-
}
-
-
h2 {
-
font-size: 1.4em;
-
}
-
-
h3 {
-
font-size: 1.2em;
-
}
-
-
p, ul, ol {
-
}
-
-
p {
-
}
-
-
.blockbg {
-
background: #D9D785;
-
}
-
-
blockquote {
-
background: url(images/img08.jpg) no-repeat left top;
-
font-family: Georgia, "Times New Roman", Times, serif;
-
font-style: italic;
-
margin: 0 0 0 15px;
-
padding: 0px 20px 0px 30px;
-
font-size: 18px;
-
color: #3D3D3D;
-
}
-
-
ul {
-
}
-
-
ol {
-
}
-
-
a {
-
color: #808080;
-
}
-
-
a:hover {
-
text-decoration: none;
-
}
-
-
small {
-
}
-
-
hr {
-
display: none;
-
}
-
-
img {
-
border: none;
-
}
-
-
img.left {
-
float: left;
-
margin: 0 15px 0 0;
-
border: #D9D785 1px dashed;
-
}
-
-
img.right {
-
float: right;
-
margin: 0 0 0 15px;
-
border: #D9D785 1px dashed;
-
}
-
-
.text1 {
-
font-family: Georgia, "Times New Roman", Times, serif;
-
font-style: italic;
-
margin: 0 0 0 15px;
-
padding: 90px 20px 0px 30px;
-
font-size: 30px;
-
color: #FFFFFF;
-
}
-
-
/* Header */
-
-
#header {
-
width: 900px;
-
margin: 0 auto;
-
height: 71px;
-
letter-spacing: -1px;
-
font-family: Georgia, "Times New Roman", Times, serif;
-
}
-
-
-
#headerbg {
-
clear: both;
-
margin: 0 auto;
-
width: 900px;
-
height: 208px;
-
background: url(images/era.jpg) no-repeat left top;
-
margin: 0 auto;
-
margin-top: 20px;
-
}
-
-
/* Logo */
-
-
#logo {
-
float: left;
-
margin-top: 30px;
-
}
-
-
#logo h1, #logo h2, #logo p {
-
float: left;
-
margin: 0;
-
text-transform: lowercase;
-
}
-
-
#logo h1 {
-
background: url(images/img04.jpg) no-repeat left 50%;
-
padding-left: 60px;
-
text-align: center;
-
font-size: 3.2em;
-
color: #000000;
-
}
-
-
#logo h1 a {
-
color: #000000;
-
}
-
-
#logo p {
-
padding-top: 27px;
-
text-transform: uppercase;
-
font-family: Verdana, Arial, Helvetica, sans-serif;
-
font-size:10px;
-
color: #000000;
-
}
-
-
#logo h2 a, #logo p a {
-
color: #000000;
-
}
-
-
#logo a {
-
text-decoration: none;
-
}
-
-
/* Menu */
-
-
#menu {
-
float: right;
-
margin-top: 21px;
-
}
-
-
#menu ul {
-
margin: 0;
-
list-style: none;
-
}
-
-
#menu li {
-
display: inline;
-
}
-
-
#menu a {
-
display: block;
-
float: left;
-
padding: 30px 20px 0 20px;
-
text-align: center;
-
text-decoration: none;
-
text-transform: uppercase;
-
font-family: Arial, Helvetica, sans-serif;
-
font-weight: bold;
-
font-size: 14px;
-
color: #4E4E4E;
-
}
-
-
#menu a:hover {
-
background: url(images/img03.jpg) no-repeat center top;
-
}
-
-
#menu .current_page_item a {
-
background: url(images/img03.jpg) no-repeat center top;
-
}
-
-
/* Page */
-
-
#page {
-
width: 900px;
-
margin: 0 auto;
-
padding-top: 20px;
-
background: #F4F4F4;
-
}
-
-
#latest-post {
-
float: left;
-
width: 570px;
-
padding: 0px 20px 0px 20px;
-
line-height: 25px;
-
font-size: 12px;
-
}
-
-
#recent-posts {
-
float: right;
-
width: 250px;
-
padding: 0px 20px 20px 20px;
-
line-height: 25px;
-
font-size: 12px;
-
}
-
-
#recent-posts .entry {
-
}
-
-
#recent-posts .entry a {
-
background: #333333;
-
padding: 5px 10px;
-
text-transform: uppercase;
-
text-decoration: none;
-
font-size: 10px;
-
color: #FFFFFF;
-
}
-
-
#recent-posts .more {
-
background: url(images/img04.gif) no-repeat left 50%;
-
padding-left: 20px;
-
}
-
-
.post {
-
}
-
-
.post .title {
-
margin: 0;
-
}
-
-
.post .meta {
-
margin: 0;
-
padding-bottom: 10px;
-
padding-top: 10px;
-
line-height: normal;
-
font-size: 13px;
-
color: #505050;
-
}
-
-
.post .meta a {
-
color: #808080;
-
}
-
-
.post .entry {
-
margin-bottom: 20px;
-
padding-bottom: 5px;
-
border-bottom: #9C9C9C 1px dashed;
-
-
}
-
-
table
-
{
-
margin-left: auto;
-
margin-right: auto;
-
}
-
-
-
/* Sidebar */
-
-
#sidebar {
-
clear: both;
-
width: 900px;
-
background: #FF0000;
-
color: #CCCCCC;
-
padding: 10px 0 0 0;
-
}
-
-
#sidebar ul {
-
margin: 0;
-
padding: 0;
-
list-style: none;
-
}
-
-
#sidebar li {
-
display: block;
-
float: left;
-
width: 187px;
-
padding: 10px 10px 10px 25px;
-
}
-
-
#sidebar li ul {
-
line-height: 1.8em;
-
}
-
-
#sidebar li li {
-
display: list-item;
-
background: url(images/img07.gif) no-repeat left 50%;
-
float: none;
-
width: auto;
-
padding: 0 0 0 10px;
-
line-height: 25px;
-
}
-
-
#sidebar h2 {
-
margin: 0 0 10px 0;
-
color: #000000;
-
}
-
-
#sidebar a {
-
text-decoration: none;
-
color: #000000;
-
}
-
-
#sidebar a:hover {
-
text-decoration: underline;
-
}
-
-
/* Footer */
-
-
#footer {
-
width: 900px;
-
height: 50px;
-
margin: 0 auto;
-
margin-bottom: 20px;
-
background: url(images/img06.jpg) no-repeat left top;
-
font-size: 11px;
-
color: #CCCCCC;
-
}
-
-
#footer p {
-
margin: 0;
-
padding: 13px 20px 15px 20px;
-
}
-
-
#footer a {
-
color: #FFFFFF;
-
}
-
-
#legal {
-
float: left;
-
}
-
-
#links {
-
float: right;
-
}
-
-
Thanks for the help!
1 1547
It is a testament to software engineers and browser error recovery that the page proper even shows up on the screen at all in any browser. The document doctype XHTML Strict 1.0 yields no less than 427 markup validation errors (not to mention there are numerous CSS errors). The document is actually " HTML proprietary."
What to do? Nevertheless, let's try...
1/ Change the doctype to (this will reduce the markup errors from 427 to less than 10 errors): -
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
-
"http://www.w3.org/TR/html4/loose.dtd">
-
2/ In the head of the document, immediately above </head>, insert this "conditiona l comment" with styles within it to target IE/7.0 for corrections only to #header. (BTW, I was afraid to check your page in IE/6-- so I didn't even open it in that browser). -
<!--[if IE 7 ]>
-
<style>
-
#h1 #logo, #logo p {zoom: 1;}
-
#logo p { margin-top: -10px;}
-
#menu {float: none;margin-top: 98px;}
-
#headerbg {margin-top: 78px;}
-
</style>
-
<![endif]-->
-
I'll leave resolution of all issues below the header in IE/7 and compliant browsers to you and/or another member of the forum.
Good Luck!
PS
When you supply the page URI, as you have done, anyone can open the CSS file...
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Thomas Mlynarczyk |
last post by:
Hi,
Could some kind person using Mac or Linux (or others) please take a look at
http://www.mlynarczyk-webdesign.de/tmp/menu/menu.html
and tell me if the page renders as it should (screenshot provided on the
page)? Never mind the colors, this is just to test the functionality. The
page validates (HTML & CSS), and seems to "work" as expected on Windows
(IE5+, OP5+, NN5+, Mozilla & Firefox). I know the styles won't work on IE4
|
by: Deborah |
last post by:
I'm a rookie, and I guess I know just enough to be dangerous. I found a
great template website, openwebsign.org, and found an open source
template I really liked that even came in 2 versions. Spent 2 weeks
updating my website, put it up, **using the alternative** css sheet, and
pfft, IE 6.0 can't see the side menu items as hyperlinks.
Right now it's up as www.simi-therapy.com . The CSS sheet I'd like to
use is at...
|
by: krystian.kochanski |
last post by:
I have created the CSS based navigation using lists, I followed all the
conventions like to reset all the padding and margins first etc.
The menu looks great in PC Internet Explorer, looks the same in
Firefox, but different in Safari. The difference is in vertical spacing
among the links, it looks like the Safari render my lists differently,
WHY???
here is the URL
http://utopiasolutions.birkey.com/case_study.aspx
|
by: Edward |
last post by:
I created a simple CSS layout (code and example below) for
bloggin/writing but ran into five issues that I need help with:
1. How do I get rid of the right-margin red line on the last three
right-boxes in Internet Explorer?
2. How can I put a 4px margin BETWEEN the right-boxes, "border-top:
4px" didn't do it and if I put in a "margin-top: 4px;" it shows the red
underneath instead of the brown background graphic.
|
by: Jobe |
last post by:
I refer to following URL
http://www.web-garden.be/index11.html
CSS validated code
In Firefox everything looks great
In IE6, the 'text-boxes'start to move with hover. By moving your mouse
over the menu, the boxes act like an accordeon
| |
by: töff |
last post by:
On my site http://www.sjcga.com I have a javascript-generated navigation
menu in the top right corner.
The menu works great in IE and Opera ... but in FireFox, on the 1st
click, the menu jumps to the right and doesn't follow the link. Then on
the 2nd click, the link works.
I've never seen anything like this, and I can't figure out what's wrong
with my code. I get no javascript errors in the FireFox console, and my
HTML and CSS have...
|
by: dotneto |
last post by:
Hi, i have a menu in aspnet that used to be fine, now, my user wants it to work in ie6 as well as in IE7, it used to be ok in ie7, in ie6 the menu looks just like links. It doesn't works well in firefox but now my big problem is to get it working on IE6.
The menu is in a master page and I use a sitemap data source to feed the menu. the problem is basically the way it looks.
Any idea?
Thanks.
|
by: Jim |
last post by:
Hi,
I have two questions/problems pertaining to CSS horizontal dropdown
menus and am hoping that someone here can help me out.
(1)
I'm having a problem centering the menu. I picked up the code for
this from a tutorial but that menu was flush-left justified. Not what
I want. Subsequent searches on google on how to center yielded a
|
by: Candoer |
last post by:
I am new to both HTML and CSS. Several months ago my High School Alumni association web master died and they asked me to take over the web site. I had never worked with CSS but had some experience with HTML. The site was written strictly using HTML and had no CSS. So I decided to take on the task to convert it using CSS. For the past three months I have been lurking on this group and trying my best to absorb your suggestions to others and...
|
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: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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: 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: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
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...
| | |