The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Problems with positioning divs as trying to lay out page
I am totally new to CSS coding in terms of laying page layout (as I previously worked with tables) and therefore have problems with positioning.
I have got a #header and trying to place 2 other divs (#logo, #address) in it. Which type of positioning should I use? Absolute or relative, or static? Whichever I use I end up in completely mess.
Could anyone help?
Read this it will help you understand the in and outs of positioning
http://www.barelyfitz.com/screencast/ht … sitioning/
If you position your header as "relative" then the logo and address can both be positioned "absolute". You’ll have better control over exactly where they fall inside the header tag.