Hvis man har eksperimenteret med web-layout implementeret i ren css (uden tabeller til at styre layout), så løber man let ind i situationer hvor man er tilbøjelig til at ordne indholdet i sin (x)html-kode i en anden rækkefølge end man umiddelbart finder logisk. På A List Apart har Ryan Brill skrevet en artikel om "liquid layouts with negative margins", som demonstrerer hvordan man kontrollere sit layout uden at bytte om på rækkefølgen af indholdet i (x)html koden. Har ikke selv prøvet at lege med hans teknikker, men det ser bestemt interessant ud.

Link:
Creating Liquid Layouts with Negative Margins

Comments

Leave a comment 

 

There are no comments to this post

Only Name and Comment are required fields when commenting here. If you specify your email address, everyone will be able to find it at your comment. However your email will only be directly visible when hovering over your name, and in the code behind it will not look like an email address. So the risk of bots harvesting email addresses here, should be minimal. But again, you are free to leave the email blank when commenting.

If you tick Remember me, your name, email and homepage address will be remembered and prefilled at your next visit (Uses a cookie when ticked).

Full URLs (starting with "http://" or "https://") in comment text will be converted into active links when comment has been verified by a human as not being spam. Comments that looks too much like spam, will immidiately/proactive be rejected by the system and never reach a human eye.