Re: browser incompabilities
- From: "Corona" <corona_moon-no-friggin-spam@xxxxxxxxx>
- Date: Sat, 06 Aug 2005 18:45:35 GMT
"Els" <els.aNOSPAM@xxxxxxxxxx> wrote in message
news:9pqogjruoo3x$.1xkpzt3tl7ap3.dlg@xxxxxxxxxxxxx
> Corona wrote:
>
>> "Els" <els.aNOSPAM@xxxxxxxxxx> wrote in message
>> news:19cda4g65i7xh$.rnoppr746nk1.dlg@xxxxxxxxxxxxx
>>> Corona wrote:
>>
>> <snip>
>>
>>>> This technique works beautifully in FireFox. However, in IE6 it leaves
>>>> a
>>>> gap
>>>> between the left image and the H1 element. If I change the left margin
>>>> for
>>>> H1 to 0 it works in IE but covers the left image in FireFox. Anybody
>>>> have a
>>>> suggestion how I might be able to fix this problem?
>>>
>>> How about you providing an online example?
>>> You don't really expect anyone to copy and paste your code into an
>>> html page, imagine which doctype you use and guess the size of the
>>> images and then make images in the right sizes and upload the lot to a
>>> webserver and /then/ check what the problem is?
>>
>> Good point - thanks for the suggestion...
>>
>> You can find a sample of the problem at:
>> http://starship.atspace.com/bug.htm
>
> As Alexander already said, it's invalid code.
> And also the <li> without a <ul> isn't exactly what I call valid.
> Try it with <h1><span>Design Elements Tutorial</span><h1> instead.
>
> There's also an error in your CSS:
> Change font: into font-family: in the styles for the body element.
>
> After you've made those changes, (and adapted the CSS to combine with
> the new order of html elements) see if it still goes wrong?
The missing <ul> was an oversite and probably the main cause of the problem.
As to the font property, I'm under the impression that it's a superclass of
all the other font* properties. As such it's my understanding that all of
the other property values are valid. Is that wrong?
I wrapped the <li>'s in a <ul> and replaced the spans with a div. Problem
fixed. Thanks for the help.
.
- References:
- browser incompabilities
- From: Corona
- Re: browser incompabilities
- From: Els
- Re: browser incompabilities
- From: Corona
- Re: browser incompabilities
- From: Els
- browser incompabilities
- Prev by Date: programmer looking for skills exchange/collaboration
- Next by Date: Re: browser incompabilities
- Previous by thread: Re: browser incompabilities
- Next by thread: Re: browser incompabilities
- Index(es):
Loading