Avatar billede hopir Novice
19. marts 2007 - 18:59 Der er 4 kommentarer og
2 løsninger

liste mapper i allerede lavet menu

hej igen... jah jeg har søgt nettet tyndt. jeg er igang med at lave en hjemmeside til min familie. jeg har fundet et template og det fungerer som det skal. det store problem er et fotoalbum.
koden til fotoalbummet har jeg også og den fungerer også fint.

i kan hente det template jeg bruger her: http://www.freewebtemplates.com/downloads/templates/zip/4225.zip

og koden til mit album er her:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%
'Copy this file into a directory with folders containing images (jpg, gif).
'(optional) create a text file called captions.txt in each folder.
' with a caption on each line to go with each picture (in alphabetical order).
' set border size to a value greater than zero if you want a border around the picture.
' set border color if you have set a border size greater than 0.
' set the text-align: within the <style> tag to be left/center/right.
' set the font-family: within the <style> tag to be the font of your choice.
border_size = "7"
border_color = "silver"
%>
<html>
<head>
    <title>Gallery</title>
<style type="text/css">
    body {
    font-family: tahoma;
    text-align: center;
        }
</style>
</head>
<a name="top"></a>
<h2>Picture Gallery</h2>
<body>
<%
Const ForReading = 1, ForWriting = 2, ForAppending = 3
Const TristateUseDefault = -2, TristateTrue = -1, TristateFalse = 0

qfolder = request.querystring("f")
if qfolder = "" then
    folderspec = server.mappath(".")
    Set filesys = CreateObject("Scripting.FileSystemObject")
    Set demofolder = filesys.GetFolder(folderspec)
    Set folcoll = demofolder.SubFolders
    For Each subfol in folcoll
        folsize = left((subfol.size/1000000), 3)
        folist = folist & "<a href='?f=" & subfol.name & "'><strong title='view'>&#187;</strong> " & subfol.Name & " </a><small>&nbsp;(" & folsize & " MB)</small>" & vbcrlf
        folist = folist & "<BR>" 
    Next
    set filesys = nothing
    Response.Write folist

else

filepath = server.mappath(".") & "\" & qfolder
captionfile = filepath & "\captions.txt"
Set filesys = CreateObject("Scripting.FileSystemObject")
Dim SomeArray()
'caption part
    If filesys.FileExists(captionfile) then
        set file = filesys.GetFile(captionfile)
        Set TextStream = file.OpenAsTextStream(ForReading,TristateUseDefault)
        captioncount = 0
        Do While Not TextStream.AtEndOfStream
            Line = TextStream.readline
            ReDim Preserve SomeArray(captioncount)
            SomeArray(captioncount) = line
            'response.write captioncount & " " & somearray(captioncount) & "<br>"
            captioncount = captioncount + 1
            'Response.write Line
        Loop
        textStream.close
    end if

'folder part
    Set demofolder = filesys.GetFolder(filepath)
    Set filecoll = demofolder.Files
    filecount = 0
    For Each file in filecoll
        Ext = UCase(Right(File.Path, 3))
        If Ext = "JPG" OR Ext = "GIF" Then
        on error resume next
        data = SomeArray(filecount)
        on error goto 0
        hrefpath = qfolder & "/" & file.name
        imagepath = "<strong>" & data & "</strong><br><a href='" & hrefpath & "' title='free image gallery' border=0><img src='" & hrefpath & "' border='" & border_size & "' title=""" & data & """ style='border-color: " & border_color & ";'></a><br>"
        filist = filist & imagepath & vbcrlf
        filist = filist & "<BR>"
        filecount = filecount + 1
        data = ""
        end if
    Next
    set filesys = Nothing
    filist = filist & "<br><small><a href='http://www.allscoop.com/' target='_blank'>allscoop free image gallery</a></small>"
%>

<h3><a href="." title="up one level">&#171;</a>
&nbsp;<%=qfolder%></h3>

<p><%=filist%></p>

<% end if %>
<p style="font-size: xx-small;"><a href="#top" title="top of page">top of page</a></p>
</body>
</html>

så er det på plads.. som i kan se på det template i har hentet så er der et felt ude i venstre side der hedder links_

Mit fotoalbum fungerer ved at liste mapperne med billederne i, det kunne jeg godt tænke mig at den listede i det felt der hedder links_ altså stadig med hover effect (mener jeg det hedder)

på forhånd tak
/jesper
Avatar billede mitbrugernavn Praktikant
20. marts 2007 - 11:24 #1
prøv dette

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%
'Copy this file into a directory with folders containing images (jpg, gif).
'(optional) create a text file called captions.txt in each folder.
' with a caption on each line to go with each picture (in alphabetical order).
' set border size to a value greater than zero if you want a border around the picture.
' set border color if you have set a border size greater than 0.
' set the text-align: within the <style> tag to be left/center/right.
' set the font-family: within the <style> tag to be the font of your choice.
border_size = "7"
border_color = "silver"
%>
<html>
<head>
<title>Gallery</title>
<style type="text/css">
    body {
    font-family: tahoma;
    text-align: center;
        }
</style>
<style type="text/css">
<!--
a:link {
    font-family: Tahoma, Verdana, serif;
    font-size: 10px;
    font-weight: bold;
    color: #333333;
    background-color: #FFFFFF;
    text-decoration: none;
}
a:visited {
font-family: Tahoma, Verdana, serif;
    font-size: 10px;
    font-weight: bold;
    color: #333333;
    text-decoration: none;

}
a:hover {
    background-color: #CCCCCC;
font-family: Tahoma, Verdana, serif;
    font-size: 10px;
    font-weight: bold;
    color: #333333;
    text-decoration: none;

}
a:active {
    background-color: #999999;
font-family: Tahoma, Verdana, serif;
    font-size: 10px;
    font-weight: bold;
    color: #333333;
    text-decoration: none;

}
-->
</style>
</head>

<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <%
Const ForReading = 1, ForWriting = 2, ForAppending = 3
Const TristateUseDefault = -2, TristateTrue = -1, TristateFalse = 0


%>
  <tr valign="top">
    <td>&nbsp;</td>
    <td align="center"> <strong>Picture Gallery</strong> -
      <%
if request("f") = "" then
response.write "Vælg en billedmappe"
else
response.write request("f")
end if
%>
    </td>
  </tr>
  <tr valign="top">
    <td width="31%">
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
     
       
<%
qfolder = request.querystring("f")
'if qfolder = "" then
    folderspec = server.mappath(".")
    Set filesys = CreateObject("Scripting.FileSystemObject")
    Set demofolder = filesys.GetFolder(folderspec)
    Set folcoll = demofolder.SubFolders
    For Each subfol in folcoll
        folsize = left((subfol.size/1000000), 3)
        folist = folist & " <td><a href='?f=" & subfol.name & "'><strong title='view'>&#187;</strong> " & subfol.Name & " </a><small>&nbsp;(" & folsize & " MB)</small>" & vbcrlf
        folist = folist & " <tr>"
    Next
    set filesys = nothing
Response.Write folist

%>

      </table>

    </td>
    <td width="69%" align="center">&nbsp;
      <%


filepath = server.mappath(".") & "\" & qfolder
captionfile = filepath & "\captions.txt"
Set filesys = CreateObject("Scripting.FileSystemObject")
Dim SomeArray()
'caption part
    If filesys.FileExists(captionfile) then
        set file = filesys.GetFile(captionfile)
        Set TextStream = file.OpenAsTextStream(ForReading,TristateUseDefault)
        captioncount = 0
        Do While Not TextStream.AtEndOfStream
            Line = TextStream.readline
            ReDim Preserve SomeArray(captioncount)
            SomeArray(captioncount) = line
            'response.write captioncount & " " & somearray(captioncount) & "<br>"
            captioncount = captioncount + 1
            'Response.write Line
        Loop
        textStream.close
    end if

'folder part
    Set demofolder = filesys.GetFolder(filepath)
    Set filecoll = demofolder.Files
    filecount = 0
    For Each file in filecoll
        Ext = UCase(Right(File.Path, 3))
        If Ext = "JPG" OR Ext = "GIF" Then
        on error resume next
        data = SomeArray(filecount)
        on error goto 0
        hrefpath = qfolder & "/" & file.name
        imagepath = "<strong>" & data & "</strong><br><a href='" & hrefpath & "' title='free image gallery' border=0><img src='" & hrefpath & "' border='" & border_size & "' title=""" & data & """ style='border-color: " & border_color & ";'></a><br>"
        filist = filist & imagepath & vbcrlf
        filist = filist & "<BR>"
        filecount = filecount + 1
        data = ""
        end if
    Next
    set filesys = Nothing
    filist = filist & "<br><small><a href='http://www.allscoop.com/' target='_blank'>allscoop free image gallery</a></small>"
%>
      <p><%=filist%></p></td>
  </tr>
</table>

<p style="font-size: xx-small;"><a href="#top" title="top of page">top of page</a></p>
</body>
</html>
Avatar billede hopir Novice
20. marts 2007 - 16:45 #2
hey igen det var meningen at mapperne som den viser skulle være i den menu der hedder link_ på det design jeg bruger??
Avatar billede mitbrugernavn Praktikant
21. marts 2007 - 12:01 #3
' så prøver vi lige igen  HUSK at filen skal være en asp fil

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

<head>
  <title>template: home</title>
  <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />

  <!-- **** Layout Stylesheet **** -->
  <link rel="stylesheet" type="text/css" href="style/style104_left.css" />

  <!-- **** Colour Scheme Stylesheet **** -->
  <link rel="stylesheet" type="text/css" href="style/colour2.css" />

</head>

<body>
  <div id="main">
    <div id="links">
      <!-- **** INSERT LINKS HERE **** -->
      <a href="#">another link</a> | <a href="#">another link</a> | <a href="#">another link</a> | <a href="#">another link</a>
    </div>
    <div id="logo"><h1>template heading goes here</h1></div>
    <div id="content">
      <div id="column1">
       
      <div id="menu">
        <h1>navigate_</h1>
        <ul>
          <li><a id="selected" href="index.html">home</a></li>
          <li><a href="page1.html">page 1</a></li>
          <li><a href="page2.html">page 2</a></li>
          <li><a href="page3.html">page 3</a></li>
          <li><a href="contact.html">contact</a></li>
        </ul>
      </div>
       
      <div class="sidebaritem">
        <h1>news_</h1>
        <!-- **** INSERT NEWS ITEMS HERE **** -->
        <h2>1st January 2006</h2>
        <p>The company announces the launch of it's new website.</p>
        <h2>1st January 2006</h2>
        <p>The company announces the launch of it's new website.</p>
        <p>NOTES: This area can be used for news or any other info.</p>
      </div>
       
      <div id="addlinks">
        <h1>Billeder</h1>
        <!-- **** INSERT ADDITIONAL LINKS HERE **** -->
        <ul>
          <%
qfolder = request.querystring("f")
'if qfolder = "" then
    folderspec = server.mappath(".")
    Set filesys = CreateObject("Scripting.FileSystemObject")
    Set demofolder = filesys.GetFolder(folderspec)
    Set folcoll = demofolder.SubFolders
    For Each subfol in folcoll
        folsize = left((subfol.size/1000000), 3)
        folist = folist & " <li><a href='?f=" & subfol.name & "'><strong title='view'>&#187;</strong> " & subfol.Name & " </a><small>&nbsp;(" & folsize & " MB)</small>" & vbcrlf
        folist = folist & " </li>"
    Next
    set filesys = nothing
Response.Write folist

%>
        </ul>
      </div>
       
      <div class="sidebaritem">
        <h1>information_</h1>
        <!-- **** INSERT OTHER INFORMATION HERE **** -->
        <p> This space can be used for additional information such as a contact
          phone number, address or maybe even a graphic. </p>
      </div>
      </div>
<%
if request("f") <> "" then
%>
      <div id="column2">
      <%
qfolder = request.querystring("f")


filepath = server.mappath(".") & "\" & qfolder
captionfile = filepath & "\captions.txt"
Set filesys = CreateObject("Scripting.FileSystemObject")
Dim SomeArray()
'caption part
    If filesys.FileExists(captionfile) then
        set file = filesys.GetFile(captionfile)
        Set TextStream = file.OpenAsTextStream(ForReading,TristateUseDefault)
        captioncount = 0
        Do While Not TextStream.AtEndOfStream
            Line = TextStream.readline
            ReDim Preserve SomeArray(captioncount)
            SomeArray(captioncount) = line
            'response.write captioncount & " " & somearray(captioncount) & "<br>"
            captioncount = captioncount + 1
            'Response.write Line
        Loop
        textStream.close
    end if

'folder part
    Set demofolder = filesys.GetFolder(filepath)
    Set filecoll = demofolder.Files
    filecount = 0
    For Each file in filecoll
        Ext = UCase(Right(File.Path, 3))
        If Ext = "JPG" OR Ext = "GIF" Then
        on error resume next
        data = SomeArray(filecount)
        on error goto 0
        hrefpath = qfolder & "/" & file.name
        imagepath = "<strong>" & data & "</strong><br><a href='" & hrefpath & "' title='free image gallery' border=0><img src='" & hrefpath & "' border='" & border_size & "' title=""" & data & """ style='border-color: " & border_color & ";'></a><br>"
        filist = filist & imagepath & vbcrlf
        filist = filist & "<BR>"
        filecount = filecount + 1
        data = ""
        end if
    Next
    set filesys = Nothing
%>
      <p><%=filist%></p>
    </div>
<%
else
%>
      <div id="column2">
        <h1>introduction</h1>
        <!-- **** INSERT PAGE CONTENT HERE **** -->
        <p>
          This template is the fourth design in series 1 (hence the imaginative naming
          convention!). The design has 8 different colour schemes (each with a different
          logo) and 2 different layout styles, when downloaded from my own site. Here,
          it is available with colour scheme 2 and a 2 column layout (news, additional
          links and other info on the left).
        </p>
        <p>
          This website template is released as an 'open source' design (under the
          <a href="http://creativecommons.org/licenses/by/2.5">Creative Commons Attribution
          2.5 Licence</a>), which means that you are free to
          download and use it for anything you want (including modifying and amending it).
          All of the logo images are from digital photographs taken by me, so there are no
          issues with copyright there. All I ask is that you leave the 'design by dcarter'
          link in the footer of the template, but other than that...
        </p>
        <p>
          This template is written entirely in XHTML 1.1 and CSS, and can be validated
          using the links in the footer.
        </p>
        <p>
          You can view my other 'open source' template designs
          <a href="http://www.dcarter.co.uk/templates.html">here</a>.
        </p>
        <h1>example elements</h1>
        <p>Here are some example elements available with this template.</p>
        <h2>links</h2>
        <p><a href="index.html">example link 1</a></p>
        <h2>block quotes</h2>
        <blockquote>
          <p>
            Some blockquote text. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor
            incididunt ut labore et dolore magna aliqua.
          </p>
        </blockquote>
        <h2>lists</h2>
        <ul>
          <li>list item 1</li>
          <li>list item 2</li>
        </ul>
        <br />
        <h2>images</h2>
        <p>images can be placed on the left, in the center or on the right.</p>
        <span class="left"><img src="style/graphic.jpg" alt="example graphic" /></span>
        <p>
          Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor
          incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud
          exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute
          irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
          pariatur.
        </p>
        <span class="center"><img src="style/graphic.jpg" alt="example graphic" /></span>
        <span class="right"><img src="style/graphic.jpg" alt="example graphic" /></span>
        <p>
          Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor
          incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud
          exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute
          irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
          pariatur.
        </p>
      </div>
    </div>
<% end if %>
    <div id="footer">
      &copy 2006 your name | <a href="#">email@emailaddress</a> | <a href="http://validator.w3.org/check?uri=referer">XHTML 1.1</a> | <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a> | <a href="http://www.dcarter.co.uk">design by dcarter</a>
    </div>
  </div>

<div style="font-size: 0.8em; text-align: center; margin-top: 1.0em; margin-bottom: 1.0em;">
Design provided by <a href="http://www.freewebtemplates.com/">Free Web Templates</a> - your source for free website templates
</div>
</body>
</html>
Avatar billede hopir Novice
23. marts 2007 - 16:06 #4
det ser rigtig godt ud ved bare ikke om det er mig der er dum men hvor gør jeg så billederne bliver mindre og 2 billeder ved siden af hinanden

-billede-billede-
-billede-billede-

de står
-billede-
-billede-
Avatar billede mitbrugernavn Praktikant
25. marts 2007 - 13:00 #5
hvis du vil sætte dem 2 og 2 - samt beskærer dem så således: (hvis du vil beskærer dem procentvis så skal du bruge et asp komponent - aspimage - som først aflæser hvor stort billedet er og derefter beregner størrelsen i forhold til din afgivelse.

<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

<head>
  <title>template: home</title>
  <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />

  <!-- **** Layout Stylesheet **** -->
  <link rel="stylesheet" type="text/css" href="style/style104_left.css" />

  <!-- **** Colour Scheme Stylesheet **** -->
  <link rel="stylesheet" type="text/css" href="style/colour2.css" />

</head>

<body>
  <div id="main">
    <div id="links">
      <!-- **** INSERT LINKS HERE **** -->
      <a href="#">another link</a> | <a href="#">another link</a> | <a href="#">another link</a> | <a href="#">another link</a>
    </div>
    <div id="logo"><h1>template heading goes here</h1></div>
    <div id="content">
      <div id="column1">
       
      <div id="menu">
        <h1>navigate_</h1>
        <ul>
          <li><a id="selected" href="index.html">home</a></li>
          <li><a href="page1.html">page 1</a></li>
          <li><a href="page2.html">page 2</a></li>
          <li><a href="page3.html">page 3</a></li>
          <li><a href="contact.html">contact</a></li>
        </ul>
      </div>
       
      <div class="sidebaritem">
        <h1>news_</h1>
        <!-- **** INSERT NEWS ITEMS HERE **** -->
        <h2>1st January 2006</h2>
        <p>The company announces the launch of it's new website.</p>
        <h2>1st January 2006</h2>
        <p>The company announces the launch of it's new website.</p>
        <p>NOTES: This area can be used for news or any other info.</p>
      </div>
       
      <div id="addlinks">
        <h1>Billeder</h1>
        <!-- **** INSERT ADDITIONAL LINKS HERE **** -->
        <ul>
          <%
qfolder = request.querystring("f")
'if qfolder = "" then
    folderspec = server.mappath(".")
    Set filesys = CreateObject("Scripting.FileSystemObject")
    Set demofolder = filesys.GetFolder(folderspec)
    Set folcoll = demofolder.SubFolders
    For Each subfol in folcoll

        folsize = left((subfol.size/1000000), 3)
        folist = folist & " <li><a href='?f=" & subfol.name & "'><strong title='view'>&#187;</strong> " & subfol.Name & " </a><small>&nbsp;(" & folsize & " MB)</small>" & vbcrlf
        folist = folist & " </li>"
    Next
    set filesys = nothing
Response.Write folist

%>
        </ul>
      </div>
       
      <div class="sidebaritem">
        <h1>information_</h1>
        <!-- **** INSERT OTHER INFORMATION HERE **** -->
        <p> This space can be used for additional information such as a contact
          phone number, address or maybe even a graphic. </p>
      </div>
      </div>
<%
if request("f") <> "" then
%>
      <div id="column2">
      <%
qfolder = request.querystring("f")


filepath = server.mappath(".") & "\" & qfolder
captionfile = filepath & "\captions.txt"
Set filesys = CreateObject("Scripting.FileSystemObject")
Dim SomeArray()
'caption part
    If filesys.FileExists(captionfile) then
        set file = filesys.GetFile(captionfile)
        Set TextStream = file.OpenAsTextStream(ForReading,TristateUseDefault)
        captioncount = 0
        Do While Not TextStream.AtEndOfStream
            Line = TextStream.readline
            ReDim Preserve SomeArray(captioncount)
            SomeArray(captioncount) = line
            'response.write captioncount & " " & somearray(captioncount) & "<br>"
            captioncount = captioncount + 1
            'Response.write Line
        Loop
        textStream.close
    end if

'folder part
    Set demofolder = filesys.GetFolder(filepath)
    Set filecoll = demofolder.Files
    filecount = 0
    For Each file in filecoll
        Ext = UCase(Right(File.Path, 3))
        If Ext = "JPG" OR Ext = "GIF" Then
        on error resume next
        data = SomeArray(filecount)
        on error goto 0
        hrefpath = qfolder & "/" & file.name
b = b + 1
if b = 1 then

        imagepath = "<table width=""100%"" border=""1"">  <tr><td align=""center"" width=""50%""><strong>" & data & "</strong><br><a href='" & hrefpath & "' title='free image gallery' border=0><img src='" & hrefpath & "' width=""150"" height=""150"" border='" & border_size & "' title=""" & data & """ style='border-color: " & border_color & ";'></a><br>"
        filist = filist & imagepath
        filist = filist & "</td><td>"
        filecount = filecount + 1
        data = ""
else
b = 0
  imagepath = "<td align=""center"" width=""50%""><strong>" & data & "</strong><br><a href='" & hrefpath & "' title='free image gallery' border=0><img src='" & hrefpath & "'  width=""150"" height=""150""  border='" & border_size & "' title=""" & data & """ style='border-color: " & border_color & ";'></a><br>"
        filist = filist & imagepath
        filist = filist & "</td> </tr></table>"
        filecount = filecount + 1
        data = ""
end if
        end if
    Next
    set filesys = Nothing
%>
      <p><%=filist%></p>
    </div>
<%
else
%>
      <div id="column2">
        <h1>introduction</h1>
        <!-- **** INSERT PAGE CONTENT HERE **** -->
        <p>
          This template is the fourth design in series 1 (hence the imaginative naming
          convention!). The design has 8 different colour schemes (each with a different
          logo) and 2 different layout styles, when downloaded from my own site. Here,
          it is available with colour scheme 2 and a 2 column layout (news, additional
          links and other info on the left).
        </p>
        <p>
          This website template is released as an 'open source' design (under the
          <a href="http://creativecommons.org/licenses/by/2.5">Creative Commons Attribution
          2.5 Licence</a>), which means that you are free to
          download and use it for anything you want (including modifying and amending it).
          All of the logo images are from digital photographs taken by me, so there are no
          issues with copyright there. All I ask is that you leave the 'design by dcarter'
          link in the footer of the template, but other than that...
        </p>
        <p>
          This template is written entirely in XHTML 1.1 and CSS, and can be validated
          using the links in the footer.
        </p>
        <p>
          You can view my other 'open source' template designs
          <a href="http://www.dcarter.co.uk/templates.html">here</a>.
        </p>
        <h1>example elements</h1>
        <p>Here are some example elements available with this template.</p>
        <h2>links</h2>
        <p><a href="index.html">example link 1</a></p>
        <h2>block quotes</h2>
        <blockquote>
          <p>
            Some blockquote text. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor
            incididunt ut labore et dolore magna aliqua.
          </p>
        </blockquote>
        <h2>lists</h2>
        <ul>
          <li>list item 1</li>
          <li>list item 2</li>
        </ul>
        <br />
        <h2>images</h2>
        <p>images can be placed on the left, in the center or on the right.</p>
        <span class="left"><img src="style/graphic.jpg" alt="example graphic" /></span>
        <p>
          Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor
          incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud
          exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute
          irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
          pariatur.
        </p>
        <span class="center"><img src="style/graphic.jpg" alt="example graphic" /></span>
        <span class="right"><img src="style/graphic.jpg" alt="example graphic" /></span>
        <p>
          Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor
          incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud
          exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute
          irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
          pariatur.
        </p>
      </div>
    </div>
<% end if %>
    <div id="footer">
      &copy 2006 your name | <a href="#">email@emailaddress</a> | <a href="http://validator.w3.org/check?uri=referer">XHTML 1.1</a> | <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a> | <a href="http://www.dcarter.co.uk">design by dcarter</a>
    </div>
  </div>

<div style="font-size: 0.8em; text-align: center; margin-top: 1.0em; margin-bottom: 1.0em;">
Design provided by <a href="http://www.freewebtemplates.com/">Free Web Templates</a> - your source for free website templates
</div>
</body>
</html>

</body>
</html>
Avatar billede hopir Novice
26. marts 2007 - 14:42 #6
du ska ha tak for hjælpen lægger lige et indlæg i asp kategorien du ska lægge et svar til. jeg spørger ikke om noget men jeg kan ikke hæve med flere point end 200
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
Kurser inden for grundlæggende programmering

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