Forum Moderators: not2easy
Currently there are two different width values that we use, absolute and relative. Absolute values use pixels, so a designer may decide that their website is 750px wide and deisgn as such - but when I come along, with a high browser resolution, I see blank space around the unused portion of my screen.
A better way if doing it is to use percentages. You specify widths that add up to 100%. This means that no matter what the resolution of a users monitor, the web page will stretch to use all available space. This is called a 'Fluid' page design, and a WebmasterWorld site search or Google search for fluid design (the 3 column approach is quite popular) will yield a number of useful results.
Nick
IE5+ displays a black 1px border around the webpage. You can remove this border by setting the border attribute of the html element to none. This will give you a more flat look. This is helpful when you use the object element to display an external html document in another one. Even when the object has no border there is still the border of the inline documents´ html element.
I just thought this thread to be a good opportunity to remind you of the fact that the html element is stylable as well. Just play around with it and you´ll discover this to be quite exciting ;)
Andreas
Sorry, die hard hand coder here.. ;)
Nick
The CSS editor in DW MX ain't bad at all. But as Nick said, reading the W3C CSS document is very much worth a once over, before trying to utilise editors such as DW's verion or TopStyle Pro.
However the code that is above certainly solves the original question, with browsers that support the CSS.
Nick