close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Splitting a <div> (I think)

Thread began 6/25/2009 1:29 am by Alan Shaw | Last modified 6/29/2009 1:18 pm by Ray Borduin | 5932 views | 9 replies |

Alan Shaw

Splitting a <div> (I think)

On my 3 column page, in the first column I have a menu, horizontal rule and 3 images.

dttv.html

What I would like to do is always position the 3 images at the very bottom of this first column, whose length is governed by the amount of content in the middle column.

I've tinkered with it but have yet to find the solution.

I've thought about making this column into a wrapper and then naming two different div's inside it with different CSS positioning, but I think it is slightly over my head right now being new to CSS.

The basic layout is currently this:

<body>

<div id="outerWrapper">
<div id="header">header</div>
<div id="topNavigation">top nav</div>
<div id="contentWrapper">
<div id="rightColumn1">right column</div>
<div id="leftColumn1">left column</div>
<div id="content">middle column</div>
</div>
<div id="footer">footer</div>
</div>

</body>

I think what I need to achieve is to somehow split "leftColumn1" into 2 div's, then insert the images within the new 2nd div and somehow force that second div to always be at the bottom of "leftColumn1"

The first div of course with contain the menu.

Any ideas?

Sign in to reply to this post

Ray BorduinWebAssist

You would add divs inside the left column like:


<div id="leftColumn1">
<div id="topleftColumn1">top left column</div><div id="bottomleftColumn1">bottom left column</div>
</div>

Then you can position bottomleftColumn and topLeftColumn how you need them inside the leftColumn.

Sign in to reply to this post
Did this help? Tips are appreciated...

Alan Shaw

Thanks Ray, but having implemented that I am now having trouble positioning with CSS.

I don’t know if the top one needs positioning as it seems to default to the top of the left column, but whatever I have tried with the bottom one either does not work or sits at the bottom of the page overlapping the footer.

There's a fair bit of info out there on positioning but to me, some of it is as clear as mud. Just can’t seem to find the answer.

I’ve added this to my style sheet:

#outerWrapper #contentWrapper #leftColumn1 #topleftColumn1 {
}
#outerWrapper #contentWrapper #leftColumn1 #bottomleftColumn1 {
}

I just need to fill it in with something.

Sign in to reply to this post

Ray BorduinWebAssist

Do you have a sample url with the page you are working on? That would give someone context from which they could help.

Sign in to reply to this post
Did this help? Tips are appreciated...

Alan Shaw

irs.html

The idea is to aways have the 3 images at the bottom of the left column instead of nested up underneath the Menu or horizontal rule, and then I would probably do the same in the right column.

Sign in to reply to this post

Ray BorduinWebAssist

You could try adding to the bottom left css:

bottom:0;
height:10px;
position:absolute;

That seems to do the trick for me

Sign in to reply to this post
Did this help? Tips are appreciated...

Alan Shaw

I've added that to this page;

irs.html

but it has place the images outside the design, and has actually aligned it to the bottom of the browser window.

Try hitting F11 to remove the top of the browser and it shows the problem up more.

Sign in to reply to this post

Ray BorduinWebAssist

It doesn't appear you have added the code and I'm not sure what images you see outside of the design. What browser are you using?

Sign in to reply to this post
Did this help? Tips are appreciated...

Ray BorduinWebAssist

OK I see what you are saying in IE. I was looking in FF which now looks correct.

Sign in to reply to this post
Did this help? Tips are appreciated...

Ray BorduinWebAssist

I think you need it inside #contentWrapper only, not the left column

Sign in to reply to this post
Did this help? Tips are appreciated...
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...