I have my html page but when I go to view on the browser and click "no style", it's all together in one big bunch. How do I make it where when someone decides not to use style on the page, it still somewhat looks normal?

3 answers

danwellman 5600
1
point

The best way is to use 100% valid, 100% semantic HTML

Use the W3C HTML validator at http://validator.w3.org/ to get a completely clean error free page and then you should find that elements flow down the page correctly.

It'll look pretty plain and basic, but it should still make sense and be readable.

Answered over 7 years ago by danwellman
0
points

W3C validator doesnt work because it freaks out because it doesnt have my css stylesheet when it validates it. how can i organize it myself without it looking like crap when its on a page thats set to no style.

Answered over 7 years ago by canyonchase1
  • Can you use comments for comments in future, please. Matthew Brindley over 7 years ago
  • Use thw direct input tab of the validator and paste your HTML into it, it'll then validate it without needing CSS. Also, you can use browser plugins, such as HTMLtidy for Firefox which let you validate as you go. When coding HTML you should start the page off and get as many of the elements as possible that you are going to use laid out before you even think about any CSS. Generally HTML should be as minimal as possible (try to avoid tons of container divs that are used purely for decoration (e.g. rounded-corner images), and use appropriate elements for content, e.g. a ul with nested links is more semantic than a bunch of divs with nested links. Go for valid, minimal, semantic and no-style should flow easier. danwellman over 7 years ago
0
points

I think you should take some time to upload some of your code so we can see it.

You've asked loads of questions that are impossible to answer. How about some effort to learn how to use Doctype.com properly?

Answered over 7 years ago by Tony Crockford