Reply
Need layout help...
Old 01-12-2008, 09:08 AM Need layout help...
bigfreak's Avatar
Extreme Talker

Posts: 174
Name: Andy
Hey folks,

I am creating a site that will expand down automatically when there is more content.

i know it's possible, but i'm not sure how it's done.

I've got the site designed, with a background image, in PS and want to get the programming done before i get too far.

can any of you help, or point me to where i can learn what i need to do please?!

thanks!!
bigfreak is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 01-12-2008, 12:19 PM Re: Need layout help...
LadynRed's Avatar
Super Moderator

Posts: 6,718
Location: Tennessee
Quote:
I am creating a site that will expand down automatically when there is more content.
Umm.. it'll do that anyway if the page is coded properly and everything isn't set to position:absolute.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
LadynRed is offline
Reply With Quote
View Public Profile
 
Old 01-14-2008, 10:28 PM Re: Need layout help...
bigfreak's Avatar
Extreme Talker

Posts: 174
Name: Andy
you showed me something a long time ago.

i'm concerned with the background images and stuff like that.

thanks!
bigfreak is offline
Reply With Quote
View Public Profile
 
Old 01-15-2008, 03:38 PM Re: Need layout help...
LadynRed's Avatar
Super Moderator

Posts: 6,718
Location: Tennessee
Background images, if they are made to tile, will fill the space as the div expands.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
LadynRed is offline
Reply With Quote
View Public Profile
 
Old 01-16-2008, 10:31 PM Re: Need layout help...
bigfreak's Avatar
Extreme Talker

Posts: 174
Name: Andy
here's what i'm trying to explain i think.
http://forestcitymechanical.com/sample/fireplaces.php

notice how the scroll bar is there instead of the page expanding down.

i don't know what i'm talking about!

lol
bigfreak is offline
Reply With Quote
View Public Profile
 
Old 01-17-2008, 04:56 PM Re: Need layout help...
bigfreak's Avatar
Extreme Talker

Posts: 174
Name: Andy
any help? pls?
bigfreak is offline
Reply With Quote
View Public Profile
 
Old 01-17-2008, 07:16 PM Re: Need layout help...
LadynRed's Avatar
Super Moderator

Posts: 6,718
Location: Tennessee
Get rid of the overflow:auto on the div#body
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
LadynRed is offline
Reply With Quote
View Public Profile
 
Old 01-17-2008, 08:22 PM Re: Need layout help...
bigfreak's Avatar
Extreme Talker

Posts: 174
Name: Andy
ok, i removed the code you told me too and now you see what i was trying to avoid!

i will have to play i guess!

bigfreak is offline
Reply With Quote
View Public Profile
 
Old 01-18-2008, 11:35 AM Re: Need layout help...
LadynRed's Avatar
Super Moderator

Posts: 6,718
Location: Tennessee
The problem is that you have #body set to position:absolute, which takes it OUT of the normal document flow. What you need to do is use the normal document flow and floats (if necessary) to get it to do what you want, and what it will do once you get rid of the absolutes. When you use floats, you also have to CLEAR those floats.

http://css-discuss.incutio.com/?page=ClearingSpace

http://css-discuss.incutio.com/?page=FloatLayouts
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club

Last edited by LadynRed : 01-18-2008 at 11:39 AM.
LadynRed is offline
Reply With Quote
View Public Profile
 
Old 01-18-2008, 02:23 PM Re: Need layout help...
bigfreak's Avatar
Extreme Talker

Posts: 174
Name: Andy
thanks for the info, at first glance i'm totally lost. but i will read it a little more indepth when i have a chance later this weekend.

just tired of seeing scroll bars when there's too much copy!

thanks!
bigfreak is offline
Reply With Quote
View Public Profile
 
Old 01-18-2008, 11:46 PM Re: Need layout help...
bigfreak's Avatar
Extreme Talker

Posts: 174
Name: Andy
ok, before i read the links, i did a search on here as i asked the same question a while ago.

here's what i have now. http://insiteci.com/sample/test2/

is this right?

why does the text at the bottom, flow over to the left, and how do i stop it?

am i back on the right path?

should i just use some hard returns to keep the white space past the box?
bigfreak is offline
Reply With Quote
View Public Profile
 
Old 01-19-2008, 12:32 PM Re: Need layout help...
LadynRed's Avatar
Super Moderator

Posts: 6,718
Location: Tennessee
That looks much better.
Quote:
why does the text at the bottom, flow over to the left, and how do i stop it?
Hmm.. I'm not seeing that, did you change it ?
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
LadynRed is offline
Reply With Quote
View Public Profile
 
Old 01-19-2008, 10:50 PM Re: Need layout help...
bigfreak's Avatar
Extreme Talker

Posts: 174
Name: Andy
looks like i took some text out when i was playing.

i've added it back again.

maybe when i cleared the float on the left, the text flows around the image
bigfreak is offline
Reply With Quote
View Public Profile
 
Old 01-20-2008, 01:49 AM Re: Need layout help...
bigfreak's Avatar
Extreme Talker

Posts: 174
Name: Andy
ok, so after doing some reading, i have come up with this.

http://forestcitymechanical.com/sample/main.php

now i don't really understand how i got it to work, and why i can't place div tags in the exact spot i want them. Like a php include for navigation over an image.

but the page expands as i need it to and it seems to work properly.

any thoughts?

thanks for your help Lady!
bigfreak is offline
Reply With Quote
View Public Profile
 
Old 01-20-2008, 02:26 PM Re: Need layout help...
LadynRed's Avatar
Super Moderator

Posts: 6,718
Location: Tennessee
Very good ! It looks great

Where are you trying to exactly place a div, and why ?

If you want something to go OVER an image, put that image in as a background on a div.

If you want to add navigation over the logos on the left, put that logo image in as a background as above. Then put your nav in the div, it will show on top of the image.

I did notice a few things.. and here are some suggestions:

Quote:
<p align="left"><strong>Fireplaces</strong></p>
<p align="left"><strong>Electric</strong></p>
First, set the text alignment on #content, not on every <p> tag.
Secondly, it appears that you are using the above method to SIMULATE
headings.. don't. Use the proper Hx tags and style the Hx tags accordingly.
This is semantically correct AND, Hx tags are helpful for search
engines and assistive technology.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
LadynRed is offline
Reply With Quote
View Public Profile
 
Old 01-20-2008, 02:35 PM Re: Need layout help...
bigfreak's Avatar
Extreme Talker

Posts: 174
Name: Andy
the image background thing hit me when i was in church today actually! I've added an image to the nav now, and it works great!

i've gotten myself used to the absolute positioning of div tags, as i didn't really know any better!

now the next trick, figuring out what you are talking about with the HX stuff!

i hope i'm not driving you nuts with all this stuff!

bigfreak is offline
Reply With Quote
View Public Profile
 
Old 01-20-2008, 03:09 PM Re: Need layout help...
LadynRed's Avatar
Super Moderator

Posts: 6,718
Location: Tennessee
For headings, you use Heading tags - h1, h2, h3.... h6.
You can style those headings with css like you'd style anything else, like this;

h1{
font-size: 1.5em;
font-weight: bold;
text-align: center;
color: #ae3175;
padding: 3px 10px;
margin: 5px 5px 10px 8px; (top, right, bottom, left)
}

You can set the size and color for each heading level to be something different if you choose.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
LadynRed is offline
Reply With Quote
View Public Profile
 
Old 01-20-2008, 04:25 PM Re: Need layout help...
bigfreak's Avatar
Extreme Talker

Posts: 174
Name: Andy
i did some looking after i posted and figured out what it was!

thanks again!

without your help i'd still be doing it wrong!

bigfreak is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Need layout help...
 

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Webmaster Resources Marketplace:
Software Development Company | Webhosting.UK.com | Text Link Brokers 


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