Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 2213 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     TalkFreelance Information     General Discussion :

hows this work

Thread title: hows this work
Closed Thread  
Page 1 of 3 1 2 3 >
    Thread tools Search this thread Display Modes  
01-02-2007, 04:57 PM
#1
blindchild02 is offline blindchild02
blindchild02's Avatar
Status: TF Veteran
Join date: Jan 2005
Location:
Expertise:
Software:
 
Posts: 3,258
iTrader: 2 / 100%
 

blindchild02 is on a distinguished road

  Old  hows this work

I saw it on myspace today...

they have this large image:
http://creative.myspace.com/cms/Spla...der/300_bg.jpg

and it fits into the browser behind the middle content perfectly on any resolution, how's that work

01-02-2007, 04:59 PM
#2
Jeff Andersen is offline Jeff Andersen
Status: Superstar
Join date: Apr 2005
Location:
Expertise:
Software:
 
Posts: 4,449
iTrader: 10 / 100%
 

Jeff Andersen is on a distinguished road

  Old

What's the myspace link? It would have to do with the code as well.

01-02-2007, 05:00 PM
#3
Garyrae is offline Garyrae
Status: Request a custom title
Join date: Dec 2005
Location: Colchester, UK
Expertise:
Software:
 
Posts: 4,625
iTrader: 16 / 100%
 

Garyrae is on a distinguished road

Send a message via MSN to Garyrae Send a message via Skype™ to Garyrae

  Old

Code:
body { 
background-image:url(image.jpg); 
background-color: 000; 
background-repeat:no-repeat; 
background-position:top center; 
}

01-02-2007, 05:15 PM
#4
blindchild02 is offline blindchild02
blindchild02's Avatar
Status: TF Veteran
Join date: Jan 2005
Location:
Expertise:
Software:
 
Posts: 3,258
iTrader: 2 / 100%
 

blindchild02 is on a distinguished road

  Old

www.myspace.com

@Indy: that makes it fit any resolution?

01-02-2007, 05:33 PM
#5
Dream is offline Dream
Dream's Avatar
Status: Lewis Ainslie
Join date: Dec 2005
Location: UK, England.
Expertise:
Software:
 
Posts: 1,630
iTrader: 15 / 100%
 

Dream is on a distinguished road

Send a message via MSN to Dream

  Old

Originally Posted by blindchild02
www.myspace.com

@Indy: that makes it fit any resolution?
I think he was talking about who ever profile it was,

01-02-2007, 05:35 PM
#6
blindchild02 is offline blindchild02
blindchild02's Avatar
Status: TF Veteran
Join date: Jan 2005
Location:
Expertise:
Software:
 
Posts: 3,258
iTrader: 2 / 100%
 

blindchild02 is on a distinguished road

  Old

it's not someones profile... its the myspace.com background

01-02-2007, 05:40 PM
#7
Dream is offline Dream
Dream's Avatar
Status: Lewis Ainslie
Join date: Dec 2005
Location: UK, England.
Expertise:
Software:
 
Posts: 1,630
iTrader: 15 / 100%
 

Dream is on a distinguished road

Send a message via MSN to Dream

  Old

I dont see no background, do you have to log in or something? (I dont use myspace, i dispise it )

01-02-2007, 05:53 PM
#8
Garyrae is offline Garyrae
Status: Request a custom title
Join date: Dec 2005
Location: Colchester, UK
Expertise:
Software:
 
Posts: 4,625
iTrader: 16 / 100%
 

Garyrae is on a distinguished road

Send a message via MSN to Garyrae Send a message via Skype™ to Garyrae

  Old

Originally Posted by blindchild02
it's not someones profile... its the myspace.com background
"Background-position: top center", would make it centered on any resolution, yes.

The code that Myspace are using is:
Code:
body {background-image:url('http://creative.myspace.com/cms/Splash/Page_Header/300_bg.jpg'); background-position:top center; background-attachment:fixed;}

01-02-2007, 05:55 PM
#9
Andrew R is offline Andrew R
Status: Request a custom title
Join date: Dec 2005
Location: Arizona
Expertise:
Software:
 
Posts: 5,200
iTrader: 17 / 95%
 

Andrew R is on a distinguished road

  Old

You don't have to login, it's just there.

And blindchild, it works because the largest resolution (unless you use dual monitors and stretch the screen) is 1600 pixels wide, which is the size of that image. So at most, you will see the entire image. The black part is the width of the actual content and will always stay the same.

01-02-2007, 05:57 PM
#10
Mickoes is offline Mickoes
Status: Member
Join date: Jan 2006
Location: Quebec / Canada
Expertise:
Software:
 
Posts: 466
iTrader: 0 / 0%
 

Mickoes is on a distinguished road

Send a message via MSN to Mickoes

  Old

You can sometimes see this on http://www.gamespot.com/ as well. I suspect them to use various images adapted to the detected resolution.

Closed Thread  
Page 1 of 3 1 2 3 >


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed