Hello and welcome to CertForums.co.uk, here we host free active certification forums with links to the best free resources for Microsoft's MCSA MCSE MCDBA Cisco's CCNA CCDA and CCNP, and CompTIA's A+ Network+ i-NET+ and Security+ certifications in the UK. If you wish to post or use other advanced features you will need to register first. Registration is absolutely free and takes only a few minutes to complete so sign up today!

If you have any problems with the registration process or your account login, please contact support

Go Back   CertForums > Certification Forums > CIW Certifications
Home Forums Register Search Today's Posts Mark Forums Read

<div> positioning

Post New ThreadReply
 
Thread Tools Display Modes
  #1  
Old 24-Feb-2008, 07:02 PM
IThurts's Avatar
IThurts IThurts is offline
Valued Member
Posts: 282
Points: 189 IThurts has over 100 pointsIThurts has over 100 points
Power: 4
None
Join Date: 11 Feb 2008
Location: UK,Middlesex
Age: 23
Certifications: BTEC national Diploma Computer Studies
WIP: See Sig
<div> positioning

Hi again,

So iv been working through the westciv.com tutorial on CSS, feeling like im not really getting anywhere because i only study like 2hrs every evening...but i am and have learnt ALOT about selectors and element properties etc.
I understand about page flow and that somethings are statically positioned ie: the way they flow down the page is the way they are displayed in a browser.Relative postioning being th same as static UNTIL it is given some positioning properties. And absolute being where you take the div id element out of the natural flow and position it out of the normal flow of html.

The only thing that i am tearing my hair out with is the positioning of the different <div id>'s. its so hard to get your head around. Can someone simplify it for me???
I have a few div id tags: #header,#content,#navbar and #main-text, i understand the need for all except the #content.
Basically i need to understand WHY we need a div id which is used as a container(which is what the #content does)? Why cant we just have #navbar,#main-text and #header. Whats the purpose of the container like #content?? To be able to move both the maintext and navbar TOGETHER or...?

Excuse me ramblings, i just needed to get it down here
I just feel like i have got through so much and i am creating a decent portfolio and all that, but if i was asked to re-write the code again but say position something somewhere else, i wouldnt have a clue. I guess it all comes with practice?? Im sure if i was asked to do the above, i would have to go back to the code i have learnt from the tutorial and re-reead it, but i want to be able to KNOW it inside and out...am i being impatient? It really frustrates me

I need to have a simplified explanation of how positioning works please!!!


Primary Goal: XHTML, CSS, Javascript, Using Photoshop.Using Dreamweaver.

Secondary Goal: CIW foundation course exam 1D0-510

BOLD indicates now studying...


Note whilst studying, i will create a portfolio of my learnings. See below


amr-portfolio - MY WEB DESIGN/DEVELOPMENT PORTFOLIO -WIP - please excuse the annoying pop-ups...its not my fault!!! Its the free webhost im using!Migrating shortly

Last edited by IThurts : 24-Feb-2008 at 07:07 PM. Reason: More random frustating babbling..
 
Reply With Quote
  #2  
Old 24-Feb-2008, 07:10 PM
harpistic's Avatar
harpistic harpistic is offline
Valued Member
Posts: 242
Points: 171 harpistic has over 100 pointsharpistic has over 100 points
Power: 4
None
Join Date: 01 Feb 2008
Location: London, UK / Antigua, Guatemala
Age: 32
Certifications: Pet Geekery
WIP: cure for insomnia
Lots of info on Google about Css and div like link, have you looked around the available articles?


A computer once beat me at chess, but it was no match for me at kick-boxing.
 
Reply With Quote
  #3  
Old 24-Feb-2008, 07:30 PM
IThurts's Avatar
IThurts IThurts is offline
Valued Member
Posts: 282
Points: 189 IThurts has over 100 pointsIThurts has over 100 points
Power: 4
None
Join Date: 11 Feb 2008
Location: UK,Middlesex
Age: 23
Certifications: BTEC national Diploma Computer Studies
WIP: See Sig
Quote:
Originally Posted by harpistic View Post
Lots of info on Google about Css and div like link, have you looked around the available articles?
thanks harpistic, however i tihnk my main issue is: how do i know how many pixels the content needs, how many the navbar needs etc etc. I wouldnt really know where to start, ie: what values to use...how is THIS learnt?trial and error??
I tihnk the logic behind the types of code and the syntax is quite easy, its putting it all together that troubles me, ie: how wide the content should be/the navbar and maintext etc..
maybe if someone could demonstrate an example...? it may help me understand?

thanks


Primary Goal: XHTML, CSS, Javascript, Using Photoshop.Using Dreamweaver.

Secondary Goal: CIW foundation course exam 1D0-510

BOLD indicates now studying...


Note whilst studying, i will create a portfolio of my learnings. See below


amr-portfolio - MY WEB DESIGN/DEVELOPMENT PORTFOLIO -WIP - please excuse the annoying pop-ups...its not my fault!!! Its the free webhost im using!Migrating shortly

Last edited by IThurts : 24-Feb-2008 at 07:32 PM.
 
Reply With Quote
  #4  
Old 24-Feb-2008, 07:38 PM
harpistic's Avatar
harpistic harpistic is offline
Valued Member
Posts: 242
Points: 171 harpistic has over 100 pointsharpistic has over 100 points
Power: 4
None
Join Date: 01 Feb 2008
Location: London, UK / Antigua, Guatemala
Age: 32
Certifications: Pet Geekery
WIP: cure for insomnia
Hi again,

I know that wasn't exactly helpful, but I'm enjoying my 2-day break from templates! However, I've pretty much learned from trial and error, and it's worth reading through the information out there on Google - especially as this seems to be more of a networking etc forum than a webby one, you'll get your answers quicker!

Have a look through templates to get a feel for how they work - I mostly work with Joomla these days, and you can download templates from sites such as www.joomla24.com and www.bestofjoomla.com - you'll see how those designers use the tags. Mostly it's done by % rather than px, but that could just be the templates I use. Also have a go at playing around with them and changing the css and index.php to see how that affects them.

You're just starting out so don't beat yourself up too much about it, it'll make sense soon, I promise!


A computer once beat me at chess, but it was no match for me at kick-boxing.
 
Reply With Quote
Post New ThreadReply Spread this thread: Submit this thread to digg Submit this thread to del.icio.us


Go Back   CertForums > Certification Forums > CIW Certifications


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

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


All times are GMT. The time now is 10:38 PM.

Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
CertForums.co.uk (C) copyright 2003-2007 All Rights Reserved. Content published on CertForums.co.uk requires permission for reprint.
Hosted by Lunarpages