Jump to content

Help ME

Whether you're a seasoned veteran or a struggling beginner, Web Radiance is the web development and web design forum for you. You'll find answers to all your HTML, CSS, SEO, and Programming needs. Pull up a chair and stay awhile.

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

Help ME Rate Topic: -----

#1 User is offline   haseeb 

  • W.R. Private
  • Group: Members
  • Posts: 3
  • Joined: 10-November 08

Posted 10 November 2008 - 12:51 PM

Ok guys sorry for posting my first post for help not in Introduction anyways im in a hurry.
Iam working on a project i have done almost 70percent index page but now iam facing a problem or you may call it an error.
Look at the plan or Package section of the page.Its working fine in IE but in firefox the images are going down.
http://pakiway.thvhosting.net/test/

CSS
body {height:600px;
	  width:1024px;
	  margin:0px;
	  padding:0px;
	  background-color: #fff;
	  font-family: Tahoma, Arial, Helvetica, sans-serif;
	  font-size: 10px;
	  color: #424241;
}

a {
	  text-decoration: none;
	  color: #424241;
}

a:hover {
	  border: none;
}

img {
	  border: 0px
}

h1, h2, h3 {
	 font-weight: bold;
	 font-family: Arial, Helvetica, sans-serif;
	 letter-spacing: 0px;
	 color: #6D8A07;
}

p {
	 margin-top:-6px;
	 line-height: 1.00em;
	 font-size:11px
}

input {border:1px solid #8CB207;
color:#597104
}

textarea {border:1px solid #8CB207;
height:80px;
width:150px;
color:#597104
}

form {padding:0px;
margin:0px
}

#header {
	  background: url(images/header.gif);
	  background-repeat: no-repeat;
	  background-position:top;
	  height:111px;
	  padding:0px;
	  margin:0px; 
}

.menu {
	  background: url(images/menu.gif);
	  background-repeat: no-repeat;
	  height:128px;
	  padding:0px;
	  margin-top:38px;
	  width:178px
}

.menu img {
	  margin-top:-38px
}

.menu ul {padding:0px;
		  margin:4px 0px 0px 10px;
		  list-style:none;
		  font-size:11px
}

.menu li {
}

.news {
	  background: url(images/news.gif);
	  background-repeat: no-repeat;
	  height:180px;
	  padding:45px;
	  padding-bottom:0px;
	  margin-top:-150px;
	  width:678px;
	  float:right
}

.plans {
	  background: url(images/planbg.gif);
	  background-repeat: repeat-x;
	  height:154px;
	  padding:0px;
	  margin-top:40px;
	  width:1024px
}


HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>PakGaming Beta</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Language" content="en-us">
<link href="style.css" rel="stylesheet" type="text/css">
</head>

<body>


<div id="header">
</div>

<div class="menu">
<div>
<img src="images/menutop.gif" height="43" width="172">
</div>
<ul>
<li>Home</li>
<li>About Us</li>
<li>Free Web Hosting</li>
<li>FAQ's</li>
<li>Help Center</li>
<li>Packages</li>
<li>Contact Us</li>
<li>Terms Of Service</li>
</ul>
</div>

<div class="news">
<p>
We are blah blah hosting.We are blah blah hosting.<br>
We are blah blah hosting.We are blah blah hosting.<br>
We are blah blah hosting.We are blah blah hosting.<br>
We are blah blah hosting.We are blah blah hosting.<br>
We are blah blah hosting.We are blah blah hosting.<br>
We are blah blah hosting.We are blah blah hosting.<br>
We are blah blah hosting.We are blah blah hosting.<br>
</p>
</div>

<div class="plans">
<img src="images/standard.gif" height="154" width="271">
<img src="images/stplus.gif" height="154" width="333">
<img src="images/stelite.gif" height="154" width="301">
</div>

</body>


</html>

0

#2 User is offline   Catalyst 

  • Codesmith
  • Group: Administrators
  • Posts: 1,049
  • Joined: 04-April 06
  • Gender:Male
  • Location:San Diego

Posted 10 November 2008 - 03:01 PM

Couple ideas:
put clear:both on .plans
or taking the margin-top off of .plans
0

#3 User is offline   sypher 

  • the owner3r
  • Group: Administrators
  • Posts: 1,578
  • Joined: 04-April 06
  • Location:North Wales, UK
  • Interests:Art, Boxing, MMA, Graphic Design, Web Design etc. ;)

Posted 10 November 2008 - 08:01 PM

Dont set a height (let the images do that for you and just use padding)
You may also want to leave the width alone, and just let the div's fill the width of the page, or use a container with margin: auto 0 to center the whole site.

Also give .plans a text-align: center
sypher design - North Wales Web Design | Latest Work: - Scala Cinema

CSS - Can't See Sh*t
0

#4 User is offline   haseeb 

  • W.R. Private
  • Group: Members
  • Posts: 3
  • Joined: 10-November 08

Posted 11 November 2008 - 06:30 AM

Thanks for the help Catalyst clear:both solved the problem.
0

#5 User is offline   haseeb 

  • W.R. Private
  • Group: Members
  • Posts: 3
  • Joined: 10-November 08

Posted 12 November 2008 - 06:33 AM

Hmm i dont know why its not centering could you please help me :s
0

#6 User is offline   sypher 

  • the owner3r
  • Group: Administrators
  • Posts: 1,578
  • Joined: 04-April 06
  • Location:North Wales, UK
  • Interests:Art, Boxing, MMA, Graphic Design, Web Design etc. ;)

Posted 12 November 2008 - 10:33 AM

The site or the 3 images?
sypher design - North Wales Web Design | Latest Work: - Scala Cinema

CSS - Can't See Sh*t
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users