Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jun 18th, 2008, 6:28 PM   #1
titaniumdecoy
Expert Programmer
 
titaniumdecoy's Avatar
 
Join Date: Nov 2005
Posts: 856
Rep Power: 3 titaniumdecoy is on a distinguished road
Send a message via AIM to titaniumdecoy
Relative positioning in CSS

I am in the planning stages of writing a game in Javascript. (I know that Javascript is not a great language to write a game with; the purpose of this project is only to improve my understanding of the language.) The game will be contained within a rectangular box. All of the Javascript games I have seen on the internet are entirely positioned absolutely (from the top left corner of the page). Ideally, I would like to be able to embed my game in a web page, which is to say, everything would have to be relatively positioned. I am not sure this is possible because the relative position in CSS alters the position of an element from where it was, which will most likely not be the top left corner of my bounding box. Is this possible? Thanks.
titaniumdecoy is offline   Reply With Quote
Old Jun 20th, 2008, 10:17 PM   #2
Wizard1988
Professional Programmer
 
Wizard1988's Avatar
 
Join Date: Oct 2005
Location: Chitown
Posts: 417
Rep Power: 4 Wizard1988 is on a distinguished road
Send a message via AIM to Wizard1988
Re: Relative positioning in CSS

I'm not entirely sure what you need but hopefully this helps: CSS positioning
__________________
JG-Webdesign
Wizard1988 is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

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

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need a CSS fix for IE Obsidian Age HTML / XHTML / CSS 0 Jun 1st, 2008 7:12 PM
full screen help, html css privateD.lister HTML / XHTML / CSS 2 Apr 28th, 2008 3:32 PM
CSS Mass Resets MiKuS HTML / XHTML / CSS 0 Feb 3rd, 2008 4:57 PM
problem in css desperateboy HTML / XHTML / CSS 2 Oct 27th, 2007 6:29 AM
Major IE6 issue + CSS Kezzer HTML / XHTML / CSS 1 May 29th, 2007 7:52 AM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 6:44 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC