|
Posted by Jonathan N. Little on 01/25/06 06:51
Jennyvision wrote:
> "dorayme" <doraymebutuse777insubjectline@optusnet.com.au> wrote in message
> news:doraymebutuse777insubjectline-686F8E.12553625012006@news-vip.optusnet.com.au...
>
>>In article <A3ABf.23273$vG.14932@tornado.tampabay.rr.com>,
>>"Jennyvision" <nospam@die.spam> wrote:
>>
>>
>>>Hi still feeling my way along with HTML and Javascript
>>>
>>>I've encountered a small spacing problem in a layout I've just started
>>>working on, and for the life of me I can't see anything that is causing
>>>it.
>>>It occured just after I added the mouseover script.
>>>
>>>As there are quite a few jpgs, I've set it up and here is the link:
>>>
>>>http://www.good4mail.com/TempTest/_Template.htm
>>>
>>>If someone could explain what is causing the line break and how to
>>>correct
>>>it, I would be very grateful.
>>>
>>>(none of the links go anywhere yet, and I know I haven't protected the
>>>javascript for old browsers, and no javascript enabled yet)
>>>
>>>Thanks
>>>Jenny
>>
>>For a start, you need to do the basics, a document type
>>declaration, a head, a title in the head and so on.... You can't
>>just leave all this stuff out and expect things to work right.
>>
>>There are mistakes in your css all over... you have to put the
>>unit in for margins and stuff, like "1px" and not " 1 " and so on
>>and so forth.
>>
>>You better look at any basic html and css tutes and read from the
>>very beginning.
>>
>>I would say to forget about javascript for now till you come up
>>to speed on the basics.
>>
>>--
>>dorayme
>
>
> It's actually not for a website, it's for an eBay auction template, so the
> whole top section get stripped, so I didn't include it.
But it will be included in a real webpage so if you want to develop the
template and have it behave as it would in the auction included all the
required parts, you can comment the boundaries of your template for cut
'n pasting.
<html>
<head>
<title>eBay Template</title>
</head>
<body>
<!-- Start of my template -->
....
<!-- End of my template -->
</body>
</html>
> I thought 'px' was the default unit. It seems to work that way for
> Netscape, IE, Opera and Firefox. Is there a browser for which this isnt
> true? Or is it simply good form to include it?
No it is not, CSS rules require a unit specified. The manual is your friend,
http://www.w3.org/TR/CSS21/cover.html#minitoc
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Navigation:
[Reply to this message]
|