Okay, I'm rather new to computers, I mean really really new with them, I'm making a small page, just four boxes, one on top, one on bottom, and two side by side, spereated by a space, the right being larger. I can do the top, bottom, and the left,how do I put one to the right?
Will_Hawthorne 0 Newbie Poster
Recommended Answers
Jump to PostAnother easy way is to simply use absolute positioning. You tell your div layer how far from two sides of the page to be located at.
Example: <div z-index: 1; position: absolute; width: 100px; height: 150px; left: 10px; top: 20px;></div>
The above example will place a CSS layer 100 pixels …
Jump to Post@Ips There are a few problems with floating. If there is anything else in the way of the layer it can throw it off of where it needs to be. I don't know if z-index affects floating the layers but if it does it would probably fix that issue. By …
All 5 Replies
Sana Mirza 0 Newbie Poster
Dragennd 12 Light Poster
JorgeM 958 Problem Solver Team Colleague Featured Poster
lps 71 Posting Pro in Training
Dragennd 12 Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.