/    Sign up×
Community /Pin to ProfileBookmark

div placement

Okay, I’ve tried out a new look for a website, but I’m having trouble with the placement of two boxes (divs). Take a [URL=http://members.cox.net/williamsray/new2/New2.html]look[/URL]. You’ll notice the bottom two boxes on the left are below all the other boxes. I want them just 10px below the picture and to the left of the second box on the right.

Also, I looked at the page in Mozilla and I saw that the white that surrounds all the boxes in IE/Win does not surround all the boxes in Mozilla. How can I fix that?

One more thing. What’s up with the larger amount of space before and after the paragraphs in Mozilla? I’d like to fix that too.

to post a comment
CSS

4 Comments(s)

Copy linkTweet thisAlerts:
@soccer362001Jun 10.2004 — For the two divs on the left us a negative margin-top.
Copy linkTweet thisAlerts:
@PrimalauthorJun 10.2004 — I figured out my problem. I had the bottom box on the right floated left. I changed it to float: right, slightly changed the width of the two boxes on bottom, and now they are in the right spot. [URL=http://members.cox.net/williamsray/new2/New3.html]See[/URL] for yourself.

But my other questions are still out there. How do I make this look correct in Mozilla?

Also, can someone look over the CSS and tell me what code is redundant? I mean, have I used a selector too many times on different levels? Like if margin: 0; border: 0; padding: 0; is used on the body tag, is it needed on each of the box id's? Thanks.
Copy linkTweet thisAlerts:
@theuedimasterJun 10.2004 — Holy ****! Too much white! Too much white! Can't see! Whats with the white tab and white everywhere around the picture adn all?
Copy linkTweet thisAlerts:
@PrimalauthorJun 10.2004 — I was originally taking design cues from travelocity.com but wanted it to look like my own. When I showed my wife the site I was making, she hated all the white too. So the white is gone... bye-bye... I guess that takes care of my problem, doesn't it? ?

Still no one has answered me about the spacing before and after the paragraphs, though.
×

Success!

Help @Primal spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...