/    Sign up×
Community /Pin to ProfileBookmark

Need help – div elements won’t position correctly etc.

Hello everyone, I’m new here. I hope someone will help me with my problem.

You can see it here: [URL=”http://kahoe.monline.dk/portfolie2/index.php”]http://kahoe.monline.dk/portfolie2/index.php
[/URL]

[B]Problem 1[/B] is in the grey menu to the right. I’ve used php include_once to insert four div elements (with images and a little text), but they position themselves in a strange way. It’s supposed to be a column.

I think the problem is that I’ve used float:left on the images in the navigation bar. I did this to make the text sit on the right side of the images. How do I solve the problem?

You can see the html file with the four elements here: [URL=”http://kahoe.monline.dk/portfolie2/globalmenu.html”]http://kahoe.monline.dk/portfolie2/globalmenu.html[/URL]

I should probably say that I’ve used javascript to make a hover effect with the images.

(Should I include code in this post, or do you guys usually see html and css via the browser?)

[B]Problem 2[/B] is with IE. I have IE 8 installed, so I don’t know about other versions, but this one can’t find the images on my website. It works fine in Firefox. What’s wrong?

[B]Problem 3[/B] is with the div element at the top of the page, the one which contains the text “Denne hjemmeside ses bedst med Firefox. Download Firefox her. ” I can’t get it to sit at the very top of the page. I’ve used body { margin: 0; padding: 0; } in the stylesheet already, but it’s not enough apparently…

to post a comment
CSS

1 Comments(s)

Copy linkTweet thisAlerts:
@graduation_dayauthorNov 20.2009 — Problem 1 is solved by alternative means.

Still need help with problem 2 and 3 though
×

Success!

Help @graduation_day 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.4,
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: @Yussuf4331,
tipped: article
amount: 1000 SATS,

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

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...