i this true?

This is a discussion on "i this true?" within the Web Page Design section. This forum, and the thread "i this true? are both part of the Design Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Dec 7th, 2006, 05:48
New Member
Join Date: Nov 2006
Location: KSA
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
i this true?

I want to use aboslute position to put 3 columns ,#left,#right,#center and beside the header and the footer >
I want to push my footer div down, if the lenght of 3 columns increaded. but till now i failed do that.
I search in google i did not find any anwser for this problem.
Does that means a bug in css?
I want to use absolute positioning and not relative.

Thank u
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Dec 7th, 2006, 05:53
Ryan Fait's Avatar
Elite Veteran
Join Date: May 2006
Location: Las Vegas
Posts: 3,787
Thanks: 0
Thanked 0 Times in 0 Posts
Re: i this true?

The problem is that you are using absolute positioning.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Dec 7th, 2006, 07:55
Reputable Member
Join Date: May 2006
Location: Northampton, UK
Posts: 399
Thanks: 0
Thanked 0 Times in 0 Posts
Re: i this true?

as far as I understand it, your also going to need a "spacer" div between your three columns and your footer to actualy push the footer down.

There may be another way around this.... its just the way I go about it
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Dec 7th, 2006, 10:57
Ryan Fait's Avatar
Elite Veteran
Join Date: May 2006
Location: Las Vegas
Posts: 3,787
Thanks: 0
Thanked 0 Times in 0 Posts
Re: i this true?

Accurax. I know you're into CSS, so I'll comment on this. Using a spacer <div> is no different than using a space GIF. Absolute positioning is used incorrectly way more than it is correcty. There are a myriad of ways to acheive the same effect of most designs in CSS; using absolute positioning is the most troublesome way to do so.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Dec 8th, 2006, 14:18
Reputable Member
Join Date: May 2006
Location: Northampton, UK
Posts: 399
Thanks: 0
Thanked 0 Times in 0 Posts
Re: i this true?

thats why i said "also" ...... i aggree with u totally on the absolute positioning issue
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Dec 9th, 2006, 14:04
BGarner's Avatar
Reputable Member
Join Date: Oct 2006
Location: In front of the computer.
Posts: 213
Thanks: 0
Thanked 0 Times in 0 Posts
Re: i this true?

I agree...

Can you send us some code so we can tell you what to fix?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old Dec 12th, 2006, 08:17
New Member
Join Date: Nov 2006
Location: KSA
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Re: i this true?

Quote:
Originally Posted by BGarner View Post
I agree...

Can you send us some code so we can tell you what to fix?
Thank u

here is the code
and also see the attached doc file "same see.doc", u can see the problem the footer appears in the middle of the content div , if the height of the content div or or it is text increased

html,body {
height: 100%;
}

div#divcontent {
position: absolute;
top: 70;
left: 20%;
width: 60%;
font-size: 0.8em;

border-bottom: #ff0099 1px solid;
border-left:#ff0099 1px solid;
border-top: #ff0099 1px solid;
border-right: #ff0099 1px solid;
}

div#divfooter {
position: absolute;
top: 100%;
left:0px;
width:100%;
height:20px;

border-bottom: #ff0099 1px solid;
border-left:#ff0099 1px solid;
border-top: #ff0099 1px solid;
border-right: #ff0099 1px solid;
}
Attached Files
File Type: doc same see.doc (92.0 KB, 15 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old Dec 12th, 2006, 11:49
Most Reputable Member
Join Date: Apr 2006
Location: Cornwall, UK
Posts: 1,310
Thanks: 0
Thanked 0 Times in 0 Posts
Re: i this true?

As Ryan has already said, you are creating problems for yourself by going about things this way.

Absolute positioning, as the name implies, takes those elements out of the natural flow of the page so they will never adjust automatically to variable text length, etc.

I strongly suggest you rethink your approach.

There is a template tutorial available from the sticky at the top of the css forum. I suggest you download and work through this. Then vary the basic structure to meet your requirements.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
absolute, bug

Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
if true go to next line eon201 PHP Forum 3 Nov 9th, 2007 07:32
This is too true karinne Webforumz Cafe 5 Aug 13th, 2007 23:33


All times are GMT. The time now is 18:35.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42