Be Excellent To Each Other

And, you know, party on. Dude.

All times are UTC [ DST ]




Reply to topic  [ 16 posts ] 
Author Message
 Post subject: Central fixed position box thingy
PostPosted: Thu Apr 19, 2012 10:43 
User avatar
Hibernating Druid

Joined: 27th Mar, 2008
Posts: 49333
Location: Standing on your mother's Porsche
Hello nerds,

I'm trying to find the right way to build a 'box' containing an image with a link that always sits in the middle left of the browser window as you scroll up and down the page. I don't want to simply add another column on the left and set the image to 'middle' as that would push the central table out to the right. Couldn't think of a way to describe this to search online without it bringing up CSS floats, although maybe that's what I need to do. :shrug:

Any guidance/help appreciated.

x

_________________
SD&DG Illustrated! Behance Bleep Bloop

'Not without talent but dragged down by bass turgidity'


Top
 Profile  
 
 Post subject: Re: Central fixed position box thingy
PostPosted: Thu Apr 19, 2012 11:01 
User avatar

Joined: 30th Mar, 2008
Posts: 16622
CSS fixed positioning might work:

http://www.w3schools.com/css/tryit.asp? ... tion_fixed


Top
 Profile  
 
 Post subject: Re: Central fixed position box thingy
PostPosted: Thu Apr 19, 2012 11:09 
User avatar
Hibernating Druid

Joined: 27th Mar, 2008
Posts: 49333
Location: Standing on your mother's Porsche
Cool, would that 'float' above the page design as it is though? It's all tables.

_________________
SD&DG Illustrated! Behance Bleep Bloop

'Not without talent but dragged down by bass turgidity'


Top
 Profile  
 
 Post subject: Re: Central fixed position box thingy
PostPosted: Thu Apr 19, 2012 11:17 
User avatar

Joined: 30th Mar, 2008
Posts: 16622
Yeah, you might need to use the z-index to tell it to be on top. Someone might have a better way though as it's been a while since I've done anything much except SharePoint stuff really.


Top
 Profile  
 
 Post subject: Re: Central fixed position box thingy
PostPosted: Thu Apr 19, 2012 11:18 
User avatar
Hibernating Druid

Joined: 27th Mar, 2008
Posts: 49333
Location: Standing on your mother's Porsche
Cheers mate, at least I've got more of a clue what to search for now.

_________________
SD&DG Illustrated! Behance Bleep Bloop

'Not without talent but dragged down by bass turgidity'


Top
 Profile  
 
 Post subject: Re: Central fixed position box thingy
PostPosted: Thu Apr 19, 2012 11:22 
User avatar

Joined: 30th Mar, 2008
Posts: 14361
Location: Shropshire, UK
Also, using position:fixed doesn't always work properly on iOS devices, if that's a concern.


Top
 Profile  
 
 Post subject: Re: Central fixed position box thingy
PostPosted: Thu Apr 19, 2012 11:24 
User avatar
Hibernating Druid

Joined: 27th Mar, 2008
Posts: 49333
Location: Standing on your mother's Porsche
Cheers Gaz. I'll keep that in mind.

_________________
SD&DG Illustrated! Behance Bleep Bloop

'Not without talent but dragged down by bass turgidity'


Top
 Profile  
 
 Post subject: Re: Central fixed position box thingy
PostPosted: Thu Apr 19, 2012 12:36 
User avatar
Ticket to Ride World Champion

Joined: 18th Apr, 2008
Posts: 11894
Could you not tell people to print it out and glue it to their monitor?


Top
 Profile  
 
 Post subject: Re: Central fixed position box thingy
PostPosted: Thu Apr 19, 2012 12:40 
User avatar
Hibernating Druid

Joined: 27th Mar, 2008
Posts: 49333
Location: Standing on your mother's Porsche
You fucking idiot, they'd have to glue it to the INSIDE of their monitor.

_________________
SD&DG Illustrated! Behance Bleep Bloop

'Not without talent but dragged down by bass turgidity'


Top
 Profile  
 
 Post subject: Re: Central fixed position box thingy
PostPosted: Thu Apr 19, 2012 13:00 
User avatar

Joined: 27th Mar, 2008
Posts: 14497
Nobody wants to visit your website anyway.


Top
 Profile  
 
 Post subject: Re: Central fixed position box thingy
PostPosted: Thu Apr 19, 2012 13:02 
User avatar
Ticket to Ride World Champion

Joined: 18th Apr, 2008
Posts: 11894
Zardoz wrote:
You fucking idiot, they'd have to glue it to the INSIDE of their monitor.

Shit, sorry.


Top
 Profile  
 
 Post subject: Re: Central fixed position box thingy
PostPosted: Thu Apr 19, 2012 13:03 
User avatar
ugvm'er at heart...

Joined: 4th Mar, 2010
Posts: 22387
Glue would work better.


Top
 Profile  
 
 Post subject: Re: Central fixed position box thingy
PostPosted: Thu Apr 19, 2012 13:04 
User avatar
Hibernating Druid

Joined: 27th Mar, 2008
Posts: 49333
Location: Standing on your mother's Porsche
WTB wrote:
Nobody wants to visit your website anyway.

Really? Well tell that to your Mother!

_________________
SD&DG Illustrated! Behance Bleep Bloop

'Not without talent but dragged down by bass turgidity'


Top
 Profile  
 
 Post subject: Re: Central fixed position box thingy
PostPosted: Thu Apr 19, 2012 13:08 
User avatar

Joined: 27th Mar, 2008
Posts: 14497
She's not interested in our petty squabbles.


Top
 Profile  
 
 Post subject: Re: Central fixed position box thingy
PostPosted: Thu Apr 19, 2012 13:10 
User avatar
Hibernating Druid

Joined: 27th Mar, 2008
Posts: 49333
Location: Standing on your mother's Porsche
Just my pretty scrotum.

_________________
SD&DG Illustrated! Behance Bleep Bloop

'Not without talent but dragged down by bass turgidity'


Top
 Profile  
 
 Post subject: Re: Central fixed position box thingy
PostPosted: Fri Apr 20, 2012 9:05 
User avatar
Hibernating Druid

Joined: 27th Mar, 2008
Posts: 49333
Location: Standing on your mother's Porsche
Got it sorted last night, cheers Mark.

Tested it on my iPod too, Gaz... it doesn't work quite as well but not bad enough for me to throw more time at it. :)

_________________
SD&DG Illustrated! Behance Bleep Bloop

'Not without talent but dragged down by bass turgidity'


Top
 Profile  
 
Display posts from previous:  Sort by  
Reply to topic  [ 16 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Columbo, MaliA and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search within this thread:
You are using the 'Ted' forum. Bill doesn't really exist any more. Bogus!
Want to help out with the hosting / advertising costs? That's very nice of you.
Are you on a mobile phone? Try http://beex.co.uk/m/
RIP, Owen. RIP, MrC. RIP, Dimmers.

Powered by a very Grim... version of phpBB © 2000, 2002, 2005, 2007 phpBB Group.