Re: more css confusion

by "dale" <dale(at)daleznet.com>

 Date:  Mon, 16 Sep 2002 21:59:00 -0500
 To:  <hwg-techniques(at)hwg.org>
 References:  apc verizon dale verizon2
  todo: View Thread, Original
Karin,

I ran your code through HTML Tidy and found the DIV error you mention below.
In your sidebar menu, you didn't close your DIV inside the TD table cell,
and instead put the closing DIV tag in the next TD cell.  Also, I would be
sure and close all my <.P> tags with a <./P>.  I think someone else
mentioned that the <.center> tag is just a bastardized form of <.p
align="center"> and is not valid code.

<.td class=color VALIGN=TOP WIDTH="170">
<.div class="sidebar">

<....snip....>

<./td>
<.td bgcolor =" #FFFFFF" width="38" align="left" valign="top"
class="leftborder">
<.img height="40" alt="border corner" src="corner.gif" width="38" border="0"
hspace="0" vspace="0" align="top">
<./div>

HTH!
Dale Worley
Imagine Computer Services
Website Design and Hosting
PC and Network Support
256-604-9712
www.imaginecomputerservices.com





----- Original Message -----
From: "Karin Christensen" <karin(at)imagecyte.com>
To: <hwg-techniques(at)hwg.org>
Sent: Monday, September 16, 2002 6:47 PM
Subject: Re: more css confusion


> Thanks Dale,
> When I validated it (after I posted the problem) I got errors that I
didn't
> quite understand regarding the way I had centered the image.  Is this what
> it meant?
>
> Error: end tag for element "DIV" which is not open; try removing the end
tag
> or check for improper nesting of elements
>
> Line 65, column 56:
>   <p><center><img SRC="promoters.jpg" height=336 width=455></center>
>
> Karin
> .
> >
> > Here's a thought on some of your code.  Instead of doing this:
> >
> >
> > <h1>How Do HSV-1 Promoters Mediate the Kinetics of Transcription
> > Observed?</h1></center>
> >
> > <p><center><img SRC="promoters.jpg" height=336 width=455></center>
> >
> >
> > I would use this:
> >
> >
> > <h1 align="center">How Do HSV-1 Promoters Mediate the Kinetics of
> > Transcription Observed?</h1>
> >
> > <p align="center"><img SRC="promoters.jpg" height=336 width=455></p>
> >
> >
> > HTH,
> > Dale Worley
> > Imagine Computer Services
> > Website Design and Hosting
> > PC and Network Support
> > 256-604-9712
> > www.imaginecomputerservices.com
> >
>
>

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA