Web Layout
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsWeb DesignWeb Layout

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old May 28th, 2006, 07:08 PM
teeheiman's Avatar
teeheiman teeheiman is offline
Let the Wookie Win
ASP Free Newbie (0 - 499 posts)
 
Join Date: Nov 2005
Location: United States, Califonia
Posts: 190 teeheiman User rank is Sergeant (500 - 2000 Reputation Level)teeheiman User rank is Sergeant (500 - 2000 Reputation Level)teeheiman User rank is Sergeant (500 - 2000 Reputation Level)teeheiman User rank is Sergeant (500 - 2000 Reputation Level)teeheiman User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 Day 20 h 14 m 39 sec
Reputation Power: 16
Anyone know how they do this?

http://www.newegg.com/home/Computer.asp

If you look how they list the porducts on a grid, and the grid will display how many items per row that can fit depending on the resolution or just resizing the window.

Anyone know how they do this and if you know any code can you post it?

Thanks

Reply With Quote
  #2  
Old May 29th, 2006, 06:35 AM
Dwarf's Avatar
Dwarf Dwarf is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2005
Location: Moscow, Russia
Posts: 327 Dwarf User rank is Sergeant (500 - 2000 Reputation Level)Dwarf User rank is Sergeant (500 - 2000 Reputation Level)Dwarf User rank is Sergeant (500 - 2000 Reputation Level)Dwarf User rank is Sergeant (500 - 2000 Reputation Level)Dwarf User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 4 Days 9 h 1 m 50 sec
Reputation Power: 16
Code:
<html>
<head>
<style type="text/css">
.section {
	float: left;
	width: 200px;
	border: 1px solid #000;
	margin: 4px;
	padding: 4px;
}
</style>
</head>
<body>
<div class="section">qqqq</div>
<div class="section">wwww</div>
<div class="section">eeee</div>
<div class="section">rrrr</div>
<div class="section">tttt</div>
<div class="section">yyyy</div>
<div class="section">uuuu</div>
<div class="section">iiii</div>
<div class="section">oooo</div>
</body>
</html>

+ see http://images10.newegg.com/Scripts/Common/PageDisplayLib_v2.js
Comments on this post
teeheiman agrees: Great thank you so much!

Reply With Quote
  #3  
Old May 30th, 2006, 03:16 PM
teeheiman's Avatar
teeheiman teeheiman is offline
Let the Wookie Win
ASP Free Newbie (0 - 499 posts)
 
Join Date: Nov 2005
Location: United States, Califonia
Posts: 190 teeheiman User rank is Sergeant (500 - 2000 Reputation Level)teeheiman User rank is Sergeant (500 - 2000 Reputation Level)teeheiman User rank is Sergeant (500 - 2000 Reputation Level)teeheiman User rank is Sergeant (500 - 2000 Reputation Level)teeheiman User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 Day 20 h 14 m 39 sec
Reputation Power: 16
Also I noticed that if one doesnt fit to well on the page it will be moved down leaving an ugley white space on the right. Is there any way to set it so that the tables can strech over the rest of the table that had to move down?

Thanks

Reply With Quote
  #4  
Old May 31st, 2006, 03:59 AM
Dwarf's Avatar
Dwarf Dwarf is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2005
Location: Moscow, Russia
Posts: 327 Dwarf User rank is Sergeant (500 - 2000 Reputation Level)Dwarf User rank is Sergeant (500 - 2000 Reputation Level)Dwarf User rank is Sergeant (500 - 2000 Reputation Level)Dwarf User rank is Sergeant (500 - 2000 Reputation Level)Dwarf User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 4 Days 9 h 1 m 50 sec
Reputation Power: 16
http://images10.newegg.com/Scripts/...isplayLib_v2.js
Code:
Page.Display.AutoWidthProductCellGeneral = function() {
....

Reply With Quote
  #5  
Old May 31st, 2006, 04:10 AM
teeheiman's Avatar
teeheiman teeheiman is offline
Let the Wookie Win
ASP Free Newbie (0 - 499 posts)
 
Join Date: Nov 2005
Location: United States, Califonia
Posts: 190 teeheiman User rank is Sergeant (500 - 2000 Reputation Level)teeheiman User rank is Sergeant (500 - 2000 Reputation Level)teeheiman User rank is Sergeant (500 - 2000 Reputation Level)teeheiman User rank is Sergeant (500 - 2000 Reputation Level)teeheiman User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 Day 20 h 14 m 39 sec
Reputation Power: 16
Im fairly new to css can you explain that a bit more?

Thanks

Reply With Quote
  #6  
Old May 31st, 2006, 04:38 AM
Dwarf's Avatar
Dwarf Dwarf is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2005
Location: Moscow, Russia
Posts: 327 Dwarf User rank is Sergeant (500 - 2000 Reputation Level)Dwarf User rank is Sergeant (500 - 2000 Reputation Level)Dwarf User rank is Sergeant (500 - 2000 Reputation Level)Dwarf User rank is Sergeant (500 - 2000 Reputation Level)Dwarf User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 4 Days 9 h 1 m 50 sec
Reputation Power: 16
It's a javascript, not css.

Reply With Quote
Reply

Viewing: ASP Free ForumsWeb DesignWeb Layout > Anyone know how they do this?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT