Jump to content

[SOLVED] meshing tables


contra10

Recommended Posts

I've looked at my css and there are no absolute values.

I'm testing my website on my laptop, and all is well until i look at the same website on my desktop.

 

more specifically the header is causing the trouble and is meshing with the content of the page.

 

my css is like this

 

* {
margin: 0;
padding: 0;
}

body {
background: #0171AF url(background.gif) repeat-x;
font-family: "Trebuchet MS" Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
line-height: 17px;
color: #333;
}

a {
text-decoration: none;
color: #0171AF;
}
a:hover {
text-decoration: underline;
color: #111;
}

#wrap {
margin: 40px auto;
width: 880px;
background: #fff;
border: 10px solid #D1E6EF;
}

#header {
height: 150px;
}
#header h1 { 
font-size: 28px;
letter-spacing: -1px;
padding: 23px 0 0 20px;
color: #0171AF;
}
#header h1 a { 
color: #0171AF;
text-decoration: none;
font-weight: 100;
letter-spacing: -2px;
}
#header h1 a:hover {
color: #111;
}
#header h2 {
font-size: 19px;
color: #ACD3E5;
padding: 5px 0 0 20px;
letter-spacing: -1px;
font-weight: 100;
}

#menu {
height: 80px;
line-height: 80px;
background: #D1E6EF;
}
#menu ul {
list-style-type: none;
padding-left: 20px;
}
#menu ul li {
float: left;
}
#menu ul li a {
padding: 0 20px 0 0;
text-decoration: none;
font-weight: 100;
font-size: 14px;
}
#menu ul li a:hover {
color: #111;
text-decoration: none;
}

#content {
padding: 15px 20px 20px 20px;
}

.left {
float: left;
width: 460px;
text-align: justify;
}
.left h2 {
font-size: 18px;
font-weight: 100;
padding: 15px 0 7px 0;
}
.left h2 a {
text-decoration: none;
}
.left h2 a:hover {
color: #111;
}

.right {
float: right;
width: 260px;
padding-top: 10px;
}
.right h2 {
margin: 10px 0 0 0;
padding-left: 10px;
height: 28px;
line-height: 28px;
background: #D1E6EF;
color: #111;
font-size: 13px;
}
.right ul {
padding: 10px 0 15px 10px;
list-style-type: none;
}
.right ul li a {
color: #648CA5;
text-decoration: none;
font-size: 14px;
font-weight: 100;
}
.right ul li a:hover {
color: #111;
}
.adleft {
float: left;
height: 105px;
width:105px;
border: 10px solid #ACD3E5;
font-size: 18px;
color: #aaa;
text-align: center;
}
.adright {
float: right;
height: 105px;
width:105px;
border: 10px solid #ACD3E5;
font-size: 18px;
color: #aaa;
text-align: center;
}

#footer {
height: 20px;
line-height: 30px;
background: #D1E6EF;
text-align: center;
font-size: 11px;
}

.searchbox {
border: 1px solid #ffffff;
background: url(sbg.gif) repeat-x; 
color: #ffffff;
font-size: 10px;
font-family: verdana;
padding: 4px;
}

 

and in all pages the trouble is caused with the link buttons not being in the header bgcolor but meshing with the content

 

div id="wrap">

<div id="header">
<img src="http://www.url.com/wireimg.png"/>
<img src="http://www.url.com/headerhelp.png"/>
</div>

<div id="menu" align="center">
<ul>
  <?php
include '/home/user/public_html/file11986.php';
?>
</ul>
</div>

<div id="content">
<div class="left">

 

please help this is getting really irritating as my laptop is crystal clear and the desktop shows something different

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.