/    Sign up×
Community /Pin to ProfileBookmark

Looks fine in IE7 and FF3, weird in IE6

Hello all,

I have noticed that this is asked in other cases, but couldn’t apply the suggestions there to my case.

I tried validating the HTML and CSS, but failed to make sense of the outcome, since I do not have extensive knowledge of both.

I have helped a friend to match a wordpress website to the design he drafted on paper, I modified the CSS to try to match the looks in the browser to the one he sketched. I more or less succeeded, with one exception, the site looks weird in IE6, but fine in IE7 and FF3.

I very much think that the CSS I’ve played around is bloaty, I merely hacked and plundered through the css to make things look like I want. I am a beginner, so please don’t hit me in the head too hard 😮 I’d really appreciate any help that will fix this issue.

I’m not asking anyone to work instead of me, I just hope that some of you have experience enough to see the problem with a glance.

I’ve attached how it looks like on ie6 and ie7

Thanks for your time

The site is [url]http://www.temelaksoy.com[/url]

to post a comment
CSS

3 Comments(s)

Copy linkTweet thisAlerts:
@CoyotelabJan 23.2009 — get rid of margins use padding instead just for IE 6 (double margin issue)

can be done:
[code=html]<!--[if IE 6]>
Special instructions for IE 6 here
<![endif]-->[/code]


or inline hack
[CODE]
#sidebar-1 {
color:#5F5950;
font-family:Arial,Helvetica,sans-serif;
font-size:11px;
font-weight:bold;
_margin:0 0 0 0;
padding:5px 20px 0 0;}[/CODE]
Copy linkTweet thisAlerts:
@bwhauthorJan 23.2009 — get rid of margins use padding instead just for IE 6 (double margin issue)

can be done:
[code=html]<!--[if IE 6]>
Special instructions for IE 6 here
<![endif]-->[/code]


or inline hack
[CODE]
#sidebar-1 {
color:#5F5950;
font-family:Arial,Helvetica,sans-serif;
font-size:11px;
font-weight:bold;
_margin:0 0 0 0;
padding:5px 20px 0 0;}[/CODE]
[/QUOTE]


thanks for your response Coyotelab, however I could not fix it with the suggested change. Did you mean to change the pageleft and pageright classes because thats where the borders are bad
Copy linkTweet thisAlerts:
@anna55Jan 23.2009 — I tried validating the HTML and CSS, but failed to make sense of the outcome, since I do not have extensive knowledge of both. [/QUOTE]

Nice layout, but you've really messed it up. W3C-Validator recognizes 'some' errors. And it's not because of the wordpress-template. No idea if somebody here will be able to fix it 'with a glance' unless you care for a valide markup.
×

Success!

Help @bwh 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.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: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

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

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