Log In · Register

 
Is this possible?
JaredxSmith
post May 13 2009, 04:25 PM
Post #1


Member
**

Group: Member
Posts: 18
Joined: Mar 2009
Member No: 717,989



I was wondering if it was possible to make a myspace into something like these websites.

http://blog.urbanoutfitters.com
http://modularpeople.com

If anyone could help with even making a normal webpage like these, that would be great also.
 
 
Start new topic
Replies
fixtatik
post May 13 2009, 04:35 PM
Post #2


Senior Member
******

Group: Member
Posts: 1,237
Joined: May 2008
Member No: 648,123



for the first, partially. you'd be able to build a myspace to look pretty much exactly like that, but you'll run into a problem when making the navigation on top. usually you can just use position:fixed;, but it doesn't work in IE (at least not in IE7 and earlier; i haven't checked IE8 yet). many sites fix the fixed position problem by using javascript, but you can't on myspace.

all you really need is a very wide div with smaller elements inside, and float them all to the left.

for example, the CSS:
CODE
.navigation { left:0; position:fixed; top:0; height:50px; }
.main { left:0; padding:50px 0 0; position:absolute; top:0; width:5000px; }
.section { float:left; height:500px; width:300px; }
and potentially the HTML:
CODE
<div class="navigation">
  link
  link
  link
</div>
<div class="main">
  <div class="section">
    text, images, videos, etc.
  </div>
  <div class="section">
    text, images, videos, etc.
  </div>
  <div class="section">
    text, images, videos, etc.
  </div>
  <div class="section">
    text, images, videos, etc.
  </div>
</div>
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: