This is a discussion on "Dynamic <div> tags (alternative)" within the Web Page Design section. This forum, and the thread "Dynamic <div> tags (alternative) are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Dynamic <div> tags (alternative)
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
Dynamic <div> tags (alternative)
Hi Everyone.
I am currently developing a site using div tags, i have a menu down the left then a bestsellers box right underneath it, on some pages the menu is bigger but it does not push the bestsellers box down automatically. Does anybody know how to combat this without using javascript? thanks, danny |
|
|
|
#2
|
||||
|
||||
|
Re: Dynamic <div> tags (alternative)
You would need to use faux columns, but i am not sure because i havent seen your code!
http://www.alistapart.com/articles/fauxcolumns/
__________________
Marc Staff Manager - Webforumz.com Want to be a moderator? PM me. |
|
#3
|
|||
|
|||
|
Re: Dynamic <div> tags (alternative)
Any other suggestions? didnt seem to work
|
|
#4
|
|||
|
|||
|
Re: Dynamic <div> tags (alternative)
If the menu and the bestsellers box are within a container div this should happen automatically.
Could do with seeing the site really. |
|
#5
|
|||
|
|||
|
Re: Dynamic <div> tags (alternative)
|
|
#6
|
|||
|
|||
|
Re: Dynamic <div> tags (alternative)
You need to clear your floats.
In your code, beneath the "welcome to gifts and toys" <div>, add the following code:
|
|
#7
|
|||
|
|||
|
Re: Dynamic <div> tags (alternative)
Mike knows a bit more than me as I didn't see that solution ^^
Here my 2 pence just in case it helps in some way. It seems to me your doing the whole site the long way round. I would have div for the header/logo div for the main navigation container div footer div Within the container div I would have 2 more container divs. One for the search+nav+bestsellers (floated left) and one for the rest of the content (Floated left) Then everything inside the search+nav+bestsellers div should just flow vertically automatically regardless of what is in your content div. Last edited by Nortus; Oct 24th, 2007 at 10:51. |
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Title Tags, Meta Tags and SEO - Keyword Density or Keyword Spamming? | pctank | Search Engine Optimization (SEO) | 2 | Jul 4th, 2008 11:52 |
| Alternative to frames | jonnymorris | Web Page Design | 13 | May 10th, 2008 09:23 |
| Alternative to Site5? | SmokeyBubbles | Hosting & Domains | 7 | Jun 27th, 2007 16:32 |
| ppc alternative | timmytots | Webforumz Cafe | 0 | Dec 15th, 2006 17:27 |
| Alternative stylesheets | benbacardi | Web Page Design | 18 | May 14th, 2004 13:22 |