Topic: Doctypes, Boxes, and Widths... Pages that link to <a href="https://ozoneasylum.com/backlink?for=10960" title="Pages that link to Topic: Doctypes, Boxes, and Widths..." rel="nofollow" >Topic: Doctypes, Boxes, and Widths...\

 
Author Thread
smurfin
Neurotic (0) Inmate
Newly admitted

From: Atlanta, GA
Insane since: Apr 2003

IP logged posted posted 04-26-2003 00:03 Edit Quote

Folks:

I am trying to develop a .Net application in IE6 without bastardizing the presentation with traditional Table-based positioning. I am trying to implement a mostly relative positioned and liquid design (aren't we all?), and I am experiencing anguish.

When I set the doctype to XHTML1 from HTML 4.01, I lose the fixed-widths of my spans and divs? I know this is because of how each doctype implements the box model, but can anyone tell me why? Does XHTML 1 just make all boxes ignore the width property? It also seems box margins and paddings have become quirky.

This may all be a result of poor implementation on my part, but wondering if anyone can shed any light.

Chris

[This message has been edited by smurfin (edited 04-26-2003).]

[This message has been edited by smurfin (edited 04-26-2003).]

[This message has been edited by smurfin (edited 04-26-2003).]

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

IP logged posted posted 04-26-2003 00:44 Edit Quote

Attempt at a quick fix: try adding

html, body {width:100%;}

to your stylesheet and see what happens.



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu