Q: Div tags driving me crazy.

  • Thread starter Martin Arvidsson, Visual Systems AB
  • Start date
M

Martin Arvidsson, Visual Systems AB

Hi!

I am going nuts on this DIV tag.

I got this inside of a <body>

<div id="Products" style="height:500px;">
<div id="ProductGroup" style="float:left;">
Code for displaying groups
</div>
<div id="ProductDetails" style="float:left; padding-left:25px;
width=200px;">
code for displaying product details
</div>
</div>
<div id="Actions" style="padding-top:25px; clear:both;">
a couple of buttons
</div>

when the page is displayed the buttons inside the actions div is not
displayed 500px + 25px down on the page?!?
When the productdetails is filled with data it expands greater then 500px
(if there is much data), how come the
data is not cut?

It doesn't matter if i set scroll to auto on the products div id?

What am i doing wrong.

Also, any hints for a good site where to learn more about div, positioning,
css
I can sence that my knowlage is poor in this subject :(

Regards
Martin
 
B

BobF

With one caveat, I recommend "Prof ASP.NET 2.0 Design - CSS, Themes, and
Master Pages".

The caveat is that the author could have condensed this book to about half
it's published size. There is a lot of rambling, apologizing, etc. wrapped
around the meat.

OTOH, this book has a lot of great info I haven't seen covered elsewhere.
It has been very helpful.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top