6 replies [Last post]
jko170
Offline
newbie
Last seen: 13 years 14 weeks ago
Joined: 2007-03-29
Posts: 3
Points: 0

Okay, paste this html in safari and you should see what I'm talking about. Is this a known bug or am I missing something?


asdf


asdf

jko170
Offline
newbie
Last seen: 13 years 14 weeks ago
Joined: 2007-03-29
Posts: 3
Points: 0

<html><body


asdf


asdf

ClevaTreva
ClevaTreva's picture
Offline
Guru
A hilly place, UK
Last seen: 1 year 35 weeks ago
A hilly place, UK
Joined: 2004-02-05
Posts: 2902
Points: 0

jko170 wrote:I missing

jko170 wrote:
I missing something?

Don't know how Safari will react, but a full and valid doctype and character set declaration couldn't hurt. Plus, did you also apply zero margins to divs or html?

And why isn't the text in something, like a paragraph?

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 1 day 46 min ago
Dallas
Timezone: GMT-5
Joined: 2004-06-25
Posts: 9761
Points: 3843

What are you expecting,

What are you expecting, that's different from what you get?

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.

jko170
Offline
newbie
Last seen: 13 years 14 weeks ago
Joined: 2007-03-29
Posts: 3
Points: 0

This fixed it.

asdf
asdf

thepineapplehead
thepineapplehead's picture
Offline
Guru
Last seen: 15 weeks 3 days ago
Joined: 2004-06-30
Posts: 9668
Points: 801

You still don't have a

You still don't have a doctype. Get one.

Verschwindende wrote:
  • CSS doesn't make pies

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 1 day 46 min ago
Dallas
Timezone: GMT-5
Joined: 2004-06-25
Posts: 9761
Points: 3843

IE is not fixed

No, it doesn't. IE does not support the table display properties.

You still haven't told us what your issue is, but I'll guess that it is about the small gap between the two elements. True? The KHTML rendering engine (the underlying engine for Safari and Konqueror) renders the white space you have in your markup. Bug? Not necessarily; it's allowed, if not always desired.

Try this:


asdf


asdf

You should also mark the text for whatever it is. The div element is non-semantic.

When posting a snippet, it is a Good Thing

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.