DESPERATELY NEED HELP

cestquelquechose
avatar
rank newbie

newbie


Posts: 3
Joined: 2008-07-11
Location: North Philadelphia

Before I say anything I want to say that I know there are technically HTML errors. I really really really am at my wits end, and I know that this is a CSS based issue.

In Firefox, my page loads fine. In IE7, no matter how many adjustments I make in any number of ways, I ABSOLUTELY CAN'T FIND A FIX. I tried the Holly Hack...I tried using tons of combinations of margins, positionings, absolute, relative, fixed, etc.

The site: http://www.starsandscars.com/index2.html
The CSS: http://www.starsandscars.com/css/sxs08.css

It may be messy, and this may not be the proper way to ask for help, but I am desperate for a quick fix. I have worked on this for weeks and CANNOT find a fix. PLEASE help me out...and forgive my ignorance of the rules. This is a short time frame situation.

Thank you soooo much for your help!

Joshua

Tyssen
Tyssen's picture
rank Moderator

Moderator


Posts: 6782
Joined: 2004-05-01
Location: Brisbane

Move #logo (and all its

Move #logo (and all its contents) inside #main and then use this (I tidied up the CSS and removed all the unnecessary stuff):

body {
	margin: 0;
	background: #0060B6 url(../images/smallguitar_BG.gif);
	color: #a10000;
	font: 12px Georgia, "Times New Roman", Times, serif;
}

body.photos {
	margin: 0;
	background-color: #ffffff;
}

table, td, tr { color: #FFFFFF }

a {
	color: #a10000;
	font-weight: bold;
	text-decoration: none;
}

a.table {
	color: #a10000;
	font-weight: bold;
	text-decoration: none;
}

a.leftnav, a.rightnav {
	font-weight: normal;
	text-decoration: none;
	}

img {
	border: none;
}

ul {
	margin: 0;
	padding: 0;
	line-height: 1.2;
	list-styl: none;
}

p {
	color: #a10000;
}

#main {
	float: left;
	margin: 110px 0 60px 60px;
	border: 2px solid #999999;
	background: #ffffff url(../images/star.png) top right no-repeat;
	width: 720px;
	min-height: 180px;
	color: #a10000;
}

#text {
	float: right;
	position: relative;
	width: 500px;
	margin-right: 50px;
	min-height: 450px;
}

#topNav {
	position: absolute;
	top: 99px;
	left: 180px;
	width: 540px;
	height: 1.5em;
	z-index: 5;
	color: #a10000;
}

#leftnav {
	float: left;
	border: 2px solid #999999;
	background-color: #ffffff;
	margin: 60px 0 30px -25px;
	padding: 7px;
	width: 125px;
}

#rightnav {
	float: right;
	margin-top: 20px;
	padding: 5px;
	width: 100px;
}

#logo {
	position: absolute;
	top: 0;
	left: 0;
	margin: 0;
	z-index: 3;
	width: 100%;
}

#intPicL {
	float: left;
	padding: 1em;
}

#intPicR {
	float: right;
	padding: 1em;
}

#copy {
	clear: both;
	position: relative;
	padding: 3em 0em 0.5em 1.5em;
}

How to get help
Post a link. If you can't post a link, post ALL your code, both HTML & CSS. No server-side code; just the code sent to the browser.
Use tags.
My articles | CSS Reference

garnetweb
garnetweb's picture
rank newbie

newbie


Posts: 6
Joined: 2008-07-24
Location: CA, USA

Tyssen your code tidying here was really instructive

Thanks from a 3rd party for the instructive code tidying -- helped me with another issue I was working on!