/    Sign up×
Community /Pin to ProfileBookmark

Can anyone explain this render issue?

It seems that for some reason on the page below if I don’t put a break before and after the content in the #content div I get some wierd spacing issues… any ideas?

Doesn’t work: [URL]http://dogdoo.net/temp/test.html[/URL]

Does work: [URL]http://dogdoo.net/temp/test2.html[/URL]

Seems like a stupid work around… ?

to post a comment
CSS

3 Comments(s)

Copy linkTweet thisAlerts:
@JDM71488Jul 01.2005 — the only difference i see is that when you put your breaks, a break appears... they look the same other than that...

whats wrong?
Copy linkTweet thisAlerts:
@dogdooauthorJul 05.2005 — Should have been more specific... sorry :rolleyes:

Anyway, with Firefox (not IE) if you look at the first page there will be space between the divs... it seems to happen with any block level object inside the middle div, in this case it's a H1 and a P. On the second example I put a break before and after the content in the middle div and the spaces go away.

Any ideas?
Copy linkTweet thisAlerts:
@JDM71488Jul 05.2005 — h1 {
margin-top: 0;
}


whats with your ".h1" class? seems kinda pointless since its marked up the same as your h1 itself...?
×

Success!

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