This is a discussion on "Beginner in CSS help need with layout" within the Web Page Design section. This forum, and the thread "Beginner in CSS help need with layout are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Beginner in CSS help need with layout
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
Beginner in CSS help need with layout
Hi,
Just want to say thank you in advance for any help you may be able to provide me. I am currently re-building my site and decided to step away from tables and get used to coding in CSS. The link to my site is dcjetski.co.uk What I am trying to achieve is a template that will expand/contract to the amount of content and links I have on that page. As you can see in IE the top of the page and content is OK but the footer is pushed right down the page (it gets a bit worse in firefox). I could set the page up with fixed heights and widths to bring all back together as it is, but some of the pages I want to create will have large amounts of content or I might increase the links on the left and I need the page to adjust to that. Can this be achieved with CSS? This is the CSS location www.dcjetski.co.uk/styles/stylesheet.css Thanks again |
|
|
|
#2
|
|||
|
|||
|
Re: Beginner in CSS help need with layout
The way the content div is layed out needs some adjustments.... it should work then.
In the html change
and then the css to something like...
|
|
#3
|
|||
|
|||
|
Re: Beginner in CSS help need with layout
Bocaj,
Thank you so much. When i looked at your code it made sense straight away. I guess its all about nesting with CSS. Have uploaded the amended code as you recommended and i'm nearly there. Just trying to figure out how to nest the remainder of the document so it looks right. I am a bit puzzle though why there is a gap below the header and navigation bar in firefox but not in IE Thanks again Bocaj. |
|
#4
|
|||
|
|||
|
Re: Beginner in CSS help need with layout
Ok,
I really pickled now. Any help would really be appreciated. Struggling to get my head around how this css stuff works. Hopefully the more i use it the more i will get my head around it. Thanks |
|
#5
|
||||
|
||||
|
Re: Beginner in CSS help need with layout
__________________
Marc Staff Manager - Webforumz.com Want to be a moderator? PM me. |
|
#6
|
|||
|
|||
|
Re: Beginner in CSS help need with layout
Thanks Marc,
Have done that and it gets rid of my firefox glitch. Have uploaded the page and stylesheet again. Could you point me in the right direction as to get the footer of the page in the right place???? Thanks again |
|
#7
|
|||
|
|||
|
Re: Beginner in CSS help need with layout
in your css,
Nest the footer
There are other ways to do it, but i think that's probably the quickest/easiest. Last edited by Bocaj; May 20th, 2008 at 16:46. |
|
#8
|
||||
|
||||
|
Re: Beginner in CSS help need with layout
Why, why, why are you using absolute positioning?! This could easily be done using faux columns....
__________________
Marc Staff Manager - Webforumz.com Want to be a moderator? PM me. |
|
#9
|
|||
|
|||
|
Re: Beginner in CSS help need with layout
Oh i just noticed in your nav section
Other than that you css completely validates... not bad |
|
#10
|
|||
|
|||
|
Re: Beginner in CSS help need with layout
Thanks Bocaj,
Im nearly there with it. Just need to get my nav bar to stretch with content. Other than that its startig to look like what im after. Your help has really been appreciated. |
|
#11
|
|||
|
|||
|
Re: Beginner in CSS help need with layout
Quote:
Marc, Sorry mate but ive never heard of faux columns. Im completly new to CSS always got by in the past by hacking tables. Will check it out though if you think its the answer to my layout. Thanks Darren |
|
#12
|
|||
|
|||
|
Re: Beginner in CSS help need with layout
Hi again,
I'm still stuck getting my nav column to stretch down/resize with my content column. Tried everything i can think off. Really struggling with CSS can anyone help??? Please??? |
|
#13
|
|||
|
|||
|
Re: Beginner in CSS help need with layout
Like marc said try reading through this article on FAUX COLUMNS
It's probably the easiest method to do what you need to do.. Post any questions and i will or someone else probably will try to answer them. |
|
#14
|
|||
|
|||
|
Re: Beginner in CSS help need with layout
Oh yeah and i'm assuming you're using firefox,
Try this little plugin, its got dozens of useful things that you'll learn to use over time... but something beneficial to you right now would be under the CSS tab, you can edit the CSS of your page directly and look at the results without actually changing the css of your page (it's what i'm doing right now). If that makes any sense, you can experiment with the css view it in real time without actually editing the site. If that makes any sense, i was never any good at explaining things.... just try it and you'll see what i mean. |
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| beginner need help | shinesmithdas | PHP Forum | 1 | Jul 30th, 2007 00:41 |
| Beginner needs help on image & caption layout | badger | Web Page Design | 3 | Jun 21st, 2007 11:32 |
| Fluid layout - IE6 clichés the layout when resizing | cyberseed | Web Page Design | 7 | Jun 16th, 2007 05:14 |
| The Most Versatile Layout (beginner) | TheLove | Web Page Design | 2 | Mar 24th, 2006 02:19 |
| What makes a layout a good layout? | Miles Lombardi | Graphics and 3D | 4 | Jul 26th, 2005 03:22 |