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
Css design loading in the wrong place until fully loaded?
Old 01-29-2007, 02:48 PM Css design loading in the wrong place until fully loaded?
Novice Talker

Posts: 6
Trades: 0
Hello this is my first post so please be Gentle!

I am just learning CSS design conceptss and have been using the Dreamweaver behavior from Studio VII and it works great but for one issue.

When this page www.jacksonshg.com/newjhg
Loads it is left justified and when it finishes loading it moves to the center where I want it to be for all screen resolutions.

Can anyone help me understand what I am doing wrong and offer a solid fix.

Thanks in advance
Billy

P.S. LadynRed I am trying to take your advice and redo the design without tables.

Your advice is correct!
Jickimojo is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-29-2007, 03:02 PM Re: Css design loading in the wrong place until fully loaded?
Novice Talker

Posts: 6
Trades: 0
Can someone move this to the CSS forum I posted it in the wrong section.
Thanks Billy
Jickimojo is offline
Reply With Quote
View Public Profile
 
Old 01-29-2007, 03:32 PM Re: Css design loading in the wrong place until fully loaded?
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
I believe it's happening because you're using position:absolute for everything. The browser cannot calculate where things should be until the entire page is loaded first.

Position: absolute for everything simply isn't necessary and can cause many other problems. Use the normal document flow and probably floats where you actually need to position something.
__________________
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
 
Old 01-29-2007, 03:41 PM Re: Css design loading in the wrong place until fully loaded?
Novice Talker

Posts: 6
Trades: 0
Thanks LadynRed.


Can you give me an example of what you mean by using the "normal document flow"

Using the code below

#Layer1 {
position:absolute;
left:107px;
top:21px;
width:790px;
height:518px;
z-index:1;
background-color: #FFFFFF;
overflow: auto;


Sorry for my ignorance I am just a visual person and it helps for me to see it.

Thanks again
Billy
Jickimojo is offline
Reply With Quote
View Public Profile
 
Old 01-29-2007, 03:57 PM Re: Css design loading in the wrong place until fully loaded?
Novice Talker

Posts: 6
Trades: 0
I have reviewd this:
http://www.w3.org/TR/CSS21/visuren.html#normal-flow

But am still confused on what to do I tried to change the position attribute and it just jacked the design all up.

I am so sloooooowww at this!

Thanks for any help
Jickimojo is offline
Reply With Quote
View Public Profile
 
Old 01-29-2007, 04:04 PM Re: Css design loading in the wrong place until fully loaded?
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
The normal document flow - top to bottom, left to right. If you want a header first, you put that in your HTML first. Then the content area, then the footer. You then use floats to push things around left/right where you want them.

Of course it's going to jack up your design, just taking out the absolute rules will do that.

My suggestion, look at these resources:
http://css-discuss.incutio.com/?page=FloatLayouts

You might also try downloading a couple of these templates and looking at how they are coded: http://www.openwebdesign.org/
__________________
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 Css design loading in the wrong place until fully loaded?
 

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 0.76245 seconds with 12 queries