CSS divs
I want to have 5 divs on my page. Header, top_navigation, left_navigation, right_content, bottom_navigation. I have my index page and I have a style sheet linked to it. What do I put in the style sheet to make the div 700px wide, 20px in height, 0px from the top and left? I have a book I am using to help me along but it doesn't have anything about divs in it!
Abhishek Reddy posted this at 05:52 — 10th November 2004.
He has: 3,348 posts
Joined: Jul 2001
Careful when naming your divs. Avoid using underscores -- stylesheets go funny when selectors have _ in them.
You're trying to do this with absolute positioning, so it should be fairly easy. Build your divs one by one, using the width:, height: , left: and top: attributes in their style.
Look through blooberry.com/indexdot/css for details on the atrributes themselves.
Lemme know if you want more detailed help.
teammatt3 posted this at 13:31 — 10th November 2004.
He has: 2,102 posts
Joined: Sep 2003
Good link Reddy, thanks for the help
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.