footerstickalt with graphic layout (absolute-positioned divs)

This is a discussion on "footerstickalt with graphic layout (absolute-positioned divs)" within the Web Page Design section. This forum, and the thread "footerstickalt with graphic layout (absolute-positioned divs) are both part of the Design Your Website category.



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

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Apr 2nd, 2007, 17:15
New Member
Join Date: Dec 2006
Location: UK
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
footerstickalt with graphic layout (absolute-positioned divs)

I will freely admit I dont really know CSS.

Please have a look at this page I am working on. There are a number of issues I have been unable to resolve on my own.

http://www.yanwhite.com/staging/medi...es_footer.html

The main problem here is that I cannot get the footer to stick to the bottom of the page. I am using footerstickalt, but must be missing something fundamental, because as soon as I add my absolute-div content/layout, it doesnt work. I have included the CSS in the html page.

Also, in IE7 the last line of left menu text has a larger gap.
The bullet point text in IE is positioned differently, although I am using an absolute positioned div to contain it.
Do lists and paragraphs have different spacing in firefox and IE? In which case how should designers make sure that everything will look the same cross-browser?

My main gripe about CSS so far is the lack of practical guides on how to implement it for designers.
At least with tables we had a GUI that worked with Dreamweaver!

For fluid text layouts that are not graphic based there are tons of examples.
But for graphic-based layouts its proving a nightmare. All of the resources I google seem to explain text-based layouts very well, columns, floats etc etc.
But anything I output from Imageready needs serious hacking.

Should I just go back to tables for this type of layout? Or is there a simple set of rules for creating these kind of pages with css and workable footers?
Reply With Quote

  #2 (permalink)  
Old Apr 2nd, 2007, 19:33
Most Reputable Member
Join Date: Apr 2006
Location: Cornwall, UK
Posts: 1,310
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to ukgeoff
Re: footerstickalt with graphic layout (absolute-positioned divs)

You could try adding 'clear: both' to your footer styling but the real problem is your whole approach to using css.

You have far more 'divs' than you need and all those absolute positioned elements is going to cause you problems.

Look at using less divs as structural elements and use float, margin and padding to position things where you want them.

Even if you feel the need to use graphics, this is still the way to go.
Reply With Quote
  #3 (permalink)  
Old Apr 2nd, 2007, 19:59
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: footerstickalt with graphic layout (absolute-positioned divs)

I just put that code into my dreamweaver and adding clear: both to the footer isn't going to work.
Quite frankly after playing with the code for about 10 minutes, I couldn't get the footer to go anywhere.

You are trying to set your site up using the div's almost as cells.
I would start from scratch on this. You unfortunately have too many divs, position:relative is not necessary on most of the div.
Since you mentioned dreamweaver, take a look at this tutorial. http://www.adobe.com/devnet/dreamwea..._concepts.html

It's a great tutorial that you can do from start to finish that really breaks down how to use the div's properly. Then it helps you put in all the basic elements as well. Navigation, content area, and footer.

I think once you do this tutorial you will have a better understand how things work in css. Don't get discouraged, you aren't far off.
Reply With Quote
  #4 (permalink)  
Old Apr 3rd, 2007, 05:13
Ryan Fait's Avatar
SuperMember

SuperMember
Join Date: May 2006
Location: Las Vegas
Posts: 3,786
Thanks: 0
Thanked 0 Times in 0 Posts
Re: footerstickalt with graphic layout (absolute-positioned divs)

That reminds me. I was working on a more robust sticky footer a few months ago. Was much less hassle than most out there. Hm, I should start working on that again.
Reply With Quote
  #5 (permalink)  
Old Apr 3rd, 2007, 11:39
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: footerstickalt with graphic layout (absolute-positioned divs)

Yes Ryan, add that to your "list of things to do"!
A more robust version would be great!
Reply With Quote
  #6 (permalink)  
Old Apr 3rd, 2007, 12:07
Ryan Fait's Avatar
SuperMember

SuperMember
Join Date: May 2006
Location: Las Vegas
Posts: 3,786
Thanks: 0
Thanked 0 Times in 0 Posts
Re: footerstickalt with graphic layout (absolute-positioned divs)

Well, it had one problem that I gave up on at the time. I don't know if there is an easy solution, but I'll post it up in the CSS forum if I can't think of a one this time around. Maybe Karinne can help; she is definitely able enough
Reply With Quote
  #7 (permalink)  
Old Apr 13th, 2007, 21:21
Ryan Fait's Avatar
SuperMember

SuperMember
Join Date: May 2006
Location: Las Vegas
Posts: 3,786
Thanks: 0
Thanked 0 Times in 0 Posts
Re: footerstickalt with graphic layout (absolute-positioned divs)

I fixed the problem all by my lonesome!

http://ryanfait.com/sticky-footer/
Reply With Quote
  #8 (permalink)  
Old Apr 24th, 2007, 12:33
New Member
Join Date: Dec 2006
Location: UK
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Re: footerstickalt with graphic layout (absolute-positioned divs)

I have pretty much solved these issues now I think!

Check www.yanwhite.com/staging/mediatypes and www.yanwhite.com/staging/mediatypes/styles.css

However, in ie6 the layout is broken!
Any ideas what is causing this?
Reply With Quote
  #9 (permalink)  
Old Apr 24th, 2007, 13:40
Junior Member
Join Date: Feb 2006
Location: Florence - Italy
Age: 22
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to Gwayn Send a message via MSN to Gwayn
Re: footerstickalt with graphic layout (absolute-positioned divs)

Quote:
Originally Posted by Ryan Fait View Post
I fixed the problem all by my lonesome!

http://ryanfait.com/sticky-footer/
Ryan your solution is really nice.
Can i add an article on your Sticky Footer on my (just started) blog?
Reply With Quote
  #10 (permalink)  
Old Apr 24th, 2007, 13:46
Ryan Fait's Avatar
SuperMember

SuperMember
Join Date: May 2006
Location: Las Vegas
Posts: 3,786
Thanks: 0
Thanked 0 Times in 0 Posts
Re: footerstickalt with graphic layout (absolute-positioned divs)

Of course!
Reply With Quote
  #11 (permalink)  
Old Apr 24th, 2007, 16:24
Junior Member
Join Date: Feb 2006
Location: Florence - Italy
Age: 22
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to Gwayn Send a message via MSN to Gwayn
Re: footerstickalt with graphic layout (absolute-positioned divs)

Done ^_^
I'll try to update the blog frequently according with my free time... and also i'll have to setup a version in my mother language (italian).
Reply With Quote
Reply

Tags
absolute, divs, footerstickalt, graphic, layout, positioned

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
ie6 absolute div problem bilsland Web Page Design 1 Apr 29th, 2008 12:43
Negative values in divs (layout query) Bocaj Web Page Design 1 Mar 30th, 2008 09:48
When is it ok to use Absolute Positioning ?? slimboyfatz32 Web Page Design 31 Feb 6th, 2008 17:25
relative positioned layer problem artdog Web Page Design 3 Aug 2nd, 2006 11:12
Absolute nOOb at this needs help! beatlesteve PHP Forum 1 Oct 13th, 2005 07:22


All times are GMT. The time now is 21:15.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs 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 43