OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Re: DOCBOOK: Suggestion on navtowith, please


I believe width values in HTML <table> and <td>
permit either % or no unit, and no unit is taken 
to mean pixels.

Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
The SCO Group                               fax:   (831) 429-1887
                                            email: bobs@sco.com

On Mon, Jan 27, 2003 at 03:06:29PM +0800, damar@netvigator.com wrote:
> Hi,
> 
> Thanks.
> 
> In the comment of novtowidth, it is specifically said that it is in pixel.  
> 
> And in <xsl:attribute-set name="table.properties">, replacing 100% with
> 749 for the value of name="width" seems like interpreted as 749 pixel. 
> 
> Further comments on this would be highly appreciated.
> 
> Thanks,
> 
> 
> Damar  
> 
> 
> On Sun, 26 Jan 2003, Bob Stayton wrote:
> 
> > On Sun, Jan 26, 2003 at 10:20:49PM +0800, damar thapa wrote:
> > > Hi,
> > > 
> > > This list was great help to me in creating my home page; thanks to all.
> > > 
> > > One more issue came up with my site ie the width of the side menu. 
> > > Seeing <xsl:param name="navtowidth">220</xsl:param> in param.xsl, I 
> > > inserted a image of 220 pixel long at the left side of the header to 
> > > align its edge (image's edge) with the edge of left menu beneath it. It 
> > > worked fine, but not for all menu items. When I choose some items, the 
> > > length of navtowidth goes crazy  -- choosing some item produces more 
> > > than 220, while others  shorter than that. Some browsers are better than 
> > > others (Mozilla-1.0 is better than netscape4.77, for example).
> > > 
> > > Can some one on the list point me to right direction, please?  Is it 
> > > browser issue? CSS  issue or some thing I have to do on xsl?
> > 
> > The tabular pages use an HTML table to lay out the webpages
> > as a one-row two-column table.  The left column is the
> > navigational list, and the rest of the webpage content is
> > in the right column.  The navtocwidth value is inserted as
> > a 'width' attribute in the left table cell element <TD>.
> > Since HTML tables are dynamically formatted, I think the
> > browser uses 'width' as a suggestion, rather than a fixed
> > value.  The other content can affect the final width of
> > columns as they are drawn on the screen.  And as you found,
> > different browsers handle it differently.  I don't know
> > how you can control a column width absolutely in HTML
> > for all browsers.
> > 
> > 
> > Bob Stayton                                 400 Encinal Street
> > Publications Architect                      Santa Cruz, CA  95060
> > Technical Publications                      voice: (831) 427-7796
> > The SCO Group                               fax:   (831) 429-1887
> >                                             email: bobs@sco.com
> > 
> > 
> 

-- 

Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
The SCO Group                               fax:   (831) 429-1887
                                            email: bobs@sco.com


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC