Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
<HTMLPurist Mode>
Never ever never ever ever never never use absolution positioning for anything in HTML. You have no guarentees on screen size and thus, you might be pushing your content off the sides of the screen. You should always use relative positioning or sizing.
</HTMLPurist Mode>

True, the end goal of the poster was not for a page to be published, but just to get down into one page that could be viewed offline, so absolute positioning is not bad. But as advice for those that are considering converting an entire frames-based site to something clean in CSS, this advice very much applies.

That said, I have myself tried creating a CSS-based site that emulated tables using relative sizing (as opposed to absolute). The various bugs at the time between IE 5 and NS 4.x (this about 2 years) made me realize that this will not happen easily unless you stick with a very simple layout. I would suspect that absolute positioning would work like a dream, but again, that's the wrong approach for web publishing.

-----------------------------------------------------
Dr. Michael K. Neylon - mneylon-pm@masemware.com || "You've left the lens cap of your mind on again, Pinky" - The Brain
"I can see my house from here!"
It's not what you know, but knowing how to find it if you don't know that's important


In reply to Re: Re: Convert HTML docs with frames into a single HTML doc? by Masem
in thread Convert HTML docs with frames into a single HTML doc? by osfameron

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2021-10-17 13:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (71 votes). Check out past polls.

    Notices?