Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Please help with my CSS problem

 
   Web Hosting and Web Master Forums (Home) -> Webmaster RSS
Next:  Web hosting suggestions wanted please  
Author Message
dtfa

External


Since: Jun 30, 2003
Posts: 49



(Msg. 1) Posted: Sun Jul 20, 2003 5:09 pm
Post subject: Please help with my CSS problem
Archived from groups: alt>www>webmaster (more info?)

Under IE 6 my test page looks fine.
Under Netscape, the products area has not background or border and the
text color is wrong.
Under Mozilla you cannot see the content area at all.

I validated the hmtl code with the online validator and it passed.

How can I fix this?

Thanks for any advice



Here is the html

<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<head>
<title>My Title</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" >
<link href="../test2.css" rel="stylesheet" type="text/css" >
</head>
<body>
<div id="logo">Logo goes here</div>
<div id="content">
Information
<div id="cnt-inside">
 
<h1>My Heading Goes Here</h1>
  <p>Blah Blah Blah

 
<h1>Another Heading</h1>
  <p>More text</p>
</div>
</div>
<div id="menu">Menu goes here</div>
<div id="products"> <img src="../media/images/left-corner.gif"
width="10" height="15" alt="">Products
in our Store
<div id="prd-inside"> Stuff
<p>Stuff and more <br>
stuff and more stuff </div>
</div>
<div id="footer">
<em>Banner goes here</em>
Home
Find
</div>
</body>
</html>

Here is the css
/* CSS Document */

body{
margin: 0;
background: #ccc;
}

#content{
  margin-top: 8em;
  margin-right: 150px;
  margin-left: 4px;
  background-color: #8a0000;
  color: White;
  font-style: italic;
  font-weight: bold;
  font-family: serif;
}

#content #cnt-inside {
  padding-left: 4px;
  padding-right: 4px;
  background:white;
border: 1px solid black;
}

#logo{
position:absolute;
  margin:0px;
top: 0;
  left: 0;
  width: 100%;
  height: 6em;
  background: white;

}
#menu {
  position: absolute;
  top: 6em;
right: 0;
  height: 2em;
width: 100%;
background: cyan; }
 
#products {
  position:absolute;
  top: 8em;
  right: 4px;
  color: white;
  background: 8a0000;
  font-size: 1em;
}

}
#products #prd-inside {
border: 1px solid black;
right: 4px;
padding-left:4px;
padding-right:4px;
background:white;
color:black;
 
}

#products h2 { margin-top: 0;
  color: white;
  background: red;
  font-size: 1em;
}


#footer {
  border: 1px solid;
margin-right: 12px;
  margin-left: 4px;
  margin-bottom: 0px;
  margin-top: 4px;
  padding: 5px;
  background-color: #FFFFFF;
  font-size: 65%;
  text-align: center;
}<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Please help with my CSS problem 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
A very strange problem - Help! - Platform: HP-UX. I was working with a bunch files in a temp directory. When I am done I deployed all the files to the working directory by copying them over. When I remove the files from the temp directory, the directory somehow RECREATED a bunch of..

Annoying ISP problem - This is the weirdest problem I've ever had with an ISP, and I'm wondering if any gurus out there might know what could cause it, either on my end or on the ISP's end: I host 3 domains with a company that uses dynamic IP addressing. Yesterday, I suddenl...

How do I fix this CSS Problem (part2) - Sorry for the mis-post I have this page www.3dshoots.com/links.html Notice how the content column is the right size but the right border is in the wrong place. How do I fix this. This is my doc type <html xmlns="http://www.w3.org/1999/xhtml&q...

a problem I can't solve - I am so sorry to bother you with my site again but I am pulling my hair out and can't think of anywhere else to turn. When I view my charity site - http://www.orangutan-appeal.org.uk/ in a new IE page and choose any of the menu items on the left frame, ...

browser compatibility problem - Hallo everyone. The website I am finishing off is www.tecnolingueitalia.com . I have created some css buttons for navigation with dhtml effects. Now, the javascript and the css seem to work fine in all browsers checked so far (IE 5.5. onwards, NS 4.7..
   Web Hosting and Web Master Forums (Home) -> Webmaster All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]