|
Posted by Andy Dingley on 07/27/07 10:07
On 27 Jul, 08:59, D_W <daniel_westerberg_1...@hotmail.com> wrote:
> I have a .net page that uses css styles and frames.
There are not ".NET pages". .NET is sourcecode for a server which then
makes a plain old HTML page from it. You can (and should) fix layout
problems by working with the HTML and CSS alone. Worry about the .NET
you need to make them with later.
You're also not using CSS, or at least if you are, you're also using a
great deal of HTML 3.2 presentational markup in there too. No wonder
it's hard to see what's going on.
* Lose the XHTML, just use HTML 4.01 Strict
* Lose the transitional doctype, just use HTML 4.01 Strict
* Lose the HTML 3.2 presentational markup, just use HTML 4.01 Strict
* Lose the frames. You've got a powerful server to use here, do it
with SSI instead.
* Lose the Dreamweaver boilerplate JavaScript. You don't need it.
* Re-code your HTML as minimal semantic HTML, just the content and no
presentation. Apply CSS (and probably a few extra <div>, classes etc.)
as necessary to get the look right.
* Consider replacing the central product list table with a single
linear list of <div> instead, using float:left;. This re-sizes better
for varying browser window widths. In most cases it looks just like a
table, it's just a bit more flexible.
If you work hard, you _might_ get your current HTML 3.2 code to work.
However it will be hard to do this, you'll produce an inflexible
design at the end, and you're likely to get no help locally as the
clueful people have already worked on more than enough HTML 3.2 and
don't want to see any more.
Navigation:
[Reply to this message]
|