Click here to Skip to main content
15,912,507 members
Home / Discussions / Web Development
   

Web Development

 
GeneralHelp need. Please read my case Pin
chrisblack12-May-05 21:20
chrisblack12-May-05 21:20 
GeneralRe: Help need. Please read my case Pin
NeverHeardOfMe13-May-05 0:46
NeverHeardOfMe13-May-05 0:46 
GeneralRe: Help need. Please read my case Pin
chrisblack13-May-05 1:06
chrisblack13-May-05 1:06 
GeneralRe: Help need. Please read my case Pin
NeverHeardOfMe14-May-05 1:37
NeverHeardOfMe14-May-05 1:37 
GeneralRe: Help need. Please read my case Pin
DavidNohejl14-May-05 6:34
DavidNohejl14-May-05 6:34 
GeneralRe: Help need. Please read my case Pin
Christian Graus16-May-05 14:31
protectorChristian Graus16-May-05 14:31 
GeneralDynamically Positioning a layer Pin
JKallen12-May-05 17:00
JKallen12-May-05 17:00 
GeneralRe: Dynamically Positioning a layer Pin
theJazzyBrain14-May-05 4:23
theJazzyBrain14-May-05 4:23 
Dear CPian,

in the HTML world, all tags have a STYLE called "position". The "position" style can have a few different values. The 3 most used that you should be aware of are:

inline
absolute
relative

The default one is INLINE which allows the HTML elements to be rendered as they are found within the HTML code. In other words they follow the flow of the code in respect of their parent element.

The ABSOLUTE positioning will ignore the hierarchy for of the element(in the HTML code) to wich is applied and position the element to exact coordinates having as origin the most top and most left of the browser wndow. This is why you will notice that all asolutely positioned elements also have a LEFT and a TOP style, style attributes that take as values numbers in pixels, picas, ems and percentages and a few others that my mind is missing now. So an element coded as such:

<DIV style="position:absolute; top:100px; left:100px;">I AM ABSOLUTELY POSITIONED</DIV>

will have its origin(top left corner of the DIV) to the coordinate 100,100 discarding any parent elements. No matter where it is found within the code, its position wouldn't change.

The RELATIVE positioning is the same with the ABSOLUTE with one main difference. It uses as an origin its parent elemets top most and left most position instead of the browser top most and left most position.

Hope I helped. :P

theJazzyBrain
Excellence is not an act, but a habit!
Aristotle

GeneralJavaScript Pin
abhi_code12-May-05 5:17
abhi_code12-May-05 5:17 
GeneralRe: JavaScript Pin
JKroschel12-May-05 17:15
JKroschel12-May-05 17:15 
GeneralRe: JavaScript Pin
abhi_code17-May-05 2:13
abhi_code17-May-05 2:13 
GeneralMS Exchange Server SMTP Logs in vb.net Pin
ThaSaint12-May-05 2:26
ThaSaint12-May-05 2:26 
GeneralRe: MS Exchange Server SMTP Logs in vb.net Pin
JKroschel12-May-05 17:20
JKroschel12-May-05 17:20 
Generalasp .net Pin
roopps11-May-05 19:03
roopps11-May-05 19:03 
GeneralRe: asp .net Pin
Christian Graus11-May-05 19:33
protectorChristian Graus11-May-05 19:33 
Generalcreate new folder Pin
ABBASI_RA11-May-05 15:43
ABBASI_RA11-May-05 15:43 
GeneralRe: create new folder Pin
Christian Graus11-May-05 16:09
protectorChristian Graus11-May-05 16:09 
QuestionHow to tell when a redirected GET has completed Pin
andybloom11-May-05 15:28
andybloom11-May-05 15:28 
GeneralServerXMLHTTP - invalid response Pin
hiccup11-May-05 14:30
hiccup11-May-05 14:30 
GeneralRe: ServerXMLHTTP - invalid response Pin
hiccup12-May-05 13:22
hiccup12-May-05 13:22 
GeneralDebugging IE Addon Pin
haries11-May-05 12:42
haries11-May-05 12:42 
Generalcomponents of webservices Pin
satishrg11-May-05 9:50
satishrg11-May-05 9:50 
GeneralRe: components of webservices Pin
Christian Graus11-May-05 15:27
protectorChristian Graus11-May-05 15:27 
GeneralRe: components of webservices Pin
satishrg12-May-05 3:17
satishrg12-May-05 3:17 
GeneralRe: components of webservices Pin
Christian Graus15-May-05 18:19
protectorChristian Graus15-May-05 18:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.