Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Idiots guide to divs?

Reply
Thread Tools

Idiots guide to divs?

 
 
R2G2
Guest
Posts: n/a
 
      05-20-2005
Is there any way to lock a div to, for instance, the top right hand
corner of a table cell, so that what ever text size the user is using,
the div is always 'attached' to that cell?

(I want an image in a div to appear when someone hovers over a
'hotspot' on an image in a table - half-way down the page at
www.barnabybear.net/p13.htm for an example) - sorry for the music -
the kids love it.

While I'm here, is there an idiots guide to divs - I'm slowly learning
html, but I'm still using dreamweaver's help to create divs, and I'm
sure that my overreliance on that is causing me problems.

TIA for any hints

--
Beccy

Bec but...
 
Reply With Quote
 
 
 
 
Travis Newbury
Guest
Posts: n/a
 
      05-20-2005
R2G2 wrote:
> While I'm here, is there an idiots guide to divs - I'm slowly

learning
> html, but I'm still using dreamweaver's help to create divs, and I'm
> sure that my overreliance on that is causing me problems.


Actually if you take advantage of dreamweaver's code editing screens it
will probalby help you learn HTML. You do not hav to use the WYSIWYG
part of Dreamweaver. It's Editor is (IMOHO) one of the best around.
Made by the ssame people that created topstyle.

--
-=tn=-

 
Reply With Quote
 
 
 
 
Toby Inkster
Guest
Posts: n/a
 
      05-20-2005
R2G2 wrote:

> While I'm here, is there an idiots guide to divs


DIV is exactly like LI, except with different default padding and margins
and without a bullet point by default.

HTH

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

 
Reply With Quote
 
Leif K-Brooks
Guest
Posts: n/a
 
      05-20-2005
Toby Inkster wrote:
> DIV is exactly like LI, except with different default padding and margins
> and without a bullet point by default.


Also, DIV is allowed as a direct child of a different (non-intersecting)
set of elements from LI. And it has different semantics.
 
Reply With Quote
 
Spartanicus
Guest
Posts: n/a
 
      05-20-2005
Toby Inkster <> wrote:

>DIV is exactly like LI, except with different default padding and margins
>and without a bullet point by default.


Incorrect, the div element has no implied semantics, presentation or
structure [1], the li element is for marking up content that is part of
a list.

[1] Structure pertaining to the content (as opposed to structure
pertaining to the code).

--
Spartanicus
 
Reply With Quote
 
Toby Inkster
Guest
Posts: n/a
 
      05-20-2005
Leif K-Brooks wrote:

> Toby Inkster wrote:
>> DIV is exactly like LI, except with different default padding and margins
>> and without a bullet point by default.

>
> Also, DIV is allowed as a direct child of a different (non-intersecting)
> set of elements from LI. And it has different semantics.


True. I was focussing on the content model *inside* the element --
completely forgot about the outside. D'oh!

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
New Science Discovery: Perl Idiots Remain Idiots After A Decade!New Xah Lee Python 16 03-12-2012 07:00 PM
New Science Discovery: Perl Idiots Remain Idiots After A Decade!New Xah Lee Perl Misc 15 03-12-2012 07:00 PM
Idiots guide to fonts with tKinter import newbie Python 2 08-05-2005 05:51 AM
Re: Idiots guide to RAID? LINA MOHAMED Computer Support 0 07-20-2003 03:06 PM
Re: Idiots guide to RAID? Me2U Computer Support 0 07-11-2003 06:44 AM



Advertisments