Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Help with absolute posistioning on page
Old 11-24-2009, 12:02 PM Help with absolute posistioning on page
Novice Talker

Posts: 8
Trades: 0
I started off with a very basic css template and now am lost as to why the positioning on the page isnt working. can someone take a look and tell me why the page isnt uniform? Thanks in advance!


www.sugarandspicesrq.com
cjack2036 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-24-2009, 12:13 PM Re: Help with absolute posistioning on page
Novice Talker

Posts: 9
Name: Jeff Morter
Location: Columbus, Ohio
Trades: 0
Try t

#body_area {
position: relative;
}

Once you've done that

reset your apdivs left and top positions

that should help

Last edited by shipfreejewelry; 11-24-2009 at 12:16 PM..
shipfreejewelry is offline
Reply With Quote
View Public Profile
 
Old 11-24-2009, 12:16 PM Re: Help with absolute posistioning on page
Novice Talker

Posts: 8
Trades: 0
That shifted the divs down to the bottom of the page. I'm really at a lost here. Thinking about starting from scratch which would really suck!
cjack2036 is offline
Reply With Quote
View Public Profile
 
Old 11-24-2009, 12:20 PM Re: Help with absolute posistioning on page
Novice Talker

Posts: 9
Name: Jeff Morter
Location: Columbus, Ohio
Trades: 0
try this

#apdiv2 {
top: 10px;
left: 0px;
}

#apdiv3 {
top: 45px;
left: 0px;
}
shipfreejewelry is offline
Reply With Quote
View Public Profile
 
Old 11-24-2009, 12:22 PM Re: Help with absolute posistioning on page
Novice Talker

Posts: 9
Name: Jeff Morter
Location: Columbus, Ohio
Trades: 0
#apDiv1 {
height:350px;
left:60px;
position:absolute;
top:115px;
width:675px;
z-index:1;
}
shipfreejewelry is offline
Reply With Quote
View Public Profile
 
Old 11-24-2009, 12:24 PM Re: Help with absolute posistioning on page
Novice Talker

Posts: 9
Name: Jeff Morter
Location: Columbus, Ohio
Trades: 0
You created div tags inside of a div tag. The div tags are positioned in relation to where the parent div tag (body_area) is positioned. You're code needs to be revised. You have a lot of CSS properties that are not needed.
shipfreejewelry is offline
Reply With Quote
View Public Profile
 
Old 11-24-2009, 12:30 PM Re: Help with absolute posistioning on page
Novice Talker

Posts: 8
Trades: 0
it is still positioning the divs outside of the body area
cjack2036 is offline
Reply With Quote
View Public Profile
 
Old 11-24-2009, 12:31 PM Re: Help with absolute posistioning on page
Novice Talker

Posts: 8
Trades: 0
Quote:
Originally Posted by shipfreejewelry View Post
You created div tags inside of a div tag. The div tags are positioned in relation to where the parent div tag (body_area) is positioned. You're code needs to be revised. You have a lot of CSS properties that are not needed.

Understood. I am not sure why the divs are moving outside of the parent.
cjack2036 is offline
Reply With Quote
View Public Profile
 
Old 11-24-2009, 12:32 PM Re: Help with absolute posistioning on page
Novice Talker

Posts: 9
Name: Jeff Morter
Location: Columbus, Ohio
Trades: 0
None of the code that I gave you has been implemented on the page. Set the body area to relative. Once you've done that, the apdivs will position themselves to body_area. You have to play around with the top and left properties of each apdiv.
shipfreejewelry is offline
Reply With Quote
View Public Profile
 
Old 11-24-2009, 12:46 PM Re: Help with absolute posistioning on page
Novice Talker

Posts: 8
Trades: 0
Div 1 now acts correctly. Div 2 and 3 are outside of the body area now.
cjack2036 is offline
Reply With Quote
View Public Profile
 
Old 11-24-2009, 12:51 PM Re: Help with absolute posistioning on page
Novice Talker

Posts: 8
Trades: 0
Ok, I see it now. I used your guidelines from Div1.
cjack2036 is offline
Reply With Quote
View Public Profile
 
Old 11-24-2009, 01:12 PM Re: Help with absolute posistioning on page
Novice Talker

Posts: 8
Trades: 0
Thank you very much for your assistance.
cjack2036 is offline
Reply With Quote
View Public Profile
 
Old 11-24-2009, 02:32 PM Re: Help with absolute posistioning on page
Novice Talker

Posts: 9
Name: Jeff Morter
Location: Columbus, Ohio
Trades: 0
It looks good
shipfreejewelry is offline
Reply With Quote
View Public Profile
 
Old 11-24-2009, 02:58 PM Re: Help with absolute posistioning on page
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Ok, let me say this - get rid of ALL of that positioning, except for the relative positioning on the body area. You are asking for trouble with IE7 (and 6) with all that positioning and you're complicating things for yourself. Learn to use the normal document flow, and floats, and margins and padding to put things where you want them - not relying on Dreaweaver's absolute mess.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Help with absolute posistioning on page
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.00257 seconds with 12 queries