Is this possible? |
Is this possible? |
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. |
|
|
|
![]() |
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; } and potentially the HTML:.main { left:0; padding:50px 0 0; position:absolute; top:0; width:5000px; } .section { float:left; height:500px; width:300px; } 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> |
|
|
|
May 13 2009, 04:59 PM
Post
#3
|
|
|
Member ![]() ![]() Group: Member Posts: 18 Joined: Mar 2009 Member No: 717,989 |
Thank you.
I'll try it out. |
|
|
|
May 13 2009, 05:37 PM
Post
#4
|
|
|
Member ![]() ![]() Group: Member Posts: 18 Joined: Mar 2009 Member No: 717,989 |
I was thinking of putting scrollboxes for my content but I can't seem to figure out how to get them to line up.
|
|
|
|
May 14 2009, 05:39 PM
Post
#5
|
|
|
Member ![]() ![]() Group: Member Posts: 18 Joined: Mar 2009 Member No: 717,989 |
This pretty much working, thank you very much.
But stylesheets don't really work. Any idea? Double post. Sorry. |
|
|
|
May 15 2009, 02:04 PM
Post
#6
|
|
|
Member ![]() ![]() Group: Member Posts: 18 Joined: Mar 2009 Member No: 717,989 |
I'm trying to use this code:
CODE <style> body { font, body, table, td, div, h1, h2, br, a, p { font-family:helvetica; font-size:12px; color:black; background-color:none; text-transform:none; text-decoration:none; font-weight:none; } a:link, a:active, a.man:link, a.text:link, a.redlink:link, a.redlink:active, a.navbar:link, a.navbar:active { font-family:helvetica; font-size:12px; color:black; background-color:none; text-transform:uppercase; text-decoration:; font-weight:bold; } a:visited, a.man:visited, a.text:visited, a.redlink:visited, a.navbar:visited { font-family:helvetica; font-size:12px; color:; background-color:none; text-transform:uppercase; text-decoration:none; font-weight:bold; } a:hover, a.man:hover, a.text:hover, a.redlink:hover, a.navbar:hover { font-family:helvetica; font-size:12px; color:black; background-color:cyan;text-transform:uppercase; text-decoration:none; font-weight:bold; } </style> but it is doing nothing.
Reason for edit: Please use [codebox] tags instead of [code] tags when posting longer codes. - Mike
|
|
|
|
May 15 2009, 03:09 PM
Post
#7
|
|
|
Treasure Pleasure ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Head Staff Posts: 11,193 Joined: Oct 2005 Member No: 281,127 |
Remove this from the second line:
CODE body { See if it works then. |
|
|
|
May 15 2009, 05:19 PM
Post
#8
|
|
|
Member ![]() ![]() Group: Member Posts: 18 Joined: Mar 2009 Member No: 717,989 |
This worked.
Thank you so much. :) |
|
|
|
May 15 2009, 05:47 PM
Post
#9
|
|
|
Treasure Pleasure ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Head Staff Posts: 11,193 Joined: Oct 2005 Member No: 281,127 |
Topic closed & moved.
|
|
|
|
![]() ![]() |