...

View Full Version : Link problem in IE



spookybonus
10-09-2006, 10:36 PM
everything displays how it should with any browser than internet explorer...the main problem is the links i make on text do not work in IE (the email link also does nothing) and the upload form does nothing, and the buttons are messed up looking.

the site is here: http://208.106.23.186/index.html
css 1 (index page)http://208.106.23.186/style_home.css
css 2 (all others)http://208.106.23.186/style_reg.css

this is my from html



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Royce Printing</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="style_reg.css" rel="stylesheet" type="text/css" />
<!--[if IE]>
<style>

* html #wrapper {
background: url(images/body_t1.gif) 24px 0px no-repeat;
backgro\und: none;
}

* html #ie {
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/body_t1.png');
height: 39px;
width: 434px;
position: absolute;
margin-left: 24px;
}

* html #body {
background: url(images/body_bg.gif);
backgro\und: none;
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/body_bg.png', sizingMethod=scale);
}

.footerie {
display: block;
disp\lay: none;
}

.footer {
display: none;
disp\lay: block;
}

</style>
<![endif]-->

<style type="text/css">
<!--
.style5 {
font-size: 16px;
font-weight: bold;
}
-->
</style>
</head>

<body>
<div id="ie"></div>
<div id="wrapper">
<ul id="nav">
<li><a href="index.html"><img src="images/home_tab.gif" alt="home" width="31" height="69" border="0" /></a></li>
<li><a href="contact.html"><img src="images/contact_tab.gif" alt="contact" width="31" height="69" border="0" /></a></li>
<li><a href="index.html"><img src="images/archive_tab.gif" alt="archive" width="31" height="69" border="0" /></a></li>
<li><a href="upload.html"><img src="images/upload_tab.gif" alt="upload" width="31" height="69" border="0" /></a></li>
</ul>
<h1><a href="/"><img src="images/logo.gif" width="135" height="30" alt="Royce Logo" /></a></h1>
<div id="body">
<div align="center" class="style5">
<p>&nbsp;</p>
<p>&nbsp;</p> <p align="center" class="style6">Send Us A File </p>
<form action="upload.php" method="post" enctype="multipart/form-data">
<p>&nbsp;</p>
<label for="file"></label>
<div align="center">
<input type="file" name="file" id="file" />
<input type="submit" name="submit" value="Submit" />
<br />
</div>
</form>
<p>&nbsp;</p>
</div>
<div id="footer">
<img src="images/footer.gif" width="435" height="196" alt="footer" class="footer" />
<img src="images/footer_ie.gif" width="435" height="196" alt="footer_ie" class="footerie" /> </div>
<!-- end footer -->
</div><!-- end body -->
<!-- end paper -->
</div>
<!-- end wrapper -->
<div style="clear:both;position:relative;display:block;margin-top:530px;" >
<p>&nbsp;</p>
<p>Royce Printing
</p>
</div>
</body>
</html>


and this is the css for the page...



body {
font-family: tahoma, helvetica, arial, sans-serif;
font-size: 10px;
text-align: center;
background: #d9d6cc url(images/page_bg.gif) top center repeat-x;
color: #868686;
margin: 0;
padding: 10px;
}

html, #wrapper, h1 {
margin: 0;
padding: 0;
}

img { border: 0; }

#wrapper {
margin: auto;
text-align: left;
width: 458px;
position: relative;
}

h1, h2, h3 {
font-size: 10px;
}


h1 {
line-height: 1;
position: absolute;
top: 0;
left: 0;
}

h2 {
margin: 0 0 5px 0;
padding: 0;
}

h3 {
padding: 4px 0 0 0;
}

.block {
display: block;
}

.clear {
clear: both;
height: 10px;
}

.left {
float: left;
margin: 5px 20px 0px 0px;
}

.right {
float: right;
margin: 0px 0px 0px 20px;
}

.readmore {
text-align: right;
}

/* page structure */

#wrapper {
background: url(images/body_t1.png) 24px 0px no-repeat;
height: 40px;
}

h1 {
position: absolute;
top: 16px;
left: 43px;
margin: 0;
padding: 0;
width: 135px;
z-index: 10;
}

#nav {
position: absolute;
top: 31px;
left: 0;
width: 31px;
margin: 0;
padding: 0;
z-index: 5;
}

#nav li {
float: left;
width: 31px;
padding: 0;
margin: 0;
list-style: none;
}

#nav img {
display: block;
}

#body {
background: url(images/body_bg.png) repeat-y;
position: absolute;
top: 39px;
left: 10px;
width: 448px;
margin: 0;
padding: 10px 0 0 0;
z-index: 2;
}

#body .inner {
width: 300px;
margin-top: 10px;
margin-right: 20px;
margin-bottom: 0px;
margin-left: 20px;
}

#body .inner #content {
width: 200px;
margin-left: 10px;
margin-top: 1em;
}

#body .inner #content p {
margin: 1em 0;
padding: 0;
}

#body .inner #content div {
padding: 17px;
border-top: 1px solid #d4d6cf;
border-bottom: 1px solid #d4d6cf;
}

#body .inner h2 {
font-size: 12px;
}

#page_title {
float: left;
width: 57px;
border-right: 1px solid #d4d6cf;
margin-top: 3px;
margin-right: 0;
margin-bottom: -50px;
margin-left: 15px;
padding-top: 20px;
padding-right: 0;
padding-bottom: 50px;
padding-left: 0;
}

* html #page_title {
margin-left: 7px;
}

#news {
float: left;
width: 129px;
margin: 10px 0 0px 6px;
background: url(images/box_bg.gif) repeat-y;
}

#news div {
background: url(images/box_t.gif) no-repeat;
}

#news div div {
padding: 12px 12px 7px 12px;
background: url(images/box_b.gif) bottom left no-repeat;
}

#news p {
margin: 0;
padding: 0 0 3px 0;
}

#news .readmore {
padding-top: 4px;
}

#paper {
position: absolute;
top: 39px;
left: 243px;
width: 196px;
z-index: 9;
background: url(images/paper_bg.gif) repeat-y;
}

#paper .inner {
background: url(images/paper_b.gif) bottom no-repeat;
padding: 8px 30px 18px 30px;
}

#paper .readmore {
text-align: left;
margin-bottom: 0;
padding-bottom: 0;
}

#paper p {
margin: 1em 0;
padding: 0;
}

#footer {
text-align: right;
margin-top: -10px;
}

.footerie {
display: none;
}

.clear {
margin-top: -20px;
}

a {
color: #575e58;
font-weight: bold;
}

a:hover {
color: #b31d00;
}


thank you for the help!

rmedek
10-09-2006, 10:39 PM
So… read those Posting Guidelines (http://codingforums.com/postguide.htm) before posting, did you?

spookybonus
10-09-2006, 10:54 PM
i guess my question needed to be more clear? i just need to get my site working like it does in firefox or any other browser than IE...
it would be great if somebody could point me to what i am doing wrong.

rmedek
10-09-2006, 10:57 PM
Type in a subject that summarizes your question- A great way to turn off other members wanting to help you is to type an incomplete or silly subject for your post. Examples of poor subject titles include:

- "Help!"
- "I'm a newbie...be gentle"
- "How can I..."
- "Urgent...deadline tomorrow!"

The above subjects either have absolutely nothing to do with the question itself, or are grossly incomplete (ie: "How can I..."). When asking for help, enter a subject that summarizes your question, period! Don't use silly, incomplete, or "bait" subjects. Some examples of good titles are:

- "How do I round a number to 2 decimal places using JavaScript?"
- "What's the difference between require() and include() in PHP?"
- "Can someone suggest a good, free HTML editor?"

Sorry, I don't mean to be rude; it's just irritating to see the Posting Guidelines so blatantly ignored on a first post.

As far as your issues, it might be better to take it one at a time rather than a blanket list of things to fix.

spookybonus
10-09-2006, 11:36 PM
yeah, thats true...

its been like 6 years since i had a part time job doing web design and a lot has changed...this is the first time ive used a css so something could be wrong in there making IE not display my links and php form correctly...i dont know.:confused:



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum