473,382 Members | 1,258 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

IE7 display issues

Stubert
20
Hey, I was just wondering if anyone could diagnose the error in my CSS/HTML for my website, it displays how I want it to on FF but not in IE7.

Here is the link to the site:

Website

I am wanting the navigation bar, to be inside the wrapper div, but it displays outside when viewed in IE7.

If you want me to post the code please say and I will.

Thanks, Stu.
Apr 29 '08 #1
3 1599
hsriat
1,654 Expert 1GB
I saw your site.
Unfortunately you would have to live with that.

But I have another advice for you.
Always give height and width attributes to the image in img tag. It tells the browser how to render other elements even before the image is loaded, and thus make the site look better when it's being loaded.
May 5 '08 #2
Stubert
20
I saw your site.
Unfortunately you would have to live with that.

But I have another advice for you.
Always give height and width attributes to the image in img tag. It tells the browser how to render other elements even before the image is loaded, and thus make the site look better when it's being loaded.
Oh wells, thanks anyway. I'll go set them up now and just sulk at IE for a bit.

Thanks,

Stuart
May 7 '08 #3
harshmaul
490 Expert 256MB
Hi try this out.... there is an awful lot of markup.... firstly it would help if you validate the markup.... then putting ur list in the div where you want it to appear.

All you need to do now is sort out the styles on the "topTab" class so they display right.

[HTML]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtmll1/DTD/xhtmll1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">

<head>

<meta http-equiv="Content-Type" content = "text/html; charset=UTF-8" />
<style type="text/css">

body
{
background-image:url('gfx/testBG3.jpg');
/*background-position:5%,0%;*/
background-repeat:no-repeat;
background-attachment:fixed;
font-family: Verdana, sans-serif;
font-size: 1em;
background-color:#FFFFFF;
color:#505050;
}

#container
{
padding-top:10%;
padding-left:10%;
}
#navBar
{
border: solid 1px #FFFFFF;
width:158px;
}

#wrapper
{
width:800px;
}

#main
{
background-image:url('gfx/testBG3inv.jpg');
/*background-position:5%,0%;*/
background-repeat:no-repeat;
background-attachment:fixed;
background-color:#FFF;
border: solid 2px #505050;
border-bottom:solid 1px #FFF;
width: 100%;
padding:0px 20px 20px 20px;
color:#505050;
}

td.tdPlayer
{
border:solid 2px black;
width: 12em;
}

#mkTable
{
border: none;

font-size:medium;
text-align:center;
}

.leftmosttab
{
border-left:solid 2px #505050;
}

.bottomTab
{
border-bottom:solid 2px #505050;
}

.topTab
{

}
#nav
{
width:800px;
margin:auto;
margin-top:0px;
padding:0;
border:0px;
}

#menu, #menu ul
{
list-style:none;
margin:0;
padding:0;
border:0px;

}

#menu li
{
float:left;
position:relative;
line-height:2.5em;
width:12em;
}

#menu li ul
{
position:absolute;
display:none;
}

#menu ul li ul
{
margin-top:-3em;
margin-left:7em;
}

#menu a
{
font-family: Tahoma, Verdana, sans-serif;
color:#505050;
display:block;
/*border-right:solid 2px #505050;
border-bottom:solid 2px #505050;*/
padding-left:5px;
font-size:1.5em;
}

#menu a:hover
{
background-color:#505050;
color:#fff;
}

#menu li ul li a
{
background-color:#FFF;
color:#505050;
border-left:solid 2px #505050;
border-right:solid 2px #505050;
}
#menu ul a
{
border-right:none;
border-right:1px solid #fff;
border-bottom:1px solid #fff;
border-left:1px solid #fff;
background:#AEC245;
}

#menu li:hover ul
{
display:block;
}

#footer
{
background-image:url('gfx/testBG3inv.jpg');
/*background-position:5%,0%;*/
background-repeat:no-repeat;
background-attachment:fixed;
background-color:#FFFFFF;
border:solid 2px #505050;
text-align:center;
width:840px;
}

h3
{
border-bottom:solid 1px #505050;
}

#main a
{
color: #505050;
font-size:medium;
}

#gallery li
{
list-style-type: none;
}

#gallery img
{
border: solid 1px #000;
}
#placeholder
{
border: solid 1px #000;
margin-left: 20%;
margin-top:-30%;
width:500px;
height: 340px;
}

h2
{
font-family: Tahoma, Verdana, sans-serif;
font-size: 4em;
}

h3
{
font-family: Tahoma, Verdana, sans-serif;
font-size: 2em;
}


</style>
<title>The Trunk | Home</title>
</head>

<body>
<div id="container">


<!--Wrapper-->
<div id="wrapper">


<!--Main content-->
<div id="main">
<div id ="nav">
<ul id="menu">
<li class="topTab"><a href="index.html">Home</a></li>
<li class="topTab"><a href="proj.html">Projects</a>
<ul>
<li class="topTab"><a href="uni.html">University</a></li>
<li><a href="excur.html">Extra-Curricular</a></li>
<li class="bottomTab"><a href="gall.html">Gallery</a></li>
</ul></li>
<li class="topTab"><a href="links.html">Linkys</a>
<ul>
<li class="topTab"><a href="acad.html">Academic Links</a></li>
<li class="bottomTab"><a href="rand.html" >Random Links</a></li>
</ul></li>
</ul>
</div>

<h2>The Trunk:</h2>
<p>Welcome to The Trunk, home of the slightly derranged game-loving me.</p>
<h3>Mario Kart Wii</h3>
<p>Oh. Meh. Goad. If you've not bought MKWii yet, then you are a fag and a tool. Go buy it now.
I don't care if you don't own a Wii. Buy the game then get a Wii. It's awesome.<br />
<br />
My Wii Console Code is: 3014-4263-3354-1655<br />
My MK Friend code is: 0774-4387-2581<br />
<br />
Get Adding!
</p>
<h3>Merry Christmas!</h3>
<p>It's cold, wet and windy, but still everyone's favourite time of the year! I don't know why really,
to be completely honest, it makes a poor man of most of us and ruins families. But you just can't destroy the Christmas spirit it seems...
Hope you all enjoyed your holidays.
</p>
<h3>Team Fortress</h3>
<p> Been playing a lot of <a href="http://orange.half-life2.com/tf2.html">Team Fortress 2</a> lately.
It really is a cracker of a game, it came with <a href="http://orange.half-life2.com/">The Orange Box</a>, another amazing bundle that I purchased.
If you haven't already got it, you should get a shot off a mate or buy it, I mean it's only 29GBP or something so it's not like it's that expensive...
</p>

<h3>State of the site</h3>
<p>I understand that the site looks a bit crud at the moment, but things will be a-changing shortly. Just give me time. Cheers. </p>


</div>

<!--Footer-->
<div id="footer">
<p>Made by Stuart Clark.</p>
</div>

</div>
</div>
</body>

</html>[/HTML]
May 7 '08 #4

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

Similar topics

1
by: David Thielen | last post by:
Hi; I would like to display a page then immediately cause a post back (the 1st page will have a big "working..." on it, then in the post back do my query which will take a couple of seconds, and...
2
by: Vikas Kumar | last post by:
How to Display the Map from the Shape files in ASP.NET?
3
by: c676228 | last post by:
Hi everyone, I have a piece of code in sales.aspx.vb like this: Protected WithEvents Message As System.Web.UI.WebControls.Label Try ... ChartImage.ImageUrl = "ChartGenerator.aspx?" + DataStr +...
7
by: Janis | last post by:
I try to understand what could be the source of a problem with displaying and hiding rows of tables using display:block/none. I've read selfhtml but could not find any hint about that. Any...
7
by: =?Utf-8?B?aWxy?= | last post by:
Hi I have a table in an sql database that contains data that has been encrypted using the DPAPI. What I am trying to achieve is to bind several controls on a vb 2005 windows form to those...
14
by: lmttag | last post by:
Hello. We're developing an ASP.NET 2.0 (C#) application and we're trying to AJAX-enable it. We're having problem with a page not showing the page while a long-running process is executing. So,...
2
by: Victor | last post by:
Hi guys i am facing a real big problem here. I bought a hosting plan and try to build my own website. my website has several language version(chinese english japanese). but i just found out the...
1
by: Wingot | last post by:
Hey, I have an application codenamed WingFlex. It has a number of aspects to it, but the prudent parts for this problem are all within the "Client" Schema. The Client schema has three tables...
10
by: Lorie0114 | last post by:
Hello, We have an issue that I do not know how to resolve. Our website has several hundred reports. There are a handful of them that are causing issues when there is no interaction for a couple...
4
by: eschneider | last post by:
I get the following error when trying to browse the .asmx. I get the same thing when trying to add a reference. using .NET 2.0 There is no error message. Any ideas? Thanks,
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.