The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> center image
happybunnies
post Aug 31 2006, 11:14 AM
Post #1





Group: Members
Posts: 7
Joined: 31-August 06
Member No.: 38



I need help centering a picture on my page. I have tried to do it but it stays on the left side. I want to put one picture alone, centered, then the groups of pictures, then another picture alone, centered. My web page that I am working on is
http://www.kevindavenport-artist.com/jkd2.html . Thanks for the help. smile.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
jimlongo
post Aug 31 2006, 11:29 AM
Post #2


This is My Life
*******

Group: Members
Posts: 1,128
Joined: 24-August 06
From: t-dot
Member No.: 16



You have a two column table. you can put in a row that spans the two columns by using <colspan>

http://www.w3.org/TR/html4/struct/tables.html

CODE

<table>
    <tr>
        <td>
            test
        </td>
        <td>
            test
        </td>
    </tr>
    <tr>
        <td colspan="2">
            test
        </td>
    </tr>
</table>


This post has been edited by jimlongo: Aug 31 2006, 11:31 AM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
happybunnies
post Aug 31 2006, 02:39 PM
Post #3





Group: Members
Posts: 7
Joined: 31-August 06
Member No.: 38



thanks that works great!!
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
jimlongo
post Aug 31 2006, 03:29 PM
Post #4


This is My Life
*******

Group: Members
Posts: 1,128
Joined: 24-August 06
From: t-dot
Member No.: 16



Great, you're on your way . . .

You might want to check your document for some structural problems. Add a DOCTYPE and charset and fix the few minor errors that the validator shows
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
John Pozadzides
post Aug 31 2006, 04:18 PM
Post #5


WDG Founder
******

Group: Root Admin
Posts: 529
Joined: 3-August 06
From: Magnolia, TX
Member No.: 2



QUOTE(happybunnies @ Aug 31 2006, 11:14 AM) *
My web page that I am working on is
http://www.kevindavenport-artist.com/jkd2.html

By the way... nice art. biggrin.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
happybunnies
post Sep 2 2006, 10:28 PM
Post #6





Group: Members
Posts: 7
Joined: 31-August 06
Member No.: 38



How do you decide what document type you have? I use some java script and html and nothing I read tells me which one to put. Thanks. This is about www.kevindavenport-artist.com unsure.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
jimlongo
post Sep 2 2006, 11:28 PM
Post #7


This is My Life
*******

Group: Members
Posts: 1,128
Joined: 24-August 06
From: t-dot
Member No.: 16



For most pages you would use HTML Transitional 4.01

CODE
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">


See this page for a more complete description of the elements of a html web page.

This page gives a more complete description of the available DOCTYPES
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Sep 3 2006, 10:30 AM
Post #8


WDG Member
********

Group: Root Admin
Posts: 8,365
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



QUOTE(jimlongo @ Sep 2 2006, 09:28 PM) *
For most pages you would use HTML Transitional 4.01
How long are we going to keep transitioning? Isn't it time to use HTML 4.01 Strict yet?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
jimlongo
post Sep 3 2006, 11:32 AM
Post #9


This is My Life
*******

Group: Members
Posts: 1,128
Joined: 24-August 06
From: t-dot
Member No.: 16



I prefer transitional and continue to use it since i don't see any advantage to using the strict doctype.

I just took an unscientific poll of the last 10 sites I visited, they all (inlcuding the WDG) use transitional. Maybe it makes for improved accessability?

Or was that a rhetorical question?

This post has been edited by jimlongo: Sep 3 2006, 11:36 AM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
happybunnies
post Sep 4 2006, 10:13 AM
Post #10





Group: Members
Posts: 7
Joined: 31-August 06
Member No.: 38



I have put in the doc type as
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">. When I validate it the meta tags come up as errors. Does that mean I have the wrong doc type? Also it does not like my putting body link information in the body tag. How do I fix this? In addition, what would the end tag for fade images.length-1 look like? Thanks. This is still referring to the www.kevindavenport-artist.com website.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Liam Quinn
post Sep 4 2006, 10:38 AM
Post #11


WDG Founder
***

Group: Root Admin
Posts: 52
Joined: 2-August 06
From: Canada
Member No.: 1



QUOTE(happybunnies @ Sep 4 2006, 11:13 AM) *

I have put in the doc type as
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">. When I validate it the meta tags come up as errors. Does that mean I have the wrong doc type? Also it does not like my putting body link information in the body tag. How do I fix this? In addition, what would the end tag for fade images.length-1 look like? Thanks. This is still referring to the www.kevindavenport-artist.com website.


The errors for the meta and body tags are caused by the XML-style <link /> tag. Using "/>" at the end of the tag should only be done in XHTML, not in HTML. Remove the "/" for HTML.

The issue with fadeimages is caused by not escaping end tags in the SCRIPT element. See http://htmlhelp.com/tools/validator/problems.html#script for more information.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Sep 4 2006, 10:43 AM
Post #12


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,716
Joined: 9-August 06
Member No.: 6



No, it means you use XHTML syntax in a HTML document. This tag...

<link rel="alternate" type="application/rss+xml" title="ROR" href="ror.xml" />

The space+slash thing is XHTML In HTML it's like this. Kust remove the space and the slash.
<link rel="alternate" type="application/rss+xml" title="ROR" href="ror.xml">

Fix that first and the remaining errors will be more understandable. smile.gif

I don't understand your question about fadeimages.length. That's in the JavaScript so there are no tags.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 28th March 2024 - 10:44 AM