/    Sign up×
Community /Pin to ProfileBookmark

can someone please help me im pulling my hair out, I have created a site for someone and have put a div ontop of a div and put a table inside that but when i view it in internet explorer the alginment is off has anyone any suggestions i would be extremely gratefull.?

to post a comment
CSS

6 Comments(s)

Copy linkTweet thisAlerts:
@FourCourtJesterSep 23.2008 — Hi there,

Could we see an example of your problem?
Copy linkTweet thisAlerts:
@parkerljauthorSep 23.2008 — the problem is it doesnt look right when i view IE its in a completely different position y??? I have put the page on the net for you to see premierefencing.co.uk/contact.html please look at it soon as i would like to get it off asap

Thanks
Copy linkTweet thisAlerts:
@FourCourtJesterSep 23.2008 — Your apDiv1 is absolutely positioned, that's why its mis-aligned. At least I assume you want it flush with the right hand side?

Try reducing the 'left' property of it by 80px or so.
Copy linkTweet thisAlerts:
@parkerljauthorSep 23.2008 — i have aligned it way off to the right so it looks silly in dreamweaver but looks ok in IE however when i view the page on a smaller screen it takes the same postion i have put it in dreamweaver should the postion not be absolute??

I have tryed the other ones and there are no effects
Copy linkTweet thisAlerts:
@FourCourtJesterSep 23.2008 — Absolute positioning will take it's values (left, top, right, bottom) from the edge of the browsers. So if you designed it for a smaller resolution, it will work fine, but on larger ones it will start to stick out because there's now bigger pixel differences from the edges of the browser to your content.

Right behind the table, you have a IMG tag with no src, thats 340x431 pixels. It looks to be about the same size as your apDiv1. You could put your div where that empty IMG is, and it will align with every resolution (in theory).
Copy linkTweet thisAlerts:
@parkerljauthorSep 23.2008 — thank you for your help it was most appreciated
×

Success!

Help @parkerlj 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 6.17,
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: @nearjob,
tipped: article
amount: 1000 SATS,

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

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