/    Sign up×
Community /Pin to ProfileBookmark

Firefox problem

Hi,

I am redesigning my websites for sale search engine it looks more or less the way I want it on IE but not on Firefox.

The problem:
When you search for something the ‘Search Results text’ is not sitting on its div when you use Firefox.

Any ideas?

Thanks!

to post a comment
CSS

2 Comments(s)

Copy linkTweet thisAlerts:
@felgallApr 30.2007 — It probably looks wrong in all the other browsers as well since IE is the odd one out that doesn't follow the standards. Test your pages in a standards compliant browser or two first and leave testing in IE until last so that you can apply the patches that IE will need to have to fix it to match the way that it is supposed to work.
Copy linkTweet thisAlerts:
@CentauriApr 30.2007 — Because the <li>s in #seprate are floated, they are out of the document flow so the <ul> doesn't surround them (IE [B]incorrectly[/B] encloses the floats). There is also a default <ul> margin that needs to be zeroed : [CODE]#seprate ul{
overflow:hidden;
margin: 0;
}[/CODE]


These default margins and paddings (which vary between browsers) is why I always start my css with [CODE]* {
margin: 0;
padding: 0;
}[/CODE]
This zeroes [B]all[/B] margins and paddings for an even start point.

Cheers

Graeme
×

Success!

Help @scialom 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.28,
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,
)...