Avatar billede stho Nybegynder
15. maj 2001 - 12:07 Der er 15 kommentarer og
1 løsning

Atributter og værdier

Jeg er i gang med et html kursus, og søger der for information om følgende:
Hvad er elementet <IMG>`s attributter
og hvad er Attrinutten ALIGN`s værdi

Med venlig hilsen
steen Højengaard
stho@stofanet.dk
Avatar billede nikolajdu Nybegynder
15. maj 2001 - 12:13 #1
<img align=\"\" alt=\"\" border=\"\" class=\"\" controls dir=\"\" dynsrc=\"\" height=\"\" hspace=\"\" id=\"\" ismap lang=\"\" loop=\"\" lowsrc=\"\" name=\"\" onclick=\"\" ondblclick=\"\" onkeydown=\"\" onkeypress=\"\" onkeyup=\"\" onmousedown=\"\" onmousemove=\"\" onmouseout=\"\" onmouseover=\"\" onmouseup=\"\" src=\"\" start=\"\" style=\"\" title=\"\" usemap=\"\" vspace=\"\">


Align = Left, right, middle, top.
Avatar billede nikolajdu Nybegynder
15. maj 2001 - 12:15 #2
Align = baseline, bottom, absmiddle, absbottom.... Nu gider jeg ikke mere..
Avatar billede olebole Juniormester
15. maj 2001 - 12:17 #3
<ole>

  align = left, right, top, middle, bottom, text top, abs middle, abs bottom, baseline  ;o)

/mvh
</bole>
Avatar billede olebole Juniormester
15. maj 2001 - 12:20 #4
Hehe...der krydsede vi vist  :o)
...og selvfølgelig skal de være i ét ord - uden mellemrum. Ups...!  :o)
/mvh
Avatar billede nikolajdu Nybegynder
15. maj 2001 - 12:20 #5
Ole, din gris. Jeg manglede da kun texttop. Aner ikke en gang hvad den bruges til *ggg*
Avatar billede nikolajdu Nybegynder
15. maj 2001 - 12:28 #6
Men, kan måske lige gætte mig til det...
Avatar billede olebole Juniormester
15. maj 2001 - 12:31 #7
Ja....hvad er der galt med min gris...?!?!
Det var det, jeg mente med, at vi krydsede - havde ikke set dit andet indlæg  :o)
/mvh
Avatar billede nikolajdu Nybegynder
15. maj 2001 - 12:35 #8
Jeg skrev også grisen før du havde skrevet din kommentar. Jeg giver dig simpelthen bare baghjul idag. Hø hø hø...
Avatar billede olebole Juniormester
15. maj 2001 - 12:41 #9
...og ikke kun, hvad grisseriet angår...!  *LooOooL*
Avatar billede nikolajdu Nybegynder
15. maj 2001 - 12:45 #10
hehe...
Avatar billede jakoba Nybegynder
16. maj 2001 - 08:44 #11
de varierer fra browser til browser.

ns4.7:
self.low.document.images[0].name = \'\'
self.low.document.images[0].src =
\'http://hjem.get2net.dk/Jakob.Aggernaes/smil1515.gif\'
self.low.document.images[0].lowsrc = \'\'
self.low.document.images[0].x = \'207\'
self.low.document.images[0].y = \'59\'
self.low.document.images[0].height = \'30\'
self.low.document.images[0].width = \'30\'
self.low.document.images[0].border = \'0\'
self.low.document.images[0].vspace = \'0\'
self.low.document.images[0].hspace = \'0\'
self.low.document.images[0].complete = \'false\'
// du kan derudover definere lidt flere
// lowsrc
//  og nogle eventhandlere:
// onkeydown, onkeyup, ...

samme billede i IE4:
self.low.document.images[0].accessKey = \'\'
self.low.document.images[0].align = \'\'
self.low.document.images[0].all = \'[object]\'
self.low.document.images[0].alt = \'\'
self.low.document.images[0].border = \'\'
self.low.document.images[0].children = \'[object]\'
self.low.document.images[0].className = \'\'
self.low.document.images[0].clientHeight = \'30\'
self.low.document.images[0].clientLeft = \'0\'
self.low.document.images[0].clientTop = \'0\'
self.low.document.images[0].clientWidth = \'30\'
self.low.document.images[0].complete = \'true\'
self.low.document.images[0].dataFld = \'\'
self.low.document.images[0].dataFormatAs = \'\'
self.low.document.images[0].dataSrc = \'\'
self.low.document.images[0].document = \'[object]\'
self.low.document.images[0].dynsrc = \'\'
self.low.document.images[0].fileCreatedDate = \'13. maj 2001\'
self.low.document.images[0].fileModifiedDate = \'13. maj 2001\'
self.low.document.images[0].fileSize = \'135\'
self.low.document.images[0].fileUpdatedDate = \'29. januar 28179\'
self.low.document.images[0].filters = \'[object]\'
self.low.document.images[0].height = \'30\'
self.low.document.images[0].href = \'http://hjem.get2net.dk/Jakob.Aggernaes/smil1515.gif\'
self.low.document.images[0].hspace = \'0\'
self.low.document.images[0].id = \'\'
self.low.document.images[0].innerHTML **** SKIPPED ****
self.low.document.images[0].innerText **** SKIPPED ****
self.low.document.images[0].isMap = \'false\'
self.low.document.images[0].isTextEdit = \'false\'
self.low.document.images[0].lang = \'\'
self.low.document.images[0].language = \'\'
self.low.document.images[0].loop = \'1\'
self.low.document.images[0].lowsrc = \'\'
self.low.document.images[0].mimeType = \'Corel Photo House Document\'
self.low.document.images[0].name = \'\'
self.low.document.images[0].nameProp = \'smil1515.gif\'
self.low.document.images[0].offsetHeight = \'30\'
self.low.document.images[0].offsetLeft = \'206\'
self.low.document.images[0].offsetParent = \'[object]\'
self.low.document.images[0].offsetTop = \'66\'
self.low.document.images[0].offsetWidth = \'30\'
self.low.document.images[0].onabort = \'null\'
self.low.document.images[0].onafterupdate = \'null\'
self.low.document.images[0].onbeforeupdate = \'null\'
self.low.document.images[0].onblur = \'null\'
self.low.document.images[0].onclick = \'null\'
self.low.document.images[0].ondataavailable = \'null\'
self.low.document.images[0].ondatasetchanged = \'null\'
self.low.document.images[0].ondatasetcomplete = \'null\'
self.low.document.images[0].ondblclick = \'null\'
self.low.document.images[0].ondragstart = \'null\'
self.low.document.images[0].onerror = \'null\'
self.low.document.images[0].onerrorupdate = \'null\'
self.low.document.images[0].onfilterchange = \'null\'
self.low.document.images[0].onfocus = \'null\'
self.low.document.images[0].onhelp = \'null\'
self.low.document.images[0].onkeydown = \'null\'
self.low.document.images[0].onkeypress = \'null\'
self.low.document.images[0].onkeyup = \'null\'
self.low.document.images[0].onload = \'null\'
self.low.document.images[0].onmousedown = \'null\'
self.low.document.images[0].onmousemove = \'null\'
self.low.document.images[0].onmouseout = \'null\'
self.low.document.images[0].onmouseover = \'null\'
self.low.document.images[0].onmouseup = \'null\'
self.low.document.images[0].onresize = \'null\'
self.low.document.images[0].onrowenter = \'null\'
self.low.document.images[0].onrowexit = \'null\'
self.low.document.images[0].onselectstart = \'null\'
self.low.document.images[0].outerHTML **** SKIPPED ****
self.low.document.images[0].outerText **** SKIPPED ****
self.low.document.images[0].parentElement = \'[object]\'
self.low.document.images[0].parentTextEdit = \'[object]\'
self.low.document.images[0].protocol = \'HyperText Transfer Protocol\'
self.low.document.images[0].readyState = \'complete\'
self.low.document.images[0].recordNumber = \'null\'
self.low.document.images[0].sourceIndex = \'27\'
self.low.document.images[0].src = \'http://hjem.get2net.dk/Jakob.Aggernaes/smil1515.gif\'
self.low.document.images[0].start = \'fileopen\'
self.low.document.images[0].style = \'[object]\'
self.low.document.images[0].tabIndex = \'0\'
self.low.document.images[0].tagName = \'IMG\'
self.low.document.images[0].title = \'\'
self.low.document.images[0].useMap = \'\'
self.low.document.images[0].vrml = \'\'
self.low.document.images[0].vspace = \'0\'
self.low.document.images[0].width = \'30\'
Avatar billede olebole Juniormester
16. maj 2001 - 09:43 #12
Jakob >> Jeg tror, du misforstår spørgsmålet...der er tale om <img>\'s attributter. Ikke hvordan de kaldes og sættes via JavaScript - men hvad de hedder i  HTML :o)
/mvh
Avatar billede jakoba Nybegynder
16. maj 2001 - 21:21 #13
Ja det har du nok ret i.
Avatar billede olebole Juniormester
17. maj 2001 - 14:56 #14
Nå, han spurgte åbenbart om noget andet, end han skrev...?!?!  *LooOooL*
Avatar billede jakoba Nybegynder
17. maj 2001 - 15:13 #15
ævbæv :-))
Avatar billede nikolajdu Nybegynder
24. maj 2001 - 09:59 #16
Ævbæv selv :-(
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview
Kategori
Vi tilbyder markedets bedste kurser inden for webudvikling

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester