Design view with the CSS Code Quarks

Well, I have a situation that is a bit complicated to explain here, so I'll try and simplify this.  Basically, I see more erratic behavior when you try to add padding to the sorted list and watch it in Design view.  Example code:

< html >
< head >
< meta http-equiv = "Content-Type" content = text/html"; charset = utf-8 ">"
< title > Untitled Document < /title >
< / head >

< body >
< ol style = "" padding-left: 10px; ">"
< /li > < li > tips
things < li > < /li >
< /ol >
< / body >
< / html >

Now BEFORE I added this css style in the ol tag, the ordered list was all nice and indented.  AFTER I added a style to it, it gets sucked upward until almost touching the left edge of my page now except these 10px (I don't have to say, this rule in DW is nice for this kind of thing) as if he forgot any other kind of indented at all.  What is strange to me is that if I save the file and load it into a browser, indentation is normal.  If I close the file in Dreamweaver and open it again, the spacing is fine.  Why would he do that?

Photo below shows what happens when I first present the code and then after I saved and reopen the document.

weird_dw_padding.GIF

A few things to check:

Design view DW & some recent browsers are less forgiving of errors in code.

Validate your code with the tools below and fix the errors reported.

Finally, if you are to your document HTML isn't a valid document type declaration (DTD), some browsers will make it in Quirks Mode, which can produce unexpected results.

Code Validation tools
------------------------------------
CSS - http://jigsaw.w3.org/css-validator/
HTML - http://validator.w3.org/

Nancy O.
ALT-Web Design & Publishing
Web | Graphics | Print | Media specialists
http://ALT-Web.com/
http://Twitter.com/ALTWEB

Tags: Dreamweaver

Similar Questions

Maybe you are looking for

  • No apple store &amp; care of apple

    Hello. If I buy an Ipad pro no apple Store and I buy places like media markets, can I have apple care? If yes how? Should I go to the apple reseller / istyle to ask? They give me while I do not buy it from them? Thank you

  • Dial up modem

    I have a Pavillion laptop 113TU g6. I have a wireless internet reception shit and my telephone exchange can support ADSL, looking to dial up a backup. (Yes, I live in bedrock). Can someone tell me if my computer has a built in modem dial-up, or how d

  • Problem in HEX display

    I send a hex code, as shown in the diagram. The output I'm getting in table going as indicated. I want the output to be displayed in HEXADECIMAL also (ie same format as I send). What is the error. ? Help, please...

  • New hardware found of notification for a non-existent printer...

    I have XP on my machine.  I never had a printer HP color laserjet 8500 PS on my system, but Windows keeps telling me that he found this printer.  I can't disable this notification, and it appears at all times during my computer sessions.  Even allowi

  • The magnifying glass has appeared on my screen I do not know how to get rid of it, can help you please!

    It is listed on the bottom of my page and make huge things!