Topic: DIVs within DIVs II: Electric Boogaloo (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=28285" title="Pages that link to Topic: DIVs within DIVs II: Electric Boogaloo (Page 1 of 1)" rel="nofollow" >Topic: DIVs within DIVs II: Electric Boogaloo <span class="small">(Page 1 of 1)</span>\

 
Gothmatum
Nervous Wreck (II) Inmate

From: A place surrounded by turkeys
Insane since: Jul 2006

posted posted 08-01-2006 17:49

http://users.zoominternet.net/~gilrandur/example/

Now I know the page still is not 100% valid, but the onMouseOver error doesn't have anything to do with the problem I've been having.

To recap: I would like to see the outer DIV, which is the same width as the menu bars & banner, surround the inner DIV containing the content, in the manner of a picture frame.

And yes, I know I have some layouts on this page in tables, but the real project is a quick-and-dirty alpha release that will be refined in the future. But without this basic layout I don't know if I can get it that far...

~~~
Insanity: doing the same thing over and over again and expecting different results. - Albert Einstein

reisio
Paranoid (IV) Inmate

From: Florida
Insane since: Mar 2005

posted posted 08-01-2006 18:58

add:

code:
* { position: static !important; }
#frame { overflow: auto; margin: 0 auto; }
#frame * { margin: 0 auto; }

Gothmatum
Nervous Wreck (II) Inmate

From: A place surrounded by turkeys
Insane since: Jul 2006

posted posted 08-01-2006 19:02

Would that be to the html page, or the css?

EDIT: Example page is now 100% valid!

~~~
Insanity: doing the same thing over and over again and expecting different results. - Albert Einstein

(Edited by Gothmatum on 08-01-2006 19:21)

reisio
Paranoid (IV) Inmate

From: Florida
Insane since: Mar 2005

posted posted 08-01-2006 19:26

Wherever your current CSS is.

Gothmatum
Nervous Wreck (II) Inmate

From: A place surrounded by turkeys
Insane since: Jul 2006

posted posted 08-01-2006 21:48

Thanks so much, reisio, that did the trick! My only boondogle now is that little gap between the top banner ("Image Missing" NIN style) and the main menu bar (the orange one). I can't seem to close it. But I'm betting that's just another matter of positioning...

~~~
Insanity: doing the same thing over and over again and expecting different results. - Albert Einstein

reisio
Paranoid (IV) Inmate

From: Florida
Insane since: Mar 2005

posted posted 08-02-2006 03:05
code:
img { vertical-align: bottom; }

Gothmatum
Nervous Wreck (II) Inmate

From: A place surrounded by turkeys
Insane since: Jul 2006

posted posted 08-02-2006 14:36

You've been a huge help, reisio... thank you.

~~~
Insanity: doing the same thing over and over again and expecting different results. - Albert Einstein



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu