float issue (confusing)

This is a discussion on "float issue (confusing)" within the Web Page Design section. This forum, and the thread "float issue (confusing) are both part of the Design Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Jan 9th, 2008, 10:35
Reputable Member
Join Date: Oct 2007
Location: UK
Posts: 266
Thanks: 0
Thanked 0 Times in 0 Posts
float issue (confusing)

hey im working on this site......

http://www.design365.co.uk/toys/

it looks ok in IE but firefox is displaying the products further down, could anyone help out? The products are displayed in the div named 'product_slice'.

Thanks, Danny
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Jan 9th, 2008, 11:00
Elite Veteran
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: float issue (confusing)

Take a look at this html in your code
Code: Select all
<div id="product_slice">
<!--<div id="search"></div>
<div id="menu_header"></div>
<div id="menu_slice"></div>
<div id="menu_round"></div>
<div class="clearing"></div>
<div id="best_heading"></div>
<div id="best_slice"></div>
<div id="best_round"></div>
<div id="product_slice">-->
Delete the bits in red.
That should fix your errors..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Jan 9th, 2008, 11:19
Reputable Member
Join Date: Oct 2007
Location: UK
Posts: 266
Thanks: 0
Thanked 0 Times in 0 Posts
Re: float issue (confusing)

hey lchad, sorry about that i actually put them comments in while i was trying to fix the problem. If you take a look now you will see my problem with regards to the gap in firefox. Thanks

Last edited by danny322; Jan 9th, 2008 at 11:23.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Jan 9th, 2008, 11:24
welshstew's Avatar
Site Admin

SuperMember
Join Date: May 2007
Location: inside the outside
Posts: 1,713
Blog Entries: 14
Thanks: 4
Thanked 33 Times in 31 Posts
Re: float issue (confusing)

Sorry, I'm not seeing the difference, can you post screen shots of expected and actual behaviour.

Thanks
__________________
WelshStew Site Admin
If you think I've helped, click the "Thanks"
tierney rides tboard - uk site | xtreme wales - extreme clothing
WebForumz - facebook | LinkedIn
Last Blog Entry: Phorm approved for UK rollout (Sep 17th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Jan 9th, 2008, 11:26
welshstew's Avatar
Site Admin

SuperMember
Join Date: May 2007
Location: inside the outside
Posts: 1,713
Blog Entries: 14
Thanks: 4
Thanked 33 Times in 31 Posts
Re: float issue (confusing)

Sorry, just seen it.

add margin-top:-10px to the div to move it up
__________________
WelshStew Site Admin
If you think I've helped, click the "Thanks"
tierney rides tboard - uk site | xtreme wales - extreme clothing
WebForumz - facebook | LinkedIn
Last Blog Entry: Phorm approved for UK rollout (Sep 17th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Jan 9th, 2008, 11:33
Reputable Member
Join Date: Oct 2007
Location: UK
Posts: 266
Thanks: 0
Thanked 0 Times in 0 Posts
Re: float issue (confusing)

thanks ill try that now welshstew
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old Jan 10th, 2008, 08:28
Reputable Member
Join Date: Oct 2007
Location: UK
Posts: 266
Thanks: 0
Thanked 0 Times in 0 Posts
Re: float issue (confusing)

Hey guys, ill try and explain the problem im having in a bit more detail.......

The ecommerce software im using is called VPASP, the site works around 2 pages ('header' and 'trailer'). All the main content is called into the header file in the div named 'product_slice', for some reason this div needs to be at the bottom of the code in the header page, and the closing </div> in the trailer page. Heres the code......

shoppage_header.htm
Code: Select all
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<%=getlang("langcharset")%>">
<title><%shopdynamictitle "title"%></title>
<meta name="description" content="<%shopdynamictitle "description"%>">
<meta name="keywords" content="<%shopdynamictitle "keywords"%>">
<%inserturchinstats%>
<script language="javascript" src="vs350.js"></script>
<script language="JavaScript" type="text/JavaScript">
<!-- Begin
function clearfield(){
//if (document.form3.keyword.value == "search this site")
if (document.form3.keyword.value == "<%=getlang("langsearchboxdefault")%>")
    document.form3.keyword.value = "";
}
//  End -->
</script>
<link href="stylesheets/shop.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="container"> 
<div id="banner"></div>
<div id="cart"></div> 
<div id="banner_bottom"></div>
<div id="unique_banner"></div>
<div id="search"></div>
<div id="menu_header"></div>
<div id="menu_slice"></div>
<div id="menu_round"></div>
<div class="clearing"></div>
<div id="best_heading"></div>
<div id="best_slice"></div>
<div id="best_round"></div>
<div id="product_slice">
shoppage_trailer.htm
Code: Select all
</div>
</div>
</body>
</html>
Im guessing im having a problem with the products area in firefox because of where <div id="product_slice"> is positioned, but it HAS to be at the bottom of the 'header' page. Could anyone help out?

Thanks, Danny
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Very confusing mySQL array alexgeek PHP Forum 10 Oct 8th, 2007 17:29
Some confusing validation errors on my home page Zonglars Web Page Design 2 Jul 16th, 2007 14:51
CSS Float Issue Ryan Fait Web Page Design 5 Jan 16th, 2007 14:59
Problems with float:left float:right nvidiajoe Web Page Design 8 Nov 17th, 2006 20:24
Confusing Clock adrix Flash & Multimedia Forum 5 Aug 31st, 2006 14:26


All times are GMT. The time now is 15:26.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42