Re: Lining up with page edge.



On Wed, 28 Sep 2005 06:14:09 GMT, boclair <boclair@xxxxxxxxxxxxxx>
wrote:
> I would use something like this where the arrow gifs are background to
> the floated links. (The contextual selectors are only for ease of later
> management of the style sheet).
>
> Louise
>
> ____styles_____
>
> div.clear {
> clear: both;
> font-size: 0;
> }
>
> /* linkline PREV INDEX NEXT links */
> div.linkline {
> text-align: center;
> }
> div.linkline a {
> background: #FFFFFF;
> color: #0000FF;
> }
> div.linkline a:visited {
> color: #800080;
> }
> div.linkline a:hover {
> color: #FF0000;
> }
> div.linkline div.next a{
> background: url(next.gif) no-repeat right;
> float: right;
> padding-right: 20px;
> text-align: right;
> width: 200px;
> }
> div.linkline div.prev a{
> background: url(prev.gif) no-repeat left;
> float: left;
> padding-left: 20px;
> text-align: left;
> width: 200px;
> }
>
>
>
> ______Markup______
>
> <!-- PREV INDEX NEXT LINKS -->
> <div class="linkline">
> <div class="prev"><a href="preface.html">Preface</a></div>
> <div class="next"><a href="sect2.html">The Lesson, Section 2</a></div>
> <a href="index.html">Index</a>
> </div>
>
> <div class="clear">&nbsp;</div>
> <!-- END PREV INDEX NEXT LINKS -->

Thanks.

That code is much nicer, and much more straightforward, and also has
much less formatting stuff in the markup - in fact no formatting stuff
in the markup - which is the way CSS is supposed to work.


--
http://www.jim.com
.



Relevant Pages

  • Re: Show comments in balloons and no mark up or review pane
    ... markup to hidden, and balloons to comments and formatting only. ... I am running into problems with the reviewing toolbar, specifically, I ... I can't get comments without showing mark up. ...
    (microsoft.public.word.docmanagement)
  • Re: How do I make mass format changes to mail merge fields?
    ... Are you in a position to create views in SQL Server that convert the float fields to formatted text fields, then use those views as the data sources for your merge? ...
    (microsoft.public.word.mailmerge.fields)
  • Re: Track Changes - Print Comments ONLY!
    ... > that, sadly, needed LOTS of changes -- insertions, deletions, formatting ... > printing the markup only to a print file, but the resulting file (in .prn ...
    (microsoft.public.word.docmanagement)
  • Re: How do I format a float number?
    ... If you do not want to return a string, then you don't need to do anything ... with formatting. ... A float is a 32-bit binary number. ... HTH, ...
    (microsoft.public.dotnet.framework)
  • Re: Remove foreign language formatting markups?
    ... The "markup" includes insertions and deletions, comments, and "formatting." ... >> sections of the document that were formatted in another language. ... don't see how this relates to "Track changes". ...
    (microsoft.public.word.docmanagement)