Topic: Doctypes, Boxes, and Widths... (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=10960" title="Pages that link to Topic: Doctypes, Boxes, and Widths... (Page 1 of 1)" rel="nofollow" >Topic: Doctypes, Boxes, and Widths... <span class="small">(Page 1 of 1)</span>\

 
smurfin
Neurotic (0) Inmate
Newly admitted

From: Atlanta, GA
Insane since: Apr 2003

posted posted 04-26-2003 00:03

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

posted posted 04-26-2003 00:44

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