Answered by:
Html & Css Problem

Question
-
User-1306088796 posted
Please can someone help me!
I am new to programming, and no matter how many videos and reading I seem to do, with Visual Studio 2017 there is always a problem for me to even try to learn programming, should I use something else?.
So I have started a Website, well can't really call it a Web site thanks to VS, I have written the html part and that works fine, and also written a css code and that works too, until I change a property like border-style could be anything in the css then I get the dreaded ( HTTP Error 403.14 Forbidden ) so to get it to work again I have to go into the html and change any single letter from any part then it works again.
Just noticed as well, if I close css it will work too, and even if I save all that doesn't help
What on earth am I doing wrong????
Thanks
Tearful Justin
Tuesday, November 20, 2018 6:01 AM
Answers
-
User61956409 posted
Hi keynaboutradios,
I have written the html part and that works fine, and also written a css code and that works too, until I change a property like border-style could be anything in the css then I get the dreaded ( HTTP Error 403.14 Forbidden ) so to get it to work again I have to go into the html and change any single letter from any part then it works again.CSS styles code is used to format the layout of Web pages, it would not cause "403.14 - Directory listing denied" error.
To solve "403.14 Forbidden" error, you can try to set default document(s) or enable directory browsing.
Paste following code snippet inside web.config file to enable directory browsing:
<system.webServer> <directoryBrowse enabled="true" /> </system.webServer>
With Regards,
Fei Han
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Wednesday, November 21, 2018 6:24 AM
All replies
-
User61956409 posted
Hi keynaboutradios,
I have written the html part and that works fine, and also written a css code and that works too, until I change a property like border-style could be anything in the css then I get the dreaded ( HTTP Error 403.14 Forbidden ) so to get it to work again I have to go into the html and change any single letter from any part then it works again.CSS styles code is used to format the layout of Web pages, it would not cause "403.14 - Directory listing denied" error.
To solve "403.14 Forbidden" error, you can try to set default document(s) or enable directory browsing.
Paste following code snippet inside web.config file to enable directory browsing:
<system.webServer> <directoryBrowse enabled="true" /> </system.webServer>
With Regards,
Fei Han
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Wednesday, November 21, 2018 6:24 AM -
User379720387 posted
I would suggest a different approach.
Consider starting with a tutorial that has everything in place: css, html, js, c#, sql
Everything works from the get go, if you make changes and something breaks you have immediate feedback and you can correct things.
Much easier this way, plus you won't get bogged down with learning everything from the ground up.
Thursday, November 22, 2018 3:01 PM